Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Running this command:
environment info --org ACME_Corporation --name dev -v
gets you output which shows ids but not names:
Id: 3
Name: dev
Description:
Yup, and environment
Org Id: 1
Prior Id: 1
It would be good for the Org Id and Prior Id to be Names, instead of Ids. So.. would prefer to see:
Id: 3
Name: dev
Description:
Yup, and environment
Org: ACME_Corporation
Prior Environment: Locker
What about grep mode? Do we keep there the ids instead of names. I would expect to use names there as well, since we always refer to organizations and environments with their names AFAIK.
I agree. I would default to names. If we are showing details about an item, it is fine to show Id and Name. But if referencing Org and Prior, use the name.
# VERIFIED
now both environment {list,info} are showing the names of env and prior values.
Results look like:
--- list
1 Locker None ACME_Corporation None
2 Dev None ACME_Corporation Locker
3 Test None ACME_Corporation Locker
---
--- info
Id: 2
Name: Dev
Description:
None
Org: ACME_Corporation
Prior Environment: Locker
---
thanks for the fix.
Checked against: katello-0.1.117-1.el6.x86_64
Running this command: environment info --org ACME_Corporation --name dev -v gets you output which shows ids but not names: Id: 3 Name: dev Description: Yup, and environment Org Id: 1 Prior Id: 1 It would be good for the Org Id and Prior Id to be Names, instead of Ids. So.. would prefer to see: Id: 3 Name: dev Description: Yup, and environment Org: ACME_Corporation Prior Environment: Locker