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

Bug 393923

Summary: [CBI] clone the aggregator to run the build
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: RelengAssignee: Paul Webster <pwebster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.2.1   
Target Milestone: 4.3 M4   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 372792, 393922    

Description Paul Webster CLA 2012-11-08 15:34:02 EST
http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/scripts/build.sh?h=R4_2_maintenance#n55

We need a clone of the aggregator with the submodules updated in order to run the build.

We could clone the aggregator on each build, in the build directory.  Pro, it's a clean repo.  Con, it takes a significant amount of time and disk resources to clone all ~25 repos.

We could use the same aggregator clone for all builds within one stream.  At the start of the build the aggregator can be reset using something like:

git clean -f -d
git reset --hard HEAD
git submodule foreach git clean -f -d
git submodule foreach git reset --hard HEAD

Then the aggregator could be updated and the submodules updated.