Bug 1309101 - copr-cli doesn't handle string input for 'status'
Summary: copr-cli doesn't handle string input for 'status'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: cli
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 20:21 UTC by John M. Harris, Jr.
Modified: 2016-05-05 13:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-05 13:06:23 UTC
Embargoed:


Attachments (Terms of Use)

Description John M. Harris, Jr. 2016-02-16 20:21:06 UTC
Description of problem:
I understand that 'status' is supposed to take a build id, but it's a simple misunderstanding for a user to think they could do something like `copr status mypackage` to see the status of their package, perhaps expecting something similar to the "monitor" tab on on the web frontend. Instead, you're presented with 

How reproducible:


Steps to Reproduce:
1. run `copr status any-string`

Actual results:
HTML error page

Expected results:
Something along the lines of "Something went wrong:\n Error: build id expected."

Comment 1 clime 2016-03-18 07:26:15 UTC
Fixed by 50cfd70c. Thank you.

Comment 2 Miroslav Suchý 2016-05-05 13:06:23 UTC
Package including this fix has been deployed on production instance of Copr.


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