[Pulp-list] retain_old_count

Jake Davis jake at imapenguin.com
Tue Feb 18 15:04:24 UTC 2014


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 <rbarlow at redhat.com> wrote:

>  On Thu, 06 Feb 2014 15:23:12 -0500, Jake Davis <jake at imapenguin.com>
> 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
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140218/2f0f34f8/attachment.htm>


More information about the Pulp-list mailing list