Project

General

Profile

Feature #6980

RFE Katello commands should use custom referenced resource formatters

Added by Tomáš Strachota over 5 years ago. Updated 3 months ago.

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

Description

hammer-cli-foreman uses field type Reference [1] with custom formatters [2] to display information about associated resources. Katello should have similar formatter to make the output consistent and more condensed.

Original formatter in foreman outputs only names by default:

Users:
 1) admin
 2) test

and reflects option --show-ids:
Users:
 1) admin (id: 1)
 2) test (id: 83)

Katello's mutation should be able to display labels.

[1] https://github.com/theforeman/hammer-cli-foreman/blob/master/lib/hammer_cli_foreman/output/fields.rb#L8
[2] https://github.com/theforeman/hammer-cli-foreman/blob/master/lib/hammer_cli_foreman/output/formatters.rb#L32

History

#1 Updated by Eric Helms over 5 years ago

  • Tracker changed from Bug to Feature
  • Difficulty set to medium
  • Triaged changed from No to Yes

#2 Updated by Eric Helms almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#3 Updated by John Mitsch 3 months ago

  • Status changed from New to Closed

Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.

#4 Updated by Justin Sherrill 3 months ago

  • Target version deleted (Katello Backlog)

#5 Updated by Justin Sherrill 3 months ago

  • Status changed from Closed to Rejected

Also available in: Atom PDF