Bug 6426 - pseudo broken download
Summary: pseudo broken download
Status: RESOLVED FIXED
Alias: None
Product: Website
Classification: Infrastructure
Component: web-admin (show other bugs)
Version: Production
Hardware: All Multiple
: Undecided major
Target Milestone: ---
Assignee: Melissa Anderson
QA Contact:
URL:
Whiteboard:
: 6423 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-11 14:47 UTC by Paul Eggleton
Modified: 2014-06-11 16:41 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2014-06-11 14:47:11 UTC
It seems that the download link for pseudo is no longer working, e.g.:

http://www.yoctoproject.org/downloads/pseudo/pseudo-1.5.1.tar.bz2

This now redirects to the top level downloads section. This URL comes from one of our recipes in a stable release, so we need the above URL to download the file directly as it did previously (as well as all other pseudo releases).
Comment 1 Michael Halstead 2014-06-11 15:55:15 UTC
The change that removed this redirect was added on April 17th 2014. I've reverted it and pseudo-1.5.1 is correctly redirected to from this URL. I cannot find the reason the redirect was removed.
Comment 2 Michael Halstead 2014-06-11 16:15:59 UTC
I found the reason the redirect was removed. It was to enable RSS listing of new releases. This fix broke RSS feeds. I'll make both work at the same time by using more specific matching.
Comment 3 Paul Eggleton 2014-06-11 16:26:33 UTC
*** Bug 6423 has been marked as a duplicate of this bug. ***
Comment 4 Paul Eggleton 2014-06-11 16:27:49 UTC
FYI, the dylan release uses pseudo 1.4.5, so if you could ensure that is also available through the same URL scheme that would be great.
Comment 5 Michael Halstead 2014-06-11 16:41:58 UTC
http://www.yoctoproject.org/downloads/pseudo/pseudo-1.4.5.tar.bz2 verified working as well.

The rule looks like this and should work for all versions.

rewrite ^/downloads/pseudo/pseudo-(.*)$ http://downloads.yoctoproject.org/releases/pseudo/pseudo-$1 last;

Also note if you are testing this and have the HTTPS Everywhere extension installed your browser will get a 404. In that case disable the extension or use curl/wget to test.