Actions
Story #4901
closedRepository Version creation api should provide an easy way to clear out all units when adding new units
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Katello
Sprint:
Sprint 54
Quarter:
Description
When creating a new repository version, its very easy to add units or remove units, but if I want to specify some list of units I want the repository version to have, i must first clear out all the existing units which is very cumbersome.
Solution¶
Allow users to specify ['*']
for remove_content_units
. This will let users remove all content units from a repo version. They can also specify add_content_units
which will add back units to the empty repo version.
Note that we'll need to change the current logic to add units after removing units. We want to document these behaviors clearly in the docs too.
Related issues
Actions
Allow users to remove all content units from repo versions
fixes #4901 https://pulp.plan.io/issues/4901