[Pulp-list] retain_old_count

Randy Barlow rbarlow at redhat.com
Sun Feb 9 04:56:23 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140208/e87a9885/attachment.htm>


More information about the Pulp-list mailing list