Story #4169

Updated by over 1 year ago



We're currently sync'ing some very large repos. In reality we're only interested in the particular tags but we're getting everything, which is weighing in at TBs at present and growing with each puddle for each version.

It would be nice to be able to limit the tags we sync.


Provide a config on the Remote config called "tags". This config will accept a list of tags to sync.

When the "tags" option is provided:

Pulp will sync just those tags + manifests associated with the tags and all the corresponding layers. Sync will only be performed using the immediate download policy. There will be no support for the on_demand download policy.( for now)

Note: If the list of tags was changed, and tag X is not wanted anymore, a manual removal of that tag X should occur in the local repo( in case repo is not in a mirror mode)
Note: If some invalid tags provided are invalid, Pulp will only sync the available ones in the remote repo.

When the "tags" option is not provided:
Pulp will sync the whole repo.

For pulp2 implementation check