Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] The Eclipse IDE 2019-12 release is available now!

FYI,

Of course no great release is complete without an awesome new glitch.  For the 2019-06 release, download.eclipse.org transparently redirected to archive.eclipse.org so loading

http://download.eclipse.org/technology/epp/packages/2019-06/compositeContent.jar

would serve up

http://archive.eclipse.org/technology/epp/packages/2019-06/compositeContent.jar

That wasn't a good thing.  The transparent redirection behavior (including transparent redirection to mirrors) has since been disabled for a number of additional reasons.

For the 2019-12 release, a HEAD request to http://download.eclipse.org/technology/epp/packages/2019-12/compositeContent.jar return stale information. I.e., the following code:

    URL url = new URL("http://download.eclipse.org/technology/epp/packages/2019-12/compositeContent.jar";);     HttpURLConnection openConnection = (HttpURLConnection)url.openConnection();
    openConnection.setRequestMethod("HEAD");
    openConnection.connect();
    int responseCode = openConnection.getResponseCode();
    System.err.println("url=" + url + " response=" + responseCode + " lastModified=" + openConnection.getLastModified() + " contentLength="
        + openConnection.getContentLength());

prints the following result:

url=http://download.eclipse.org/technology/epp/packages/2019-12/compositeContent.jar response=200 lastModified=1575643878000 contentLength=425

Unfortunately, p2 and the Eclipse Installer's infrastructure rely on proper/correct server responses.  The net effect of this incorrect response is to indicate that it's valid to use a locally cached version of compositeContent.jar, if it exists, which will find only M2, M3, and RC1, which still exist on the server.  I don't know if this will make installs fail or if it will make installs install RC1 instead of R, but clearly both are very bad. The average typical user will likely not have loaded http://download.eclipse.org/technology/epp/packages/2019-12 before, so for those it won't be a problem.  But for those with a cache, this will be a problem.

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=558452 to track this problem.  It needs to be fixed ASAP.  Furthermore, I hope that the problem is not fixed simply by manually flushing some cache because we don't want to see this problem ever again. This resource was deleted 19 hours ago and the server, in general, needs to return a 404 for HEAD/GET requests as soon as possible after any resource has been removed.

Regards,
Ed

On 18.12.2019 16:00, Frederic Gurr wrote:
The main repository is at

   http://download.eclipse.org/releases/2019-12/

(http://download.eclipse.org/releases/latest also points to it)

The EPP (all-in-one) packages are available at

   https://www.eclipse.org/downloads/eclipse-packages/

The landing page can be found here:

   https://www.eclipse.org/eclipseide/2019-12/

Thanks to all users, bug reporters, contributors, committers, releng
engineers and everyone else involved with making this release possible!

Happy Holidays!

Regards,

Fred



Back to the top