TPS fails to download virtualenv due to the redirect

RESOLVED FIXED

Status

defect
RESOLVED FIXED
5 years ago
10 months ago

People

(Reporter: whimboo, Assigned: whimboo)

Tracking

unspecified

Firefox Tracking Flags

(firefox30 fixed, firefox31 fixed, firefox32 fixed, b2g-v1.4 fixed)

Details

Attachments

(1 attachment)

Something has been changed recently on github so grabbing the virtualenv script from https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py redirects to another URL. Given that we use curl without the -L option, we actually don't download the script, and fail in setting up tps.

We have to get this fixed so the CI will work again.
Very simple fix for this bustage, and Glob is that kind to give a sanity review. Just in case.
Attachment #8417825 - Flags: review?(glob)
Comment on attachment 8417825 [details] [diff] [review]
Add '-L' option to curl command v1

Review of attachment 8417825 [details] [diff] [review]:
-----------------------------------------------------------------

| curl -L https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py | on my fedora system results in a HTTP/400 error, however it works fine from my mac.

however given the same fix worked on bug 1002039, r=glob
Attachment #8417825 - Flags: review?(glob) → review+
https://hg.mozilla.org/mozilla-central/rev/87c8f870e2b9
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

10 months ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.