Project

Profile

Help

Story #263

closed

[RFE] Need the ability to run operations on multiple repositories

Added by tvaughan@onyxpoint.com about 9 years ago. Updated about 5 years ago.

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

0%

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

Description

++ This bug was initially created as a clone of Bugzilla Bug #1156059 ++

Description of problem:

Description of problem:

When using the Pulp command line utilities, I find it irritating to be limited to one repository at a time.

I would like to be able to either omit the repo-id and search all repositories or specify a regex.

For instance: I want to find the latest version of BASH in any centos7 repository.

What I currently have to do:

for x in `pulp-admin rpm repo search --fields name | grep Id | sed 's/:space:\+/ /' | cut -f2 -d' '`; do pulp-admin rpm repo content rpm --repo-id=$x --match='name=^bash.*'; done

This is crazy.

What I want to do:

pulp-admin rpm repo content rpm --match='name=^bash.*' --repo-id='^centos7.*'

Additionally, when I want to sync all repos I just want to omit the --repo-id and have it sync ALL repos...now (maybe with a splay).

Version-Release number of selected component (if applicable):

All

How reproducible:

See above

Actual results:

For loops of irritation

Expected results:

Clean and intuitive user experience

Also available in: Atom PDF