Project

Profile

Help

Story #179

closed

Enhancement request: Please allow for multiple --from-repo-id's in repo copy commands

Added by strobert@strobe.net 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 #947541 ++

Description of problem:

I'm trying to pull in a select set of rpm's including their deps into a pulp repo.

I have a number of source sources for el6 (names should be fairly self explanatory):
rhn-rhels6
rhn-rhels6-optional
epel-el6
pulp-el6
puppet-el6-deps
puppet-el6-prods

so I made a scratch repo test0, then tried to run:
pulp-admin rpm repo copy rpm -f puppet-el6-prods -t test0 --filters='{ "name": { "$in": [ "puppet"]} }' -r

it only pulls in the 38 puppet rpm versions and no deps, which makes some sense since it wouldn't know if it should pull ruby from rhn-rhels6 or rhn-rhels5 for example.

so thinking would be nice to allow for multiple -f's args, so for example:
pulp-admin rpm repo copy rpm -f puppet-el6-prods -f puppet-el6-deps -f rhn-rhels6 -f epel-el6 -t test0 --filters='{ "name": { "$in": [ "tcsh", "bash", "puppet"]} }' -r

Also available in: Atom PDF