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

Bug 354839

Summary: make 4.x download page appear first at download.eclipse.org/eclipse/downloads
Product: [Eclipse Project] Platform Reporter: Kim Moir <kim.moir>
Component: RelengAssignee: Kim Moir <kim.moir>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, john.arthorne, remy.suen
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to e4 builder none

Description Kim Moir CLA 2011-08-16 10:38:39 EDT
Those pages will soon be switched around so the 4.x download comes first on the main eclipse project download page.
Comment 1 Kim Moir CLA 2011-08-17 15:22:05 EDT
Not sure how to do this so that the old links are still preserved other than having Denis use Apache mod_rewrite.
Comment 2 John Arthorne CLA 2011-08-17 16:03:49 EDT
Some notes from a discussion with Kim and Andrew...

Proposed structure:

eclipse/
  downloads/
    index.php -> generated from drops4/
    eclipse3x.php -> generated from drops/
    drops/ -> Contains the same 3.x builds it contains today
    drops4/ -> Contains the 4.x builds
e4/
  sdk/
    drops/
      - Leave a copy of 4.2 M1 here to avoid broken links

Todo:

Kim:
 - Check what rsync script changes are needed
 - Make sure cleanup scripts don't delete 4.x stuff

Andrew:
 - Figure out 4.x builder changes to put 4.x build output under eclipse/downloads/eclipse4/
 - Figure out changes to rsync and build cleanup scripts
Comment 3 Andrew Niefer CLA 2011-08-19 13:31:13 EDT
Created attachment 201820 [details]
patch to e4 builder

Kim, we will need to exclude something like the following
downloads/drops4
downloads/createIndex4x.php
downloads/index.html
downloads/dlconfig4.txt
from your rsync
Comment 4 Kim Moir CLA 2011-08-19 16:50:28 EDT
I updated my rsync script.
Comment 5 Andrew Niefer CLA 2011-08-22 15:03:03 EDT
I released the attached patch and created
     eclipse/downloads/createIndex4x.php
     eclipse/downloads/drops4/*

As soon as the next 4x IBuild runs (or earlier if we wish), eclipse/downloads/index.html will be created which will take precedence over the index.php.


Kim, we need
     eclipse/downloads/eclipse3x.php (copied from original index.php)
I'm not sure if this is part of your rsync or not
Comment 6 Kim Moir CLA 2011-08-22 15:54:20 EDT
Hi Andrew, 

I've added eclipse3x.php.
Comment 7 John Arthorne CLA 2011-08-24 14:27:43 EDT
This switch has been completed. Thanks Andrew & Kim!