Bug 1475940 - koji download-build does not work when SRPM URL is actually a redirection
koji download-build does not work when SRPM URL is actually a redirection
Status: NEW
Product: Fedora
Classification: Fedora
Component: koji (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mike McLean
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-27 11:18 EDT by Honza Horak
Modified: 2017-10-12 02:07 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
suggested patch (601 bytes, text/plain)
2017-07-27 11:18 EDT, Honza Horak
no flags Details

  None (edit)
Description Honza Horak 2017-07-27 11:18:30 EDT
Created attachment 1305475 [details]
suggested patch

Description of problem:
In some koji deployments (RH's brew) the SRPM url is actually redirected with 302 to a different location, which is not a big deal, but koji should follow the redirection.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. koji download-build --arch=src <nvr>

Actual results:
File <nvr>.src.rpm is actually HTML text with 302 redirection message.

Expected results:
SRPM is downloaded from redirected link.

Additional info:
As written above, this was seen in RH's Koji instance, which might work for verification within RH internal network.

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