Project

General

Profile

Actions

Bug #12379

closed

Improve messaging for hammer import

Added by Bryan Kearney over 8 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1277501
Description of problem:

The standard output from "hammer import repositories" is vague. For a successful import and sync the only output (unless you use -v) is "Summary: No action taken."

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

How reproducible:

Always?

Steps to Reproduce:
1. Take a 5.7 export and extract as per user doc
2. Import orgs, etc., as described in the doc
3. Run "hammer import repositories" as described in the doc:

  1. hammer import repository --synchronize --wait --no-async \

--csv-file /tmp/exports/repositories.csv

[Foreman] Username: admin
[Foreman] Password for admin:

<several hours later>

Summary
No action taken.

Actual results:

The import was successful, as evidenced by hammer organization list and hammer product list, but the message doesn't indicate that.

Expected results:

Something along the lines of "All repositories imported and synchronized successfully."

Additional info:

Actions

Also available in: Atom PDF