Project

General

Profile

Feature #27260

add possibiliy to add multiple repositories in content view

Added by Patrick Thyen almost 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

command used:
"hammer content-view add-repository"
When using hammer and adding repositories, you have to add every repository step by step.
It would be nice, if you have the possibility to add multiple subscriptions (like you have in the foreman gui by just selecting multiple checkboxes)

It would be also nice, if you can select not only IDs but also the name of your possible subscription.

Example:

hammer content-view add-repository -h
Usage:
hammer content-view add-repository [OPTIONS]

Options:
--id ID Content view numeric identifier
--name NAME Content view name to search by
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
--product PRODUCT_NAME Product name to search by
--product-id PRODUCT_ID Product numeric identifier
--repository REPOSITORY_NAME Repository name to search by
--repository-id REPOSITORY_ID Repository ID
-h, --help Print help

add:
--repositoriy-ids Repository ID List to add
--repositories Repository Name List to add

With these options I could add Repositories like in:
hammer content-view create/update

History

#1 Updated by Ondřej Pražák over 2 years ago

  • Triaged changed from No to Yes
  • Found in Releases deleted (hammer-cli-0.17.1)
  • Fixed in Releases deleted (hammer-cli-0.17.1)

#2 Updated by Oleh Fedorenko over 2 years ago

  • Triaged changed from Yes to No
  • Category set to Hammer
  • Project changed from Hammer CLI to Katello

#3 Updated by Chris Roberts over 2 years ago

  • Target version set to Katello Backlog

#4 Updated by Chris Roberts over 2 years ago

  • Triaged changed from No to Yes

Also available in: Atom PDF