Need for Extras -> Koji import

Jesse Keating jkeating at redhat.com
Mon Apr 30 22:48:16 UTC 2007


I thought we had a python snippit somewhere for dealing with owners.list.  
Does one exist or will I have to recreate one?

Mike, can I get file (read only) level access to the extras repos?  Here is 
what I plan...

Crawl each arch directory, getting header information about each package such 
as name, version, and release, as well as what srpm they came from.  Create a 
dictionary of such.  For each srpm, query owners.list to figure out 
who "owns" it.

Query koji for all the koji builds, get all the builds tagged with 
extras-import ( a temporary tag to manage the imports ) and all the koji 
users.

Iterate through the Extras base builds (n-v-r).  If it doesn't exist in koji, 
check to see if the package itself exists in koji.  If the package doesn't 
exist, check to see if the package owner exists.  If not, create the owner.  
Then create the package, then import the build, then tag it for 
extras-import.  Various other short cutting logic applies here.

This is much like what I'm doing for Core -> Koji imports, however since the 
data is in a koji like db/api already it is much easier to do this.

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-infrastructure-list/attachments/20070430/17cdf937/attachment.sig>


More information about the Fedora-infrastructure-list mailing list