You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

 
Table of Contents
The root page null could not be found in space Apache Tuscany Docs 2.x.
Unable to render {include} The included page could not be found.

Getting Ready

Setting up ssh

Create signing key

Get hold of RAT

Useful Resources

Incubator release best practice
Incubator Policy
ASF Developer Guide
ASF Release FAQ
ASF Release Licensing FAQ
ASF Release Signing
ASF Comitters Guide
Henk's ASF Key Guide
Surfnet Key Server
MIT Key Server
Raymond's release script

Release Reviewer Check List

(tick) Check that all RELEASE-NOTES and READMEs etc have the right release number and date
(tick) Check that the RAT output doesn't report missing or non-ASF licenses other than for files that can't have ASF licenses.
(tick) Check that all files (that need it) have the ASF copyright and it's the right date
(tick) Check that the LICENSE and NOTICE files appear at the top level of source distro
(tick) Check that the LICENSE and NOTICE files appear at the top level of binary distro
(tick) Check that the LICENSE and NOTICE files appear at the top level of all maven modules that will be distributed (these are the tricky ones as they get copied when people add new modules)
(tick) Check that LICENSE files have a copy of all third party licenses for the files in directories below them (jar name and version to which license relates must be clearly marked. Use the list from the distribution lib dir)
(tick) Check that NOTICE files have a copy of all of the copyright statements for the files in directories below them. You have to go through all dependency jars/files that have been copied in and check
(tick) Check that the signatures are in the right format
(tick) Check that the signing key is in the KEYS file and in an external repo
(tick) Check that there are no SNAPSHOT dependencies still in the distribution
(tick) Check that there is no junk left in the distributions (.log, .tmp, .bak etc)
(tick) Check that the distribution match the tag as far as possible. (Our NOTICE files have the module name dropped in automatically so don't match and we don't ship svg files)
(tick) Check that the manifests in the jars that we produce have enough information (name of product and version. Scripts below should do this).
(tick) Check that the project depends on the smallest number of versions of each third party jar
(tick) Check that all samples compile and run from the command line and where appropriate operate correctly in Tomcat/WebSphere/Jetty/Geronimo
(tick) Check that all demos compile and run from the command line and where appropriate operate correctly in Tomcat/WebSphere/Jetty/Geronimo
(tick) Check to make sure Javadocs are generated for APIs and SPIs.

Release Manager Release Process

This page borrows many of the commands from Raymond's release script but with a bit more explanation and a few extra useful commands. The commands here were taken from when release 1.1 RC3a was under preparation. Note that this document has been updated from experience gained with the SDO 1.1.1 release, which was the first release made after exiting incubation; as such, whilst the release names used in this document refer to an "incubating" version, the svn repository and the maven repository have been updated to the non incubating versions. It's also fair to say that it's unlikely that you will want to run all of these commands in sequence as you generally end up repeating sections as release preparation progresses.

Call for releases

(Note that the maven tuscany plugin will most likely need to be released in parallel with the Tuscany release)

At some point someone in the community will call for a release based on the features and fixes that have been under development in the trunk. Typically the first stage in the release process is to decide on who is going to be the release manager, i.e. who is going to ensure that all the steps are taken to ensure a good release. This will typical involve someone volunteering and a vote on the dev list. The next thing is the create a branch where the code can be stabilized and testing can start on the release artifacts. It's useful to try and ensure that the code is complete as possible and that all the samples run before the branch is created. This removes the need for a lot of double fixing between the branch and the trunk.

Create the branch

svn copy https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/ https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/branches/sca-java-2.<x>-M<y>  -m "Branch for 2.<x> Milestone <y>"

h4. Fix up the branch work

First checkout the branch so that you can work on it. These commands assume that a local directory called "branches" is present.

cd branches
svn co https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/branches/sca-java-2.0-M5 ./2.0-M5


Remove all the files that are not going to be part of the release, test all the samples and check all of the LICENSE and NOTICE files.

Check dependencies are as you would expect them to be. In particular check that we aren't depending on many different versions of third part jars. If we are this has the side effect of messing up the generated build files. If module A depends on x.jar v1.2 and module B depends on x.jar v1.3 then when a build file that is generated for a sample that only depends on module A the stated x.jar dependency will be v1.2. Of course the distribution build will make sure that only v1.3 is actually shipped and so the ant build will fail.  (TODO - need better automation)
cd sca
mvn -o -Pdependencies -Dmaven.test.skip=true
find . -name dependency.txt -exec cat '{}' >> deptotal.txt \;

or

cd sca
mvn dependency:tree

Use you favorite spreadsheet tool to open deptotal.txt and order on the first column to see across the project what dependencies we have on what libraries/versions.

Once the branch is at the stage where a release candidate can be created for testing prepare to make a tag.

"Tip"

When making changes to a branch or tag that are also relevant to the trunk, it's much easier to apply the changes to the trunk at the time, rather than wait and risk losing the changes. Svn provides a simple one line way to do this with the "svn merge" command. In the root directory of a checked out version of the trunk, if you run a command like the following ...

svn merge -r 674473:674474 https://svn.apache.org/repos/asf/tuscany/tags/java/sdo/1.1.1-RC2a/ .

then that will apply the same edits as were made in the 674474 commit in the tag; merging them into your checked out version of the current trunk. The earlier you do this, the less likely that svn will present you with conflicts to resolve.

Create Tag 1.1-RC3a

These commands assume that a local directory called "tags" is present.

cd tags
svn co https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/branches/sca-java-2.0-M5 2.0-M5-RC2
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels