From Fedora Project Wiki

(Created page with "<pre> $ cat /etc/rpkg/fedpkg.conf [fedpkg] lookaside = http://pkgs.fedoraproject.org/repo/pkgs lookasidehash = md5 lookaside_cgi = https://pkgs.fedoraproject.org/repo/pkgs/upl...")
 
No edit summary
Line 1: Line 1:
= Getting at files from koji's lookaside =
<pre>
<pre>
$ cat /etc/rpkg/fedpkg.conf
$ cat /etc/rpkg/fedpkg.conf
Line 12: Line 13:
build_client = koji
build_client = koji
</pre>
</pre>
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'))

Revision as of 22:14, 19 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'))