| Web Tools Platform 1.5 Maintenance Branching Strategy Web Tools Platform 1.5 Maintenance Branching Strategy |
![]() |
|
Updated 2006-07-07 |
|
| Introduction | |
|
Branch name: R1_5_maintenance |
|
|
The document details the branching strategy for the WTP 1.5 maintenance release. Plug-ins and features will be branched on demand. This means you do not need to branch if your fix is common to both the 1.5 and 2.0 (HEAD) stream. You will need to branch if you are committing a fix that is only applicable for the 2.0 but not the 1.5 stream, or vice versa. |
|
| Deciding which stream your fix is applicable for | |
|
Before you fix anything, the first thing to think about is which stream your fix is applicable for.
Is it only applicable for the 1.5 maintenance stream, or only for the 2.0 (HEAD) stream, or both? In
general, any bug fixes that go into the 1.5 maintenance stream should also go into the 2.0 (HEAD) stream. If
your fix is a breaking change (ex. change in API), an enhancement, etc, then it should go only into the 2.0
(HEAD) stream and not the 1.5 maintenance stream. |
|
| Fixing a bug that is common to both the 1.5 maintenance and 2.0 HEAD stream | |
|
So your fix is common to both the 1.5 maintenance stream and the 2.0 (HEAD) stream. For this scenario, my recommandation is to check out the 1.5 maintenance version of the plug-in/feature, check in the fix and retrofit the fix back to the 2.0 (HEAD) stream. To check out the correct 1.5 maintenance version of your plug-in/feature...
|
|
| Fixing 2.0 only bug | |
|
Before you commit your 2.0 only bug fix, you must branch your plug-in/feature (assuming it is not already branched). To check whether a plug-in/feature is branched or not, follow the instructions outlined in the previous section. |
|
|
For 2.0 only bug fixes, the first thing that you should do is check out your plug-in/feature from HEAD to your workspace. If your plug-in/feature is not yet branched, branch it now. Here's how...
|
|
|
We have created a document to keep track of the current status of WTP 1.5 branching. The document is located here. If you have branched a plug-in/feature, please update the document. |
|
| Releasing fixes to the 1.5 maintenance stream | |
|
|
| Releasing fixes to the 2.0 HEAD stream | |
|
Check out the releng project from HEAD and release your changes to it. I recommand using different tag names for the 1.5 and 2.0 (HEAD) map files. |
|
| Other | |
|
Retrofitting/merging changes between the 1.5 maintenance stream and the 2.0 (HEAD) stream can be time consuming. There is an Eclipse tool available that helps you retrofit/merge changes between a branch and HEAD. For more information, click here. |
|