Speedup the availability of updates (was: Re: Push scripts, mash) pushes in Bodhi (urgent call for feedback))

Till Maas opensource at till.name
Fri Mar 5 22:07:57 UTC 2010


On Fri, Mar 05, 2010 at 12:49:09PM -0500, Bill Nottingham wrote:
> Till Maas (opensource at till.name) said: 
> > > It seems to be missing something - it says 'all rpms that are not included
> > > in the prior metadata will be deleted', but there's nothing in that proposal
> > > as written that will cause rpms to fall out of the metadata.
> > 
> > It was probably to unclear. This metadata is generated the same way as
> > it happens currently, e.g. only for the latest build of a package. I
> > added this to the wiki.
> 
> Oh. That would require at least some code outside of createrepo, as that's
> not an option for createrepo.

Just to be sure: You mean code to detect which packages have been
removed in the metadata? According to "repodiff --help", it might do the
job:
|    repodiff: take 2 or more repositories and return a list of added,
|    removed and changed packages.

So only the old metadata needs to be stored and then it could be
compared to the new one to get a list of packages that can be removed.
To get all packages that have been removed from updates-testing but do
not go into updates, because the update was unpushed, the list of
removed packages for the updates-testing repo could be compared with the
list of added packages for the updates repo.

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100305/948be5cf/attachment.bin 


More information about the devel mailing list