Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EPP/Obsolete/Galileo Packages/Release Actions"

(Moving the packages from build to download)
(After the release)
Line 53: Line 53:
  
 
== After the release ==
 
== After the release ==
 +
 +
* update <tt>EPP_DownloadDir/downloads/release/staging.xml</tt> and send a mail to Nathan.
 +
* copy <tt>EPP_DownloadDir/downloads/release/staging.xml</tt> to <tt>EPP_DownloadDir/downloads/release/release.xml</tt> after contacting Nathan.
 +
 +
=== Format of release.xml, staging.xml ===
 +
 +
Both files control the Drupal CMS and point to past/present/future releases of the EPP packages, e.g. <tt>galileo/RC2</tt> is the relative path to the RC2 packages of the Galileo release.
 +
 +
<pre>
 +
<packages>
 +
  <past>ganymede/R</past>
 +
  <past>ganymede/SR1</past>
 +
  <present>ganymede/SR2</present>
 +
  <future>galileo/RC1</future>
 +
  <future>galileo/RC2</future>
 +
</packages>
 +
</pre>

Revision as of 06:00, 7 June 2009

Directories used in the description

  • EPP_BuildDirectory = server build.eclipse.org, directory /shared/technology/epp
  • EPP_DownloadDirectory = /home/data/httpd/download.eclipse.org/technology/epp

Before the release

  • Check that all package maintainers signed off on the wiki page: EPP/Galileo_Packages/Sign_Off
  • Copy the p2 repository from build to download; usually it is created on build.eclipse.org in EPP_BuildDirectory/epp_repo/galileo/epp.build/buildresult/org.eclipse.epp.allpackages.feature_1.2.0-eclipse.feature/site.p2/ and needs to be copied to a milestone subdirectory below EPP_DownloadDirectory/packages/galileo/
  • Update compositeArtifacts.jar and compositeContent.jar

Structure of the composite p2 repositories in EPP_DownloadDirectory/packages/galileo:

compositeArtifacts.jar        -> points to multiple artifact.jar's
compositeContent.jar          -> points to multiple content.jar's
milestones.RC1/
               artifacts.jar
               content.jar
               features/...
               plugins/...
milestones.RC2/
               artifacts.jar
               content.jar
               features/...
               plugins/...
...

Moving the packages from build to download

The packages need to be copied from the build server to the download area, they must be renamed, MD5 and SHA1 checksums must be generated, etc. To make this step easier there is a little script that does all the necessary steps. The script is called releaseRename.sh and is available in the EPP CVS: releaseRename.sh

The script is usually checked out on build.eclipse.org in EPP_BuildDirectory/epp_build/35/org.eclipse.epp/releng/org.eclipse.epp.config/tools/releaseRename.sh and takes two parameters: The BuildID and the kind of the release, e.g. M6, RC1, R, SR1, etc.

sh releaseRename.sh 20090605-1619 RC3

Note that there are some preset values in the script which need to be modified from time to time, or to be more precise from release train to release train.

# the target directory
RELEASEDIRECTORY=/home/data/httpd/download.eclipse.org/technology/epp/downloads/release
# the directory where the packages are being build and available in a subdirectory for every build id, e.g. 20090605-1619/
TESTDIRECTORY=/shared/technology/epp/epp_build/35/download
# name of the release train
RELEASETRAIN=galileo
...

The script creates the necessary directories, copies the logfiles, the XML configuration files, copies and renames the package files, and calculates the checksum files for each package.

After the release

  • update EPP_DownloadDir/downloads/release/staging.xml and send a mail to Nathan.
  • copy EPP_DownloadDir/downloads/release/staging.xml to EPP_DownloadDir/downloads/release/release.xml after contacting Nathan.

Format of release.xml, staging.xml

Both files control the Drupal CMS and point to past/present/future releases of the EPP packages, e.g. galileo/RC2 is the relative path to the RC2 packages of the Galileo release.

<packages>
  <past>ganymede/R</past>
  <past>ganymede/SR1</past>
  <present>ganymede/SR2</present>
  <future>galileo/RC1</future>
  <future>galileo/RC2</future>
</packages>

Back to the top