Project

General

Profile

Feature #4107

Repo auto-discovery from CLI needs to provide non-interactive interface

Added by Katello Issue Migration over 5 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Using the CLI to auto-discover repositories require manual intervention when adding URLS to a product. For automation this is a blocker and it would be nice to allow the existing -g and -v flags to return a list of URLS and exit. The current behavior is to display a list of auto-discovered URLS and prompt the user to perform a selection:

```
Select urls for which candidate repos should be created; use `y` to confirm (h for help):h

'a'        : select all
'x:y' : select a range eg:1:3
<sel> : select value in range (1-302) to toggle selection
'y' : confirm selection
'c' : clear selections
'q' : abort the repo creation
```

Being able to fetch a list of URLs would allow us to automatically create repositories that were found via the discovery method.

Created: omaciel on March 22, 2013 20:47 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/1795


Comment 1

Discussed that we will add a -l or --list option to only show what is available so that output can be used in subsequent commands.

Created: mccun934 on April 03, 2013 14:53 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/comments/15841309

History

#1 Updated by Eric Helms about 5 years ago

  • Category set to Hammer
  • Difficulty set to medium
  • Triaged set to Yes

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF