caching packages on koji builder

Mike McLean mikem at redhat.com
Wed Nov 5 20:14:43 UTC 2008


Mike McLean wrote:
> This behavior is controlled by kojid options. If you specify the 
> 'topurl' option for kojid, then the mock configs it generates will use 
> an http:// url to point to the repo. Otherwise it will use a file:// url 
>  (using the value of the 'topdir' option, which defaults to /mnt/koji).
> 
> Also, the use of a file:// url doesn't have to mean nfs. You could 
> theoretically use another shared file system.

So this is true, but misleading. The interaction of the topurl and 
pkgurl options in kojid is complicated.

The topurl/topdir options determine how kojid will locate the repo. 
However, with the current code, the repodata will contain url references 
for the component rpms. That url is determined when the repo is 
generated. This happens during a createrepo task on a builder, and the 
pkgurl (not topurl) option is used.

So..
- repodata location determined by topurl/topdir options
- rpm location determined by pkgurl option on the builder that created 
the repo.

I admit, this is a bit of a mess.




More information about the Fedora-buildsys-list mailing list