Problem with copr API authentication

Mark Reynolds mareynol at redhat.com
Fri Sep 12 22:29:36 UTC 2014


Hello,

I'm trying to upload a srpm to copr by using:

curl --data
"pkgs=http://mreynolds.fedorapeople.org/389-ds-base-09_12_2014-1.fc20.src.rpm"
https://copr.fedoraproject.org/api/coprs/mreynolds/389-ds-base/new_build/

{
  "error": "Login invalid/expired. Please visit
https://copr.fedoraproject.org/api get or renew your API token.",
  "output": "notok"
}

I did setup ~/.config/copr file correctly according to
https://copr.fedoraproject.org/api

First I'm not sure if this is the best way to upload a srpm, second, the
issue might be because my shell id is "mareynol" but my fedora/copr
account is "mreynolds".  I know this uid discrepancy caused issues with
the fedora folks, where they had to do some kind of alias for mareynol
-> mreynolds.

Any help would be appreciated.

Thanks,
Mark


More information about the copr-devel mailing list