On Fri, Mar 05, 2010 at 12:49:09PM -0500, Bill Nottingham wrote: > Till Maas (opensou...@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
pgp7OBlLAfYCY.pgp
Description: PGP signature
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel