Problems fetching binaries from github.com
Miroslav Suchy
msuchy at redhat.com
Mon Jun 15 15:51:45 UTC 2015
Dne 15.6.2015 v 15:49 Alberto Ruiz napsal(a):
> Hello,
>
> While trying to create a COPR build fetching SRPMs from a github
> release, COPR for some reason fails to fetch the file.
>
> I am wondering if somebody can test this and let me know if I'm doing
> something wrong here or this is in fact a COPR bug. You can give this a
> go with this SRPM URL:
>
> https://github.com/fleet-commander/fc
> -admin/releases/download/v0.0.99/fleet-commander-0.0.99-1.fc21.src.rpm
>
>
The problem is in mockchain.
wget
https://github.com/fleet-commander/fc-admin/releases/download/v0.0.99/fleet-commander-0.0.99-1.fc21.src.rpm
is redirected to:
https://s3.amazonaws.com/github-cloud/releases/18841917/32e8c340-fda7-11e4-95b0-e60834d49680.rpm?[..SNIP..]
And the results are then stored to
.../results/fedora-22-x86_64/32e8c340-fda7-11e4-95b0-e60834d49680.rpm/
while Copr assume that the folder will be named
fleet-commander-0.0.99-1.fc21.src.rpm
Probably best solution will to learn mockchain about content-disposition
header.
In the mean time please some other storage.
Mirek
More information about the copr-devel
mailing list