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

Bug 428822

Summary: rebuild SR2 RC4 candidate
Product: Community Reporter: David Williams <david_williams>
Component: Cross-ProjectAssignee: David Williams <david_williams>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mknauer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
listing of 'p2diff' for rebuild none

Description David Williams CLA 2014-02-22 10:12:27 EST
I just wanted to use this bug to document commits related to rebuilding for Platform's "RC4a".
Comment 1 David Williams CLA 2014-02-22 10:16:15 EST
This commit has the new "RC4a" location for Platform (and this commit should "stay"). 

http://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/commit/?h=Kepler_maintenance&id=6360a1c95cd6d69c4115c8358fd53e19a346c5c6

This commit is a temporary change where all other contributions were temporarily changed to ".../releases/maintentance" to make sure we get the same bits as in previous release candidate. It should be reverted, once rebuild is complete. 

http://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/commit/?h=Kepler_maintenance&id=8294fbbc1370958abe0ff06b720a4ca797ff5992
Comment 2 David Williams CLA 2014-02-22 13:13:55 EST
Created attachment 240229 [details]
listing of 'p2diff' for rebuild

There is over 400 "differences" between 'mainteneance' and the new build. 

It contains the new p2.directory bundle, and that "touches" a number of features in "platform", plus all the "branding bundles" and "tooling"-type configuration items changed (since they always get "current time" during a build. 

The only "odd thing" was that the new, rebuild, repo appears to be "short" 3 bundles: 

< org.eclipse.rap.jface [2.1.0.20130506-1748] 
< org.eclipse.rap.jface.databinding [2.1.0.20130506-1748] 
< org.eclipse.rap.rwt [2.1.0.20130611-2139] 

At first this worried me quite a bit ... but, after checking for all possible "errors" in my rebuild, I see that in fact the old "maintenance" repo actually had two versions of these bundles: 

org.eclipse.rap.jface_2.1.0.20130506-1748.jar
org.eclipse.rap.jface_2.1.2.20140129-1036.jar
org.eclipse.rap.jface.databinding_2.1.0.20130506-1748.jar
org.eclipse.rap.jface.databinding_2.1.2.20140121-1149.jar
org.eclipse.rap.rwt_2.1.0.20130611-2139.jar
org.eclipse.rap.rwt_2.1.2.20140204-1458.jar

So, now I'm thinking the rebuild is fine, that the previous version, with two versions of these bundles was a "fluke" or perhaps even an error? in the way that p2 "does its best" to optimize a solution, but sometimes is not the perfect solution? 

Markus, please confirm the "higher" versions are correct and no need for "lower" versions that will not be included in the "new maintenance".
Comment 3 David Williams CLA 2014-02-22 13:21:17 EST
FWIW, I'm currently promoting the re-build to 'maintenance', but I did save a copy of the previous version of 'maintenance' to the archives server at 

/home/data/httpd/archive.eclipse.org/releases/maintenanceTEMPHOLD 

in case anyone wants/needs to do more detailed analysis of differences. 

I will remove that 'maintenanceTEMPHOLD' directory soon (in a few days) unless someone says they need more time to "check things".
Comment 4 David Williams CLA 2014-02-22 13:41:03 EST
I have reverted 8294fbbc1370958abe0ff06b720a4ca797ff5992

and new .../releases/maintenance is in place. 

Just let us know, Markus, if those 3 "missing" RAP bundles are an issue ... but assume you'd actually only want the higher versioned ones that are currently (still) in 'maintenance'.
Comment 5 Markus Knauer CLA 2014-02-23 04:56:22 EST
(In reply to David Williams from comment #2)
> < org.eclipse.rap.jface [2.1.0.20130506-1748] 
> < org.eclipse.rap.jface.databinding [2.1.0.20130506-1748] 
> < org.eclipse.rap.rwt [2.1.0.20130611-2139] 
> 
> At first this worried me quite a bit ... but, after checking for all
> possible "errors" in my rebuild, I see that in fact the old "maintenance"
> repo actually had two versions of these bundles: 
> 
> org.eclipse.rap.jface_2.1.0.20130506-1748.jar
> org.eclipse.rap.jface_2.1.2.20140129-1036.jar
> org.eclipse.rap.jface.databinding_2.1.0.20130506-1748.jar
> org.eclipse.rap.jface.databinding_2.1.2.20140121-1149.jar
> org.eclipse.rap.rwt_2.1.0.20130611-2139.jar
> org.eclipse.rap.rwt_2.1.2.20140204-1458.jar

First of all, the new 2.1.2 RAP bundles are the correct ones. The other 2.1.0 have not been contributed to Kepler SR2 by the RAP project.

I saw this 10 days ago and re-opened bug 409457 that covers this problem. I'm pretty sure that one of the projects consuming RAP-bundles is redistributing an older version of them from their own p2 repository.
When you took the maintenance p2 repository as source for the rebuild, p2 picked up the latest version of the bundle and 'filtered' the wrong old versions. From my point of view this is much better than what we had before.
Comment 6 Markus Knauer CLA 2014-02-24 15:21:08 EST
The EPP rebuild is available from the following URL until we release them:

http://build.eclipse.org/technology/epp/epp_build/kepler/download/20140224-1014/

A mail to the package maintainers has been sent, asking them for retesting and approval.