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 wrote:
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...
Depends on where you want access in the lifecycle of an RPM. The easiest way is to just use one of the builders (or mount the netapp on another box like lockbox) from there. There are some got'chas with that, like its slow right now, would that work for you? If not let me know, I'll come up with something else.
-Mike
On Monday 30 April 2007 15:59:25 Mike McGrath wrote:
Depends on where you want access in the lifecycle of an RPM. The easiest way is to just use one of the builders (or mount the netapp on another box like lockbox) from there. There are some got'chas with that, like its slow right now, would that work for you? If not let me know, I'll come up with something else.
Basically I would want to do it a few times a day, with what is pushed live to the Extras repos. An NFS mount would work, could do it from koji.fp.o itself.
infrastructure@lists.fedoraproject.org