[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] yet another embarrassing question: where is download.php documented?

David M Williams wrote:

Thanks Denis, that helps a lot ... but leads to one more.

 > > http://download.eclipse.org/some/path/here/download.php?
 > dropFile=filename.zip
 >
 > That is the Eclipse project's script to display Release Notes if
 > filename.zip requires them.  Once user has read said Notes, they are
 > whisked off the the first script
 > (www.eclipse.org/downloads/download.php?file=) for mirror selection.

On our build/download page we have a part that says "you need the Eclipse SDK buld xxxx" (and we link to xxxx that we used in our build).
So, in that context I guess we should use the "dropFile" form? Is that "API" that we can count on not changing?

Kim maintains the Eclipse project download site, so only she knows the answer to that.


As far as what you "should use" ... Most projects I've seen link to the SDK using www....download.php?file= to get a mirror site.

A related, but seperate question, I've seen some pages that "detect" which platform the client is running on (windows, linux, etc)
and recommends that platform's specific downlaod (and then says ... or "see yyyy for complete list).


Is that "platform detection" script some standard script? Part of Phoenix?

Yes. All Phoenix pages have an $App variable you can use. I believe $App->getClientOS() will return a string indicating win32, linux, aix, etc...


$App is just loaded with stuff, like $App->getDownloadFileSizeString(file.zip). This is from memory.

Denis




Thanks,




*"Eclipse Webmaster (Denis Roy)" <webmaster@xxxxxxxxxxx>* Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx

06/28/2007 08:32 PM
Please respond to
Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>



To
Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
cc

Subject
Re: [cross-project-issues-dev] yet another embarrassing question: where is download.php documented?








David M Williams wrote:
>
> I can't seem to find its documentation.
>
> I'm particularly interested in the difference between two patterns I've
> seen:
>
> http://www.eclipse.org/download.php?file=/some/path/here/filename.zip


This is the page that allows users to pick mirror sites based on
filename.zip.  If filename.zip isn't found in the (mirrored)
download.eclipse.org area, it will look for it on archive.eclipse.org.

This is the only one that you should use.  It is documented in the
Committer Tools 'How Do I' section about downloads.

    https://dev.eclipse.org/committers/

> and (working form memory)
> http://download.eclipse.org/some/path/here/download.php?dropFile=filename.zip



That is the Eclipse project's script to display Release Notes if filename.zip requires them. Once user has read said Notes, they are whisked off the the first script (www.eclipse.org/downloads/download.php?file=) for mirror selection.


Hope this helps.

Denis


> > > significant difference? is one recommended? Do they both redirect to > "archives" if not found on "downloads"? > > Thanks, > > > ------------------------------------------------------------------------ > > _______________________________________________ > cross-project-issues-dev mailing list > cross-project-issues-dev@xxxxxxxxxxx > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev _______________________________________________ cross-project-issues-dev mailing list cross-project-issues-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


------------------------------------------------------------------------

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev