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

Bug 393925

Summary: [CBI] replace auto-tagging
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.2.2   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 372792, 393922    

Description Paul Webster CLA 2012-11-08 15:41:05 EST
http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/scripts/submodule_pull_r42x.sh?h=R4_2_maintenance

The CBI-based equivalent of auto-tagging should look like:

1) checkout and update each submodule to its respective branch or tag.  The script above is the brute force version of this, but it could also be driven by a repositories.txt file with similar syntax to what we use for PDE build.

2) tag each branch tip with the build id in each submodule

3) from the aggregator, add all of the submodules to a commit

4) commit the submodule update

5) tag the submodule update with the build id

This could be run at the start of the build in the per-stream build repo suggested in bug 393923 or it could be run in a separate auto-tagging only repo at the beginning of a build.

We should decide what to do with SWT.  They could either be auto-included the same as everybody else or they could use a similar process they do now and update the repositories.txt file with the tag they chose (auto-included is better).
Comment 1 Paul Webster CLA 2012-11-16 13:11:08 EST
Released as http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?h=R4_2_maintenance&id=7689c85b076c3592dd982022344b93e1c63650e3


update-build-input.sh will update all repos to their latest branch tip based on the repositories.txt file 

tag-build-input.sh will tag the current state of the aggregator and submodules as the input for that build 


PW