Description of problem: copr-cli build myuser/rh-mariadb100 http://url/to/file.src.rpm Something went wrong: Error: Copr with name rh does not exist. Version-Release number of selected component (if applicable): # rpm -q copr-cli copr-cli-1.43-1.fc21.noarch How reproducible: every-time Steps to Reproduce: 1. copr-cli build myuser/rh-mariadb100 http://url/to/file.src.rpm Actual results: Something went wrong: Error: Copr with name rh does not exist. Expected results: build works Additional info: The same apply also for the user name (I expect it can also include dash).. patch is simple: # cat copr.patch --- main.py.orig 2015-05-19 07:30:37.241630312 +0200 +++ main.py 2015-05-19 07:30:04.799644087 +0200 @@ -153,7 +153,7 @@ class Commands(object): """ copr = args.copr - m = re.match(r"(\w+)/(\w+)", copr) + m = re.match(r"([-\w]+)/([-\w]+)", copr) if m: username = m.group(1) copr = m.group(2)
Now I see the latest upstream source already includes the fix as r"(\w+)/(.*)" which seems sufficient. However in F21 it is still not fixed, which prevents me from building on F21.. please, consider backporting to f21 :)
It is in testing since Sunday: https://admin.fedoraproject.org/updates/FEDORA-2015-8352/copr-cli-1.44-1.fc21 *** This bug has been marked as a duplicate of bug 1188022 ***
*** Bug 1206651 has been marked as a duplicate of this bug. ***