Story #179
closedEnhancement request: Please allow for multiple --from-repo-id's in repo copy commands
0%
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