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.
Fixed in commit 20f2aa44
# REOPEN Seems not fixed: environment info --org org_1 --name dev -v Returns: -------------------- Id: 3 Name: dev Description: Development env. Org Id: 2 Prior Id: Locker Checked against: katello-cli-0.1.10-1.git.278.85760dc.el6.noarch
Fixed it in list action, but not in info. Fix for that part is in commit 7baa2c3cdabd2eddbae60e7f476c0cd1126c087d
# 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
getting rid of 6.0.0 version since that doesn't exist