Bug 1206651 - copr-cli build does not handle Coprs with dash in name correctly
Summary: copr-cli build does not handle Coprs with dash in name correctly
Keywords:
Status: CLOSED DUPLICATE of bug 1188022
Alias: None
Product: Copr
Classification: Community
Component: cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Kadlčík
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-27 16:05 UTC by Daniel Vrátil
Modified: 2015-11-02 01:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-01 14:58:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Vrátil 2015-03-27 16:05:27 UTC
Using "copr-cli build" fails when full Copr name (with username) is specified, but works OK when only Copr name (without username) is specified.

$ copr-cli build dvratil/plasma-5 http://....
Something went wrong:
Error: Copr with name plasma does not exist.


$ copr-cli build plasma-5 http://....
Build was added to plasma-5.
Created builds: 83479


I expect this might affect other commands too (if they use the same name parser), but I haven't tried.


Version-Release number of selected component (if applicable):
copr-cli-1.43-1.fc21.noarch


How reproducible:
always

Comment 1 Daniel Vrátil 2015-03-27 16:07:28 UTC
Sorry, forgot to mention the key problem in the first paragraph: this happens only when there is a dash in the Copr name (like "dvratil/plasma-5"), but obviously works when there's no dash ("dvratil/wayland").

Comment 2 Jakub Kadlčík 2015-07-01 14:58:28 UTC
Fixed in:
* e923789 1188022 - accept dash in project name

*** This bug has been marked as a duplicate of bug 1222759 ***

Comment 3 Jakub Kadlčík 2015-07-01 15:02:24 UTC

*** This bug has been marked as a duplicate of bug 1188022 ***


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