Bug 218081 - Download page broken: Identifies as x86_64, Downloads 32Bit. No ability to choose distro.
Summary: Download page broken: Identifies as x86_64, Downloads 32Bit. No ability to c...
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Website (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: phoenix.ui CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
: 207788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-06 16:15 EST by rektide CLA
Modified: 2008-08-26 14:43 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rektide CLA 2008-02-06 16:15:04 EST
The download page is misleading and or broken.  If I go to eclipse.org/downloads, it tells me these are the downloads for "Eclipse Europa Fall Maintenance Packages - Linux x86_64", but it links me the 32Bit x86 versions.  

Further there's no ability to choose which distro you would like to download.  The only links are for 32 Bit x86.  

I ended up going to a random mirror and thankfully they had auto-index on so I could download what I actually needed:

http://ftp.osuosl.org/pub/eclipse/technology/epp/downloads/release/20071103/

My suggestion would be to change the "Linux" download link to two links, a "Linux" link and then immediately following that an "(x86-64)" link.

thanks,
rektide
Comment 1 Denis Roy CLA 2008-02-07 09:12:06 EST
(In reply to comment #0)
> My suggestion would be to change the "Linux" download link to two links, a
> "Linux" link and then immediately following that an "(x86-64)" link.

This is an easy fix ... feel like submitting a patch?

:pserver:anonymous@dev.eclipse.org:/cvsroot/org.eclipse
Look in www/downloads/content/en_index.php

You'll want to use filelocation like this:
fileLocation($packageInfo['classic']['linux-x64'])
Comment 2 rektide CLA 2008-02-07 16:34:54 EST
> (In reply to comment #0)
> > My suggestion would be to change the "Linux" download link to two links, a
> > "Linux" link and then immediately following that an "(x86-64)" link.
> 
> This is an easy fix ... feel like submitting a patch?
> 
> :pserver:anonymous@dev.eclipse.org:/cvsroot/org.eclipse
> Look in www/downloads/content/en_index.php

Very eerie, I checked out the code and was looking to figure out how the variables for the main downloads ($javaDownload, $jeeDownload, $cDownload, $rcpDownload and $classicDownload) were generated to fix the default download to be x86-64 if you were identified as being a Linux x86-64 user.  I never figured out how all the parts came together, but I hit up eclipse.org/downloads to see the current state of things and alacadabra these default download links were fixed for x86_64!  Why cant more of my coding problems fix like this?!

For the record, two days ago they were still linking me to 32Bit x86, even though the page properly pegged me as Linux x86-64.

I have implemented the further enhancement described in the original bug report  for the download page to allow the user to explicitly download x86-64 should they wish.  I am unable to submit to CVS, so my changes are available at <a href="http://rektide.voodoowarez.com/2008/2/eclipse.en_index.php">rektide.voodoowarez.com/2008/2/eclipse.en_index.php</a>.  The format is Linux (x86_64), with Linux linking 32-bit and x86_64 linking the x86_64.  Thank you for the link to the repository, otherwise I would never have taken the minimal effort to do this.
Comment 3 rektide CLA 2008-02-07 16:40:49 EST
apologies, please try http://rektide.voodoowarez.com/2008/2/eclipse.en_index.txt
in the future i will make sure i verify my urls ahead of time.
Comment 4 Denis Roy CLA 2008-02-11 06:54:00 EST
(In reply to comment #2)
> to see the current state of things and alacadabra these default download links
> were fixed for x86_64!  Why cant more of my coding problems fix like this?!
> 
> For the record, two days ago they were still linking me to 32Bit x86, even
> though the page properly pegged me as Linux x86-64.

It's still that way, nothing was fixed.  I use Linux x86_64 and I see the 32-bit downloads on the link on the right.

> they wish.  I am unable to submit to CVS, so my changes are available at <a
> href="http://rektide.voodoowarez.com/2008/2/eclipse.en_index.php">rektide.voodoowarez.com/2008/2/eclipse.en_index.php</a>.

Thanks for providing a fix.  Can you please submit a patch to this bug?  I can't use code from other sites.  If you use Eclipse, you can simply use the Team > Create Patch.  Otherwise, on Linux, you can use diff -u (unified diff).

Thanks
Comment 5 Denis Roy CLA 2008-03-07 14:49:40 EST
*** Bug 207788 has been marked as a duplicate of this bug. ***
Comment 6 Nathan Gervais CLA 2008-08-26 14:43:21 EDT
The new downloads page provides auto-detected OS download links as well as links for the 4 main platforms.  Closing as FIXED.