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

Bug 349320

Summary: provide redirects to new Mylyn download locations
Product: Community Reporter: Steffen Pingel <steffen.pingel>
Component: ServersAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: shawn.minto
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 342404    

Description Steffen Pingel CLA 2011-06-14 10:17:59 EDT
As part of the Mylyn restructuring repositories on download.eclipse.org moved to new locations. Older Eclipse client will however still be configured to search the old locations. It would be nice to redirect requests to old download locations if that is possible:

/tools/mylyn/update/e3.4  -  /mylyn/releases/latest
/tools/mylyn/update/galileo  -  /mylyn/releases/galileo
/tools/mylyn/update/helios  -  /mylyn/releases/helios
/tools/mylyn/update/indigo  -  /mylyn/releases/indigo
/tools/mylyn/update/weekly  -  /mylyn/snapshots/weekly
/tools/mylyn/update-archive  -  /mylyn/archive

Maybe this makes it more clear assuming these rules were configured in a .htaccess file under ~/download/tools/mylyn:

RewriteEngine on
RewriteRule ^update-archive(.*)$ http://download.eclipse.org/mylyn/archive$1 [R,L]
RewriteRule ^update/e3.4(.*)$ http://download.eclipse.org/mylyn/releases/latest$1 [R,L]
RewriteRule ^update/weekly(.*)$ http://download.eclipse.org/mylyn/snapshots/weekly$1 [R,L]
RewriteRule ^update(.*)$ http://download.eclipse.org/mylyn/releases$1 [R,L]
RewriteRule ^(.*)$ http://download.eclipse.org/mylyn/$1 [R,L]
Comment 1 Eclipse Webmaster CLA 2011-06-15 13:43:49 EDT
Ok, I've added these redirects(with a modifcation) to the Apache config.  We'll remove them in a year or so.  

Can you confirm the works as you expect?  If so I'll remove the contents of /tools/mylyn .

-M.
Comment 2 Steffen Pingel CLA 2011-06-15 14:59:59 EDT
I did a round of testing and the redirects look good to me!
Comment 3 Steffen Pingel CLA 2011-06-20 09:55:29 EDT
I think we are good here. Please feel free to remove download.eclipse.org/tools/mylyn.
Comment 4 Eclipse Webmaster CLA 2011-06-20 13:45:05 EDT
Ok, it's gone.  If we need it we'll need to rely on the tape archive.

-M.
Comment 5 Steffen Pingel CLA 2011-06-21 14:24:36 EDT
Turns out using archive as a directory name wasn't a smart decision on my part. I have renamed it to "drops" to make sure releases get mirrored. Please update the redirect accordingly:

/tools/mylyn/update-archive  -  /mylyn/drops

Thanks!
Comment 6 Eclipse Webmaster CLA 2011-06-21 14:44:12 EDT
Ok I've updated the redirects.

-M.
Comment 7 Steffen Pingel CLA 2011-06-21 17:28:32 EDT
Thanks! I have tested an install from the old redirected location which worked fine.