From Fedora Project Wiki
Line 38: | Line 38: | ||
** https://github.com/autotest/autotest/tree/master/client | ** https://github.com/autotest/autotest/tree/master/client | ||
* to get the client code for developing a test locally: | * to get the client code for developing a test locally: | ||
** lmr recommends git cloning | ** lmr recommends git cloning (in rpm form: yum install autotest-framework , but, when I tried this it broke the git clone. pick one or the other) | ||
Revision as of 19:10, 20 January 2013
Getting at files from koji's lookaside
$ cat /etc/rpkg/fedpkg.conf [fedpkg] lookaside = http://pkgs.fedoraproject.org/repo/pkgs lookasidehash = md5 lookaside_cgi = https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi gitbaseurl = ssh://%(user)s@pkgs.fedoraproject.org/%(module)s anongiturl = git://pkgs.fedoraproject.org/%(module)s tracbaseurl = https://%(user)s:%(password)s@fedorahosted.org/rel-eng/login/xmlrpc branchre = f\d$|f\d\d$|el\d$|olpc\d$|master$ kojiconfig = /etc/koji.conf build_client = koji
From /usr/lib/python2.7/site-packages/pyrpkg/__init__.py's sources() method:
self.log.info("Downloading %s" % (file)) url = '%s/%s/%s/%s/%s' % (self.lookaside, self.module_name, file.replace(' ', '%20'), csum, file.replace(' ', '%20'))
So e.g. the line from "sources":
676dc96593362b7b0aa54fea0c8e744c pygobject-3.3.4.tar.xz
Giving e.g. this link: http://pkgs.fedoraproject.org/repo/pkgs/pygobject3/pygobject-3.3.4.tar.xz/676dc96593362b7b0aa54fea0c8e744c/pygobject-3.3.4.tar.xz
Dave's autotest notes
- http://autotest.github.com/
- https://github.com/autotest/autotest-client-tests
- A hello-world style test:
- wrapping a non-trivial existing test suite:
- the API that these test use is:
- to get the client code for developing a test locally:
- lmr recommends git cloning (in rpm form: yum install autotest-framework , but, when I tried this it broke the git clone. pick one or the other)