Actions
Story #6033
closedStory #5113: Sync optimizations
As a user, I can skip specific content types during sync
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Users often want to download RPMs but skip some content types like SRPMs.
Provide an optional parameter skip
to the sync/ endpoint. It should support a list of types to skip.
The only supported type for now is SRPM (it can be identified, by the arch
value, it will be 'src'
in case of SRPMs.)
DRPM is not supported in Pulp3, so double-check that prestodelta repodata is ignored.
Actions
Skip user defined type of RPMs
User can specify 'skip_types' on sync call to skip defined type. Now only SRPM type supported.
Example call:
http POST $BASE_ADDR$REPO_HREF'sync/' remote=$REMOTE_HREF skip_types:="[\"srpm\"]"
closes: #6033 https://pulp.plan.io/issues/6033