Skip to main content
Jump to: navigation, search

Difference between revisions of "Mylyn/Release Howto"

(After the Release)
(The Release)
Line 116: Line 116:
== Update Eclipse Info Center ==
== Update Eclipse Info Center ==
* Inform webmaster of new help plug-ins for the [ Eclipse info center]
* Inform webmaster of new help plug-ins for the [ Eclipse info center]
== Update Marketplace Listings ==
* [ Mylyn]
* [ Trac Connector]
= After the Release =
= After the Release =

Revision as of 10:47, 22 June 2011

Before the Release

Create a Branch

  • Branch cvs projects (major releases only)
cvs -b 3_7_m_3_6_x org.eclipse.mylyn*
  • Branch git (major releases only)
git checkout -b 3_7_m_3_6_x
git push 3_7_m_3_6_x

Prepare Source Code

Internationalize Messages

  • Run Source > Find Broken Externalized Strings over all bundles
  • Run Source > Externalize Strings over all bundles

Update User Guide from the Wiki

  • Run as an Ant Build (ensure org.eclipse.mylyn.wikitext* is checked out into your workspace)
  • Review the user guide and commit changes to CVS

Update Copyright Notices

  • Update the year in the about.ini to the current year
  • Update the year in all feature.xml files to the current year for changed features
  • Update the year in copyright notices of changed source files: Install platform releng tools, Project context menu > Fix Copyrights

Backport changes to the Platform Specific Branches

  • Switch to branch
  • Select branched plug-ins, Team > Merge
    • End tag: HEAD
    • Start tag: Merged_e_3_4_m_3_x
    • Select Preview the merge in the synchronize perspective
    • Merge changes and resolve conflicts
    • Commit
  • Switch to head,
  • Tag branched plug-ins as Merged_e_3_4_m_3_x

Run Tests

The Release

Update Target

  • Update target files to point to release sites

Tag Sources

  • Tag the release as R_x_y_z (and R_x_y_z_e_3_3 if plug-ins are branched)

Prepare Build Environment

  • Checkout sources on
ssh [user]
cvs -d co .
ln -s org.eclipse.mylyn/org.eclipse.mylyn.releng ~/releng
cd org.eclipse.mylyn/org.eclipse.mylyn.releng
  • Make sure your have Java 5.0 or later in your path. Settings for $HOME/.bashrc on
export JAVA_HOME=/shared/tools/mylyn/tools/jdk


TYPE=release TIMESTAMP=20110608-1400 mvn -f org.eclipse.mylyn/org.eclipse.mylyn.releng/pom.xml clean deploy 
  • Snapshot build (manually):
TYPE=weekly mvn -f org.eclipse.mylyn/org.eclipse.mylyn.releng/pom.xml clean deploy

Verify Update Site Contents

  • Check that only approved features are on the update site
  • Check that all Orbit bundles are tracked on approved CQs

Test Install

Remove Old Integration Builds

rm ~/downloads/mylyn/archive/3.6.0/I*

Add Mirror URLs

cd ~/downloads/mylyn/archive/3.6.0/
  • Check that the content.jar contains the following property:
<property name="p2.mirrorsURL" value=""/>

Copy Release to

cp ~/downloads/mylyn/archive/3.6.0 /home/data/httpd/

Update Release Repository Content

  • Update filters in ~/downloads/mylyn/releases/*/composite.index
  • Update release composite sites
cd ~/downloads/mylyn/releases/
~/releng/bin/ -r
  • Update snapshot composite sites
cd ~/downloads/mylyn/snapshots/
~/releng/bin/ -r

Create API Baseline

  • Create an API baseline zip (major releases only)
 ~/releng/bin/ 3.6.0 v20110608-1400

Update Website

  • Archive project plan in mylyn/doc
  • Update the version number on download page
  • Create a new section on download archive page
  • Add a link to the new API baseline on the download archive page (major releases only)
  • Create a new section in the New & Noteworthy

Update Babel

  • Make release available in Eclipse Babel for translation (major releases only)

Announce Release


  • Edit /mylyn/notification.xml in website CVS

Update Eclipse Info Center

Update Marketplace Listings

After the Release

Update Versions

  • Edit versions in org.eclipse.mylyn/org.eclipse.mylyn.releng/bin/

Update Repository URL

  • Edit URL in org.eclipse.mylyn-feature/feature.xml

Create Download Area

  • Create download directory in archive
mkdir ~/downloads/mylyn/archive/3.7.0/
setfacl -m user:hudsonBuild:rwx ~/downloads/mylyn/archive/3.7.0/
  • Update snapshot sites
cp -a ~/downloads/mylyn/snapshots/3.6 ~/downloads/mylyn/snapshots/3.7
  • Edit 3.6 ~/downloads/mylyn/snapshots/*/composite.index
  • Update snapshot sites
cd ~/downloads/mylyn/snapshots/
~/releng/bin/ -r
setfacl -R -m user:hudsonBuild:rwx ~/downloads/mylyn/snapshots/*
  • Update Incubator repository
mkdir ~/downloads/mylyn/incubator/archive/3.7.0
setfacl -m user:hudsonBuild:rwx ~/downloads/mylyn/incubator/archive/3.7.0
cp -a ~/downloads/mylyn/incubator/3.6 cp -a ~/downloads/mylyn/incubator/3.7
  • Edit ~/downloads/mylyn/incubator/3.7/composite.index
~/releng/bin/ -r
setfacl -R -m user:hudsonBuild:rwx ~/downloads/mylyn/incubator/3.*

Add Bugzilla Versions and Milestones

  • Add Bugzilla Version for the current release (major releases only)
  • Add Bugzilla Milestones for the next release

Update Project Plan

  • Update versions and queries in all plan.xml documents
  • Update release plans in portal

Back to the top