Bug 747615

Summary: almost duplication - `repo {status,info}`
Product: [Retired] Katello Reporter: Garik Khachikyan <gkhachik>
Component: ClientAssignee: Martin Bacovsky <mbacovsk>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mkoci
Target Milestone: ---Keywords: Triaged
Target Release: 1.x   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-23 15:07:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Garik Khachikyan 2011-10-20 14:09:34 UTC
Description of problem:
taking exactly the same arguments both calls are repo status|info listing almost the same info.
info probably 2 more: 
 - Arch (which is always: noarch seems)
 - Url

So is it really makes sense of having the status call of the repo or if we can leave only the info there?

Is there any dependent calls of UI/CLI/API from that "status" method?


Version-Release number of selected component (if applicable):
recent katello CLI: katello-cli-0.1.10-1.git.724.8ac2ca4.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. list commands of repo - 2 methods
2.
3.
  
Actual results:
2 methods displaying almost the same info

Expected results:
1 method with a union of that 2

Additional info:

Comment 2 Garik Khachikyan 2012-04-23 15:07:23 UTC
well, now they look really different.

so please disregard my issue.
---
katello> repo info --name zoo --product zoo
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                     Information About Repo 117
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Id:            117
Name:          zoo
Package Count: 0
Arch:          noarch
Url:           http://inecas.fedorapeople.org/fakerepos/zoo3/
Last Sync:     never
Progress:      Not synced
GPG key:       

katello> repo status --name zoo --product zoo
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                         Repository Status
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Package Count: 0
Last Sync:     never
Sync State:    Not synced
Last Errors:
    None

katello> 
---

this is how they look like.