Bug #17304

hammer os: unify --description vs. --title for its subcommands

Added by Swapnil Abnave 8 months ago. Updated 10 days ago.

Status:Pending
Priority:Normal
Assigned To:Swapnil Abnave
Category:Other commands
Target version:Foreman - Team Anurag Iteration 16
Difficulty:medium Bugzilla link:1393524
Found in release:nightly Pull request:
Story points-
Velocity based estimate-

Description

Description of problem:
Upon os creation we refer to an entity as '--description' and then upon os update/info/deletion we refer to the very same entity as '--title'

Version-Release number of selected component (if applicable):
Sat6.3.0 Snap6

Steps to Reproduce:
1. # hammer os create --name RedHat --description 'RHEL Server 7.3' --major 7 --minor 3 --media 'Internal RHEL'

2. # hammer os update --title 'RHEL Server 7.3' --media 'Internal RHEL'

3. # hammer os info --title 'RHEL Server 7.3'

4. # hammer os delete --title 'RHEL Server 7.3'

Actual results:
create expects --description VS. update/info/delete expect --title

Expected results:
all subcommands expects the same (preferably --title as --description is only one exception to the rule)

ToDo:
  1. Keep --title everywhere, no --description
  2. Update command would need to have --new-title

Related issues

Related to Foreman - Bug #18933: OS: unify description vs title - replace description with... Pending 03/16/2017

History

#1 Updated by Swapnil Abnave 8 months ago

  • Project changed from Foreman to Hammer CLI
  • Category set to Foreman commands

#2 Updated by Tomáš Strachota 8 months ago

  • Category changed from Foreman commands to Other commands

#3 Updated by Swapnil Abnave 7 months ago

  • Status changed from New to Need more information

#4 Updated by Swapnil Abnave 3 months ago

  • Target version changed from Team Anurag backlog to Team Anurag Iteration 12

#5 Updated by Swapnil Abnave 3 months ago

  • Status changed from Need more information to Assigned

#6 Updated by Swapnil Abnave 3 months ago

ToDo:
  1. Keep --title everywhere, no --description
  2. Update command would need to have --new-title

#7 Updated by Swapnil Abnave 3 months ago

  • Related to Bug #18933: OS: unify description vs title - replace description with title on UI added

#8 Updated by Swapnil Abnave 3 months ago

  • Description updated (diff)
  • Assigned To set to Swapnil Abnave

#9 Updated by Swapnil Abnave 3 months ago

  • Status changed from Assigned to Pending

#10 Updated by Swapnil Abnave 10 days ago

  • Target version changed from Team Anurag Iteration 12 to Team Anurag Iteration 16

Also available in: Atom PDF