From Fedora Project Wiki
Line 35: | Line 35: | ||
** wrapping a non-trivial existing test suite: | ** wrapping a non-trivial existing test suite: | ||
*** https://github.com/autotest/autotest-client-tests/blob/master/connectathon/connectathon.py | *** https://github.com/autotest/autotest-client-tests/blob/master/connectathon/connectathon.py | ||
* the API that these test use is: | |||
** https://github.com/autotest/autotest/tree/master/client | |||
* to get the client code for developing a test locally: | |||
** lmr recommends git cloning | |||
** but in rpm form: yum install autotest-framework |
Revision as of 19:05, 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
- but in rpm form: yum install autotest-framework