Skip to content

Align_to_tc_releases

Bernd Hufmann edited this page Feb 14, 2024 · 1 revision

Align to TC releases

When there is a new release of Trace Compass (mainline, project o.e.t)

  • Create the incubator repositories and updates site where Trace Compass will point

1- Go to jenkins (https://ci.eclipse.org/tracecompass/) jobs:

2- find:

  • tracecompass-incubator-stable-base: (in config set "Branches to build" to be master, at this point, there is no API breakage, master works)
  • tracecompass-incubator-stable: In the job configuration, update the following parameters: GERRIT_BRANCH_NAME should match the branch in the stable-base job: ie master until there is API breakage SITE_DESTINATION Change the part of the path that represents the stable version to the appropriate one: for instance stable-6.2 JAVADOC_DESTINATION Change the part of the path that represents the stable version to the appropriate one: for instance stable-6.2

3- On next build, the update site will be created and ready to serve incubator plugins

  • In the Trace Compass repo (o.e.t), add commit to point to incubator site. See commit with id 8177bcde3ac90a055b87c20ddcff0f26967fc175
-To install features from the Trace Compass incubator, use the following update site URL: <https://download.eclipse.org/tracecompass.incubator/master/repository/>.
+To install features from the Trace Compass incubator, use the following update site URL: <https://download.eclipse.org/tracecompass.incubator/stable-6.1/repository/>.
-Optionally, one can also install the incubator features using the following update site URL: <https://download.eclipse.org/tracecompass.incubator/master/repository/>.
+Optionally, one can also install the incubator features using the following update site URL: <https://download.eclipse.org/tracecompass.incubator/stable-6.1/repository/>.

Update incubator features

- value="https://download.eclipse.org/tracecompass.incubator/master/repository/">
+ value="https://download.eclipse.org/tracecompass.incubator/stable-6.1/repository/">


-org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/tracecompass.incubator/master/repository,type:0,name:Trace Compass Incubator,enabled:false); \
-org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/tracecompass.incubator/master/repository,type:1,name:Trace Compass Incubator,enabled:false);
+org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/tracecompass.incubator/stable-6.1/repository,type:0,name:Trace Compass Incubator,enabled:false); \
+org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/tracecompass.incubator/stable-6.1/repository,type:1,name:Trace Compass Incubator,enabled:false);

Set tag.

to change from the incubator.

... There is API breakage in the master branch

The master branch of the incubator will not work with the stable version anymore. All changes are done in the o.e.t.i repository

  • Create the stable branch. For example
git checkout -b stable-6.2
git push origin stable-6.2
  • Update the incubator-stable jobs to point to the stable branch

1- Go to jenkins (https://ci.eclipse.org/tracecompass/) jobs:

2- find:

GERRIT_BRANCH_NAME should match the branch in the stable-base job: ie the stable branch name
  • Update the target in the stable branch to point to Trace Compass's stable repo. See commit ID 6867fd47194ecf1660d57af6bdbffe57ff63185c for an example.
Clone this wiki locally