Project

Profile

Help

Story #1896

closed

pulp_admin rpm repo remove should have an --all flag

Added by bmbouter almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

If you want to remove all units of a specific type from a specific repo (for instance langpacks) you might try to do:

pulp-admin rpm repo remove langpacks --repo-id repo_8

The above command should cause a request to the server, but it instead fails due to a validation problem. To get around that validation issue, you have to add one of the filtering parameters. For example the --str-eq parameter. If you add that then this will work:

pulp-admin rpm repo remove langpacks --repo-id repo_8 --str-eq="repo_id=repo_8"

Instead of having to form a --str-eq field, it would be great if the --all could be used like this:

pulp-admin rpm repo remove langpacks --repo-id repo_8 --all

Also available in: Atom PDF