Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jmeter Wiki" for change 
notification.

The "ReleaseCreation" page has been changed by Milamber:
http://wiki.apache.org/jmeter/ReleaseCreation?action=diff&rev1=44&rev2=45

Comment:
Update to prepare the new process release with minimal changes between trunk 
and tag release (just -SNAPSHOT)

   * do not update the version in build.xml yet; trunk should remain a SNAPSHOT
   * check out SVN trunk into a clean workspace, for example (assuming current 
trunk is 2.7-SNAPSHOT in preparation for releasing 2.7):
  {{{
- svn co https://svn.apache.org/repos/asf/jmeter/trunk jmeter_2.7_RC1
+ svn co https://svn.apache.org/repos/asf/jmeter/trunk jmeter_v2_7_RC2
  }}}
   * Move to new workspace:
  {{{
- cd jmeter_2.7_RC1
+ cd jmeter_v2_7_RC2
  }}}
-  * update the versions in the new workspace: JMeterVersion.java (version and 
year), build.xml (version) and NOTICE (year)
+  * update the version / year in the new workspace: JMeterVersion.java 
(version and year) and NOTICE (year)
-   * ./src/core/org/apache/jmeter/util/JMeterVersion.java
+   * ./src/core/org/apache/jmeter/util/JMeterVersion.java:
      * section: ''private static final String VERSION = "2.7";''
      * section: ''private static final String COPYRIGHT = "Copyright (c) 
1998-2012 The Apache Software Foundation";''
-   * ./build.xml:
-     * section: ''<property name="jmeter.version" value="2.7"/>''
    * ./NOTICE:
      * section: ''Copyright 1998-2012 The Apache Software Foundation''
   * update xdocs/download_jmeter.xml to the new version
@@ -42, +40 @@

  {{{
  ant clean-docs
  ant docs-site
+ ant docs-api -Djmeter.version=2.7
  }}}
+  * commit docs changes
+ {{{
+ svn commit -m "Prepare next release 2.7: update docs tree and overview"
+ }}}
+  * update '''now''' the version for build.xml (remove -SNAPSHOT)
+   * ./build.xml:
+     * section: ''<property name="jmeter.version" value="2.7"/>''
-  * create the new RC tag, e.g. v2_7_RC1 from the workspace
+  * create the new RC tag, e.g. v2_7_RC2 from the workspace
-   * (Problem to fix: update overview.html is make by the ant distribution 
task)
  {{{
- svn copy . https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC1
+ svn copy . https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC2
  }}}
    * this will create the tag from the contents of the workspace. Only the 
updated files will be shown in the commit message; most files will be shown as 
being copied from trunk.
     * N.B. Tags must be immutable, i.e. must not be changed once created. A 
tag can be deleted if it is no longer needed, but must not be recreated.
@@ -58, +63 @@

  {{{
  ant -Djmeter.version=2.7 -Duser.name=usern...@apache.org distribution
  }}}
-  * test the new binaries
+  * test the new binaries (move/extract binaries in a temporary directory 
outside the workspace)
     * GUI and non-GUI using host with graphic capability
     * non-GUI only using host with no graphic capability
     * ideally test on minimum supported Java and latest Java - especially for 
GUI
  
-  ''' THIS NEEDS FIXING; no need to fetch the tag again, as we already have a 
clean workspace '''
- 
  = Generate Release =
+  * If tests are ok, from the workspace jmeter_v2_7_RC2
+   * (no need to fetch the tag again, as we already have a clean workspace)
-  * extract files from SVN using the RC tag into a new directory tree
- {{{
- svn co https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC1 jmeter_v2_7_RC1
- }}}
-  * Move to new directory:
- {{{
- cd jmeter_v2_7_RC1/
- }}}
-  * download jars needed to build: "ant download_jars"
- {{{
- ant download_jars
- }}}
-  * create distribution files:
-   * Distribution ant task: ant distribution -lib=<libextra> 
-Djmeter.version=m.n -Duser.name=user-AT-apache.org 
- {{{
- ant distribution -Djmeter.version=2.7 -Duser.name=usern...@apache.org
- }}}
-   * sign distribution files and maven files via ant tasks:
+  * sign distribution files and maven files via ant tasks:
  {{{
  ant _dist_maven -Djmeter.version=2.7
  ant sign_dist -Dgpg.keyname=<YOUR_KEY_ID> -Dgpg.secretKeyring=<path to 
secring.gpg i.e. ~/.gnupg/secring.gpg>
  }}}
-   * Upload to Maven repository:
+  * Upload to Maven repository:
  {{{
  ant maven_upload -Djmeter.version=2.7 -DrepoType=releases
  }}}
@@ -100, +88 @@

  
   * Generate [[http://incubator.apache.org/rat/|RAT]] report (example on Linux 
with Java)
  {{{
+ cd dist/
- java -jar $RAT_HOME/apache-rat-0.8.jar ./apache-jmeter-2.7.tgz > 
rat-report-jmeter-2.7RC1.txt
+ java -jar $RAT_HOME/apache-rat-0.8.jar ./apache-jmeter-2.7.tgz > 
rat-report-jmeter-2.7RC2.txt
- unix2dos rat-report-jmeter-2.7RC1.txt
+ unix2dos rat-report-jmeter-2.7RC2.txt
  }}}
  
  = Checks to do before send vote email =
   * to do: add some checks (zip/tgz binary files vs src files, etc.)
+  * review RAT report
  
  = Vote on release =
  
   * Login to people.apache.org in SSH 
   * Create temporary location to receive dist files
  {{{
- mkdir -p ~/JMETER_2_7_RC1/dist/
+ mkdir -p ~/jmeter_v2_7_RC2/dist/
  }}}
  
-  * '''From your computer''', upload dist files and RAT report to the 
temporary location (e.g. personal dir: ~/JMETER_2_7_RC1/dist/) in 
people.apache.org
+  * '''From your computer''', upload dist files and RAT report to the 
temporary location (e.g. personal dir: ~/jmeter_v2_7_RC2/dist/) in 
people.apache.org
  
   * Return to people.apache.org
   * Preparation RC publishing
  {{{
- mkdir -p ~/public_html/jmeter-2.7RC1/dist/
+ mkdir -p ~/public_html/jmeter-2.7RC2/dist/
  }}}
   * copy archives, sigs and hashes to dist
  {{{
- cp ~/JMETER_2_7_RC1/dist/* ~/public_html/jmeter-2.7RC1/dist/
+ cp ~/jmeter_v2_7_RC2/dist/* ~/public_html/jmeter-2.7RC2/dist/
  }}}
  
   * check hashes (before / after uploads)
  
    * Install the site docs:
  {{{
- cd ~/public_html/jmeter-2.7RC1/
+ cd ~/public_html/jmeter-2.7RC2/
- svn co https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC1/docs docs
+ svn co https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC2/docs docs
  }}}
    * Extract Javadocs: `unzip -x jmeter-m.n.o.zip '*/docs/api/*'` and move to 
docs/api
       * Example:
  {{{
  cd $HOME
- cp  ~/public_html/jmeter-2.7RC1/dist/apache-jmeter-2.7.tgz $HOME
+ cp  ~/public_html/jmeter-2.7RC2/dist/apache-jmeter-2.7.tgz $HOME
  tar xfz apache-jmeter-2.7.tgz
  cd apache-jmeter-2.7/docs/
- mv api ~/public_html/jmeter-2.7RC1/docs/api
+ mv api ~/public_html/jmeter-2.7RC2/docs/api
  cd $HOME
  rm -r $HOME/apache-jmeter-2.7
  }}}
@@ -153, +143 @@

   * send round [VOTE] [RESULT] e-mail to same mailing lists
   * Copy the RC tag to the release tag
  {{{
- svn copy https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC1 
https://svn.apache.org/repos/asf/jmeter/tags/v2_7
+ svn copy https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC2 
https://svn.apache.org/repos/asf/jmeter/tags/v2_7
  }}}
  
  = Move RC dist files to release =
   * Connect to people.apache.org in SSH
   * Go to RC dist repository (e.g. personal dir)
  {{{
- cd ~/public_html/jmeter-2.7RC1/dist
+ cd ~/public_html/jmeter-2.7RC2/dist
  }}}
   * Make sure that file group is set to jmeter (chgrp jmeter apache-jmeter*)
  {{{
@@ -220, +210 @@

  {{{
  cd /www/jmeter.apache.org/
  rm -r /www/jmeter.apache.org/api
- cd ~/public_html/jmeter-2.7RC1/docs
+ cd ~/public_html/jmeter-2.7RC2/docs
  cp -R api /www/jmeter.apache.org
  chmod -R g+w /www/jmeter.apache.org/api
  }}}

Reply via email to