Randy, Thanks for the reply. Any suggestion about how best to implement retain_old_count for non-feed repos? How is it done for feed repos? I tried searching the github repo for "retain_old_count" but that didn't help me.
Thanks, -Jake On Sat, Feb 8, 2014 at 11:56 PM, Randy Barlow <[email protected]> wrote: > On Thu, 06 Feb 2014 15:23:12 -0500, Jake Davis <[email protected]> > wrote: > > Is there a good way to get a retain_old_count behaviour on a pulp repo > with no feed? > > > retain_old_count only affects repositories with feeds, as it is only used > when synchronizing repositories as you have discovered. Since you are > copying units into this other repository, you will need some way to also > know when to remove units that were already there that are no longer > desired. Pulp doesn't have a feature that does this for you, but perhaps > you could write something to detect which packages are now old in the repo > you are copying units into and remove them after you copy the new ones in. > > -- > Randy Barlow > > _______________________________________________ > Pulp-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/pulp-list >
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
