I didn't see a reply to this, so hopefully this isn't extraneous.

Pulp does download and associate new content with a repository during a sync. 
Old packages are unassociated from the repository, but are not removed from the 
file system.

This last part is due to the fact that packages are shared among the 
repositories to reduce used file system space, but one repository's importer is 
not aware of the content associations of other repositories, and therefore 
cannot safely remove content from disk.

Removing content is currently "manual". We provide an orphaned content [1] API, 
which can be found under our content management REST API docs here:

http://pulp-dev-guide.readthedocs.org/en/pulp-2.1/integration/rest-api/content/index.html

[1] orphaned content: packages that are not associated with any repositories

On Jun 24, 2013, at 1:29 AM, Lukas Zapletal <[email protected]> wrote:

> Brian,
> 
> it is better to ask on the Pulp list, but if I remember this right, Pulp
> handles this automatically.
> 
> During repo sync, new packages are downloaded and then links (on a file
> system level) are created and repocreate called to construct the
> repository. One of the last steps is to clean unused packages (which
> does not have any references).
> 
> But I am not sure if this cleanup phase is done at the end of every
> synchronization, or once a week or something. I believe every single
> sync.
> 
> /CCing pulp list
> 
> LZ

Jason L Connor
linear on freenode #pulp
http://pulpproject.org/
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1




_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to