Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338966

Summary: Download script continues to refer to mirror after download is archived
Product: Community Reporter: Konstantin Komissarchik <konstantin>
Component: ServersAssignee: Eclipse Webmaster <webmaster>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-03-04 13:42:20 EST
When a download file is moved to the archive, invoking the download url with the "r=1" directive continues to re-direct to mirrors, which predictably do not have that file any more.

See the following link for example. If it works, try it a few more times. You will eventually get redirected to a mirror.

http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519/repos/wst-sdk-buildrepo-R-3.2.0-20100615235519.zip&r=1

Not including "r=1" seems to reliably reference the archives server.

http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519/repos/wst-sdk-buildrepo-R-3.2.0-20100615235519.zip

Why is this a big deal? Automated download scripts always use "r=1" directive to get automatically forwarded to a mirror. Having to change download URL (to not include r=1) after project is archived isn't viable as it requires consumers to track when projects move their downloads to an archive or risk their integration systems breaking. 

My expectation is that "r=1" directive be ignored for archived downloads.
Comment 1 Denis Roy CLA 2011-03-07 14:05:01 EST
Fixed.
Comment 2 Konstantin Komissarchik CLA 2011-03-08 02:10:25 EST
Thanks! I have verified.