Bug 747615 - almost duplication - `repo {status,info}`
Summary: almost duplication - `repo {status,info}`
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Katello
Classification: Retired
Component: Client
Version: 1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 1.x
Assignee: Martin Bacovsky
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 14:09 UTC by Garik Khachikyan
Modified: 2015-01-04 21:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-23 15:07:23 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.