Bug #8327

Make hammer content-view info output consistent

Added by Bryan Kearney about 3 years ago. Updated about 3 years ago.

Status:Closed
Priority:Normal
Assigned To:-
Category:Hammer
Target version:Sprint 40
Difficulty: Pull request:https://github.com/Katello/hammer-cli-katello/pull/253
Bugzilla link:1156629
Story points-
Velocity based estimate-
ReleaseKatello 2.1Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1156629
Description of problem:
All command options was renamed from environment[s] to lifecycle-environment[s] but the info output still outdated.

Version-Release number of selected component (if applicable):
  • candlepin-0.9.32-1.el7.noarch
  • candlepin-common-1.0.8-1.el7.noarch
  • candlepin-selinux-0.9.32-1.el7.noarch
  • candlepin-tomcat-0.9.32-1.el7.noarch
  • elasticsearch-0.90.10-7.el7.noarch
  • foreman-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-compute-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-gce-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-libvirt-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-ovirt-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-postgresql-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-proxy-1.7.0-0.develop.201410221520gitccd77aa.el7.noarch
  • foreman-release-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • foreman-selinux-1.7.0-0.develop.201410210825gitaab37c6.el7.noarch
  • foreman-vmware-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
  • katello-2.1.0-1.201410231000gitac15899.el7.noarch
  • katello-certs-tools-2.0.1-1.el7.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-2.1.0-1.201410162242git33b9fc3.el7.noarch
  • katello-repos-2.1.1-1.el7.noarch
  • katello-server-ca-1.0-1.noarch
  • openldap-2.4.39-3.el7.x86_64
  • pulp-docker-plugins-0.2.1-0.2.beta.el7.noarch
  • pulp-katello-0.3-3.el7.noarch
  • pulp-nodes-common-2.5.0-0.7.beta.el7.noarch
  • pulp-nodes-parent-2.5.0-0.7.beta.el7.noarch
  • pulp-puppet-plugins-2.5.0-0.7.beta.el7.noarch
  • pulp-puppet-tools-2.5.0-0.7.beta.el7.noarch
  • pulp-rpm-plugins-2.5.0-0.7.beta.el7.noarch
  • pulp-selinux-2.5.0-0.7.beta.el7.noarch
  • pulp-server-2.5.0-0.7.beta.el7.noarch
  • python-ldap-2.4.6-6.el7.x86_64
  • ruby193-rubygem-ldap_fluff-0.3.2-1.el7.noarch
  • ruby193-rubygem-net-ldap-0.3.1-2.el7.noarch
  • ruby193-rubygem-runcible-1.2.0-1.el7.noarch
  • rubygem-hammer_cli-0.1.3-1.201409240954gitf3c47c7.el7.noarch
  • rubygem-hammer_cli_foreman-0.1.3-1.201410151235gitbc8c449.el7.noarch
  • rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch
  • rubygem-hammer_cli_import-0.10.4-1.el7.noarch
  • rubygem-hammer_cli_katello-0.0.6-1.201410231025gitd77ae46.git.0.d737437.el7.noarch

How reproducible:
Aways

Steps to Reproduce:
1. hammer content-view info --id='<id>'

Actual results:
The output shows the lifecycle environments under the environments group

Expected results:
The output shows the lifecycle environments under the lifecycle environments group

Additional info:
LANG=en_US.UTF-8 hammer -v -u admin -p changeme content-view info --id='326'
ID: 326
Name: kSyryDXZhO
Label: kSyryDXZhO
Composite: true
Description:
Content Host Count: 0
Organization: l255yx
Repositories:

Puppet Modules:

Environments:
1) ID: 318
Name: ZDjzSe
2) ID: 317
Name: Library
Versions:
1) ID: 305
Version: 1
Published: 2014/10/24 19:13:46
Components:
1) ID: 304
Name: RgvLLbPfAJ 1
Activation Keys:

Associated revisions

Revision 5dc89f83
Added by Bryan Kearney about 3 years ago

Fixes #8327: Use Lifecycle Environment when displaying info on content views

Revision 5e52afcf
Added by Bryan Kearney about 3 years ago

Merge pull request #253 from bkearney/bkearney/8327

Fixes #8327: Use Lifecycle Environment when displaying info on content v...

History

#1 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Target version set to Sprint 39
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/253 added

#2 Updated by Eric Helms about 3 years ago

  • Target version changed from Sprint 39 to Sprint 40

#3 Updated by Anonymous about 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms about 3 years ago

  • Release set to Katello 2.1
  • Triaged changed from No to Yes

Also available in: Atom PDF