Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338049 - Allow symlinks on download.eclipse.org
Summary: Allow symlinks on download.eclipse.org
Status: RESOLVED WONTFIX
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Website (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: phoenix.ui CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 01:36 EST by Markus Kuppe CLA
Modified: 2011-03-07 11:03 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2011-02-24 01:36:11 EST
Hi,

ECF would like to provide a rt/ecf/latest link on download.eclipse.org that always points to our last release. Creating a corresponding symlink is not a problem, but the webserver refuses to serve the request afterwards [0].

[0] http://download.eclipse.org/rt/ecf/latest/site.p2/content.jar
Comment 1 Denis Roy CLA 2011-02-24 13:16:44 EST
Symlinks are disabled for security reasons.  Also, if they were allowed on download.eclipse.org, there would be no guarantee that they would work on all our mirror sites.

Your p2 repos are set up to use mirror sites, right?
Comment 2 Markus Kuppe CLA 2011-02-24 15:36:12 EST
So providing a .../latest/ link essentially means we have to keep a duplicate of the latest ECF release on download.eclipse.org?
Comment 3 Denis Roy CLA 2011-02-24 15:39:52 EST
Why a duplicate?  You can put your latest release in a directory called "latest", then move it to another directory when it's no longer the latest.
Comment 4 Markus Kuppe CLA 2011-02-24 16:00:24 EST
(In reply to comment #3)
> Why a duplicate?  You can put your latest release in a directory called
> "latest", then move it to another directory when it's no longer the latest.

To serve consumers that want to use a permanent URL for a stable release from the start (e.g. .../ecf/3.4).
Comment 5 Gunnar Wagenknecht CLA 2011-02-25 04:17:23 EST
If it's just for p2 you should look at composite repositories. That's how you can manage a "latest" repository at a stable URL.
http://wiki.eclipse.org/Equinox/p2/Composite_Repositories_(new)

You should also specify a p2.mirrorsURL in your p2 repository artifacts.xml. It can be done automatically when mirroring to the final location.
http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/releng/org.eclipse.e4.sdk/builder/templates/artifacts.xml?revision=1.1&view=markup
Comment 6 Denis Roy CLA 2011-03-07 11:03:49 EST
> Symlinks are disabled for security reasons.  Also, if they were allowed on
> download.eclipse.org, there would be no guarantee that they would work on all
> our mirror sites.

I can't enable symlinks for these two reasons.  Sorry.