Dear Wiki user,

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

The "Releasing jclouds" page has been changed by AndrewBayer:
https://wiki.apache.org/jclouds/Releasing%20jclouds?action=diff&rev1=25&rev2=26

- = How to release (and test RCs) for Apache jclouds (incubating) =
+ = How to release (and test RCs) for Apache jclouds =
  
  == Checklist Summary of Steps Involved in Releasing ==
  
@@ -15, +15 @@

   8. Copy the source release tarballs, signatures and hashes to a new release 
candidate directory.
   9. Email the dev list, opening the 72 hour vote window on the RC.
   10. If the vote fails or there are issues that need to be addressed, rinse 
and repeat.
-  11. Once the PPMC vote passes, email the 
[[mailto:[email protected]|[email protected]]] list (cc'ing 
[[mailto:[email protected]|[email protected]]]) to start the 72 
hour vote window for the IPMC.
-  12. If the vote fails, rinse, repeat - in most cases, a new PPMC vote will 
need to be held before a new IPMC vote.
-  13. Once the IPMC vote passes, release the Nexus staging repo.
+  11. Once the PMC vote passes, release the Nexus staging repo.
-  14. Send a RESULT email in reply to the IPMC vote thread with the result.
+  12. Send a RESULT email in reply to the PMC vote thread with the result.
-  15. Copy the RC tarballs etc to the release area.
+  13. Copy the RC tarballs etc to the release area.
-  16. Push non-RC tags to the remote repos.
+  14. Push non-RC tags to the remote repos.
-  17. Update the version on the branch in the repos to the next SNAPSHOT and 
push.
+  15. Update the version on the branch in the repos to the next SNAPSHOT and 
push.
-  18. Update the jclouds.incubator.apache.org site with the release notes and 
noting the new version.
+  16. Update the jclouds.apache.org site with the release notes and noting the 
new version.
-  19. Publish the API docs for the release.
+  17. Publish the API docs for the release.
-  20. Mark the release as, well, released in JIRA and create the next release 
in JIRA, if it's not already there.
+  18. Mark the release as, well, released in JIRA and create the next release 
in JIRA, if it's not already there.
-  21. Send out an ANNOUNCE email to the appropriate lists (see below) to 
announce the release!
+  19. Send out an ANNOUNCE email to the appropriate lists (see below) to 
announce the release!
  
  
  == Prerequisites for doing a release ==
@@ -51, +49 @@

    * But remember that this is not particularly secure, so you probably should 
just suck it up and enter your passphrase when you kick off the build, though 
you can leave gpg.useagent set to true to avoid having to re-enter it for each 
repo.
  
  === Mailing Lists ===
- You will need to be subscribed to all mailing lists to which announcements 
need to be sent. [[mailto:[email protected]|[email protected]]] 
and [[mailto:[email protected]|[email protected]]] are 
probably already taken care of, but you may still need to take care of 
[[mailto:[email protected]|[email protected]]] and 
[[mailto:[email protected]|[email protected]]].
+ You will need to be subscribed to all mailing lists to which announcements 
need to be sent. [[mailto:[email protected]|[email protected]]] and 
[[mailto:[email protected]|[email protected]]] are probably already taken 
care of, but you may still need to take care of 
[[mailto:[email protected]|[email protected]]].
  
  == Cutting an RC ==
  
@@ -71, +69 @@

    * Run {{{mvn --version}}} and verify that you are using a Java 6 JDK for 
1.6.x releases
    * Prepare the release. e.g.:
  {{{
- mvn release:clean release:prepare -DreleaseVersion=1.6.1-incubating 
-Dtag=jclouds-1.6.1-incubating-rcX -DdevelopmentVersion=1.6.2-SNAPSHOT 
-DpushChanges=false
+ mvn release:clean release:prepare -DreleaseVersion=1.6.3 
-Dtag=jclouds-1.6.3-rcX -DdevelopmentVersion=1.6.4-SNAPSHOT -DpushChanges=false
  }}}
-   * Remember to replace "jclouds-1.6.1-incubating-rcX" and the versions with 
the correct tag/version for the repo/release/RC you're building.
+   * Remember to replace "jclouds-1.6.3-rcX" and the versions with the correct 
tag/version for the repo/release/RC you're building.
    * Some repositories (most notably labs and karaf) may have "missing 
dependency" build problems with the new version when you run release:prepare. 
If that happens, run {{{mvn clean install -DskipTests}}} with the POMs set to 
the release version, and then try running the prepare command again.
    * Note that this will explicitly and specifically *not* push the tag or 
branch to the remote incubator-(whatever).git. That is by design, to make it 
easier to recover from errors and to speed up the release build. You will need 
to push the tag and branch upon completion of the build.
    * Perform the release build. e.g.,: 
  {{{
- mvn clean release:perform -DconnectionUrl=scm:git:file://`pwd`/.git 
-Dtag=jclouds-1.6.1-incubating-rcX -Darguments="-DskipTests"
+ mvn clean release:perform -DconnectionUrl=scm:git:file://`pwd`/.git 
-Dtag=jclouds-1.6.3-rcX -Darguments="-DskipTests"
  }}}
    * We deliberately do not run the tests in the release build, since we 
already just ran them for the prepare build, and that just seems redundant.
-   * JARs will be deployed to repository.apache.org, in a new staging repo (if 
this is the first of the repos you're building) or the existing one used for 
the previous repos (if you've already built incubating-jclouds.git). Remember 
that you need to have an account on repository.apache.org and your GPG key set 
up (as described above) or the build will fail.
+   * JARs will be deployed to repository.apache.org, in a new staging repo (if 
this is the first of the repos you're building) or the existing one used for 
the previous repos (if you've already built jclouds.git). Remember that you 
need to have an account on repository.apache.org and your GPG key set up (as 
described above) or the build will fail.
    * For those repos where we added a commit to update {{{<jclouds.version>}}} 
and similar properties, bump the properties to the next development SNAPSHOT 
version and commit the change
    * Push the tag and the release commit to the remote repos
-    * We don't push the second commit the release plugin applies, changing the 
version to 1.6.2-SNAPSHOT, or the commits that change {{{<jclouds.version>}}} 
and similar properties, yet. If we need to spin a second release candidate, 
we'll do by creating a new 1.6.2 (or whatever) branch from the last commit 
before the version changed to the release version, and re-run subsequent RCs 
there.
+    * We don't push the second commit the release plugin applies, changing the 
version to 1.6.4-SNAPSHOT, or the commits that change {{{<jclouds.version>}}} 
and similar properties, yet. If we need to spin a second release candidate, 
we'll do by creating a new 1.6.4 (or whatever) branch from the last commit 
before the version changed to the release version, and re-run subsequent RCs 
there.
-   * Go to [[https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git]] 
(or equivalent) and find the link to the tag you just pushed - copy that aside, 
since you'll need it for the vote email. 
+   * Go to [[https://git-wip-us.apache.org/repos/asf?p=jclouds.git]] (or 
equivalent) and find the link to the tag you just pushed - copy that aside, 
since you'll need it for the vote email. 
   * Once you've finished building all of the repos, go to 
[[https://repository.apache.org]], log in, and go to Staging Repositories. Find 
the open org.apache.jclouds repository, which your builds have been uploading 
to. Select it and close it. That'll take a little while. Then copy the URL for 
the repo - you'll need that shortly.
  
  === Starting the Vote ===
-  * Checkout https://dist.apache.org/repos/dist/dev/incubator/jclouds. Create 
a new directory for the RC, i.e., 1.6.1-incubating-rc0. 
+  * Checkout https://dist.apache.org/repos/dist/dev/jclouds. Create a new 
directory for the RC, i.e., 1.6.3-rc0. 
   * Go to the candidate directory and run the following, substituting the 
correct version and the now-closed staging repository accordingly. This will 
copy down all the source tarballs, their signatures and their checksums. 
  {{{
- /home/abayer/bin/fetch_jclouds_rc.sh 1.6.1-incubating 
https://repository.apache.org/content/repositories/orgapachejclouds-016
+ /home/abayer/bin/fetch_jclouds_rc.sh 1.6.3 
https://repository.apache.org/content/repositories/orgapachejclouds-016
  }}}
   * It's not a bad idea to try taking each of the tarballs, blowing them up 
and then building, with a standard {{{mvn clean install}}}. Remember that RAT 
checks are done as part of the Maven build, so you don't need to run those 
separately.
-  * svn add the new directory, as well as svn rm'ing any old RCs in the same 
line (i.e., any older 1.6.x RC). svn ci, and use that link under 
https://dist.apache.org/repos/dist/dev/incubator/jclouds/ for the release vote 
email.
+  * svn add the new directory, as well as svn rm'ing any old RCs in the same 
line (i.e., any older 1.6.x RC). svn ci, and use that link under 
https://dist.apache.org/repos/dist/dev/jclouds/ for the release vote email.
   * Get the JIRA release notes for the release by going to 
[[https://issues.apache.org/jira/secure/ConfigureReleaseNote.jspa?projectId=12314430]]
 and choosing HTML and the version you're releasing. Save that link for 
inclusion in the vote/discuss emails.
-  * Send two emails to [email protected], a [VOTE] thread and 
a [DISCUSS] thread. Set an end time for the vote, generally 72 hours from when 
you're sending it (but it's generally considerate to round up, and not a bad 
idea to give an extra day if the release vote window goes over the weekend). 
Example templates for the emails are below. Replace links, versions, RC 
numbers, release note link, etc.
+  * Send two emails to [email protected], a [VOTE] thread and a 
[DISCUSS] thread. Set an end time for the vote, generally 72 hours from when 
you're sending it (but it's generally considerate to round up, and not a bad 
idea to give an extra day if the release vote window goes over the weekend). 
Example templates for the emails are below. Replace links, versions, RC 
numbers, release note link, etc.
    * [VOTE] email:
  {{{
- Subject: [VOTE] Release Apache jclouds-1.6.1-incubating RC3
+ Subject: [VOTE] Release Apache jclouds-1.6.3 RC3
  Body:
  Hello,
  
- This is the third release candidate for Apache jclouds 1.6.1-incubating, the 
first jclouds release at Apache. 
+ This is the third release candidate for Apache jclouds 1.6.3. 
  
- This is a PPMC vote - if this passes, we'll move it onward to an IPMC vote. 
Please use the separate [DISCUSS] thread for anything but votes.
+ Please use the separate [DISCUSS] thread for anything but votes.
  
  It fixes the following issues:
  
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12324412&styleName=Html&projectId=12314430
@@ -116, +114 @@

  Note that we are voting upon the source (tag), binaries are provided for 
convenience.
  
  Source and binary files:
- 
https://dist.apache.org/repos/dist/dev/incubator/jclouds/jclouds-1.6.1-incubating-candidate-3
+ https://dist.apache.org/repos/dist/dev/jclouds/jclouds-1.6.3-candidate-3
  
  Maven staging repo:
  https://repository.apache.org/content/repositories/orgapachejclouds-016
  
  The tags to be voted upon:
- - jclouds - 
https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git;a=tag;h=8ed5571b0ecf7d79c64bc16642264684882f0311
+ - jclouds - 
https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=tag;h=8ed5571b0ecf7d79c64bc16642264684882f0311
- - jclouds-labs - 
https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-labs.git;a=tag;h=54b084e474e0c22b539ed7cce0b0ebbc82b310cb
+ - jclouds-labs - 
https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;a=tag;h=54b084e474e0c22b539ed7cce0b0ebbc82b310cb
- - jclouds-chef - 
https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-chef.git;a=tag;h=4adced11f4e74513c06023d6b3cde0642fd4017f
+ - jclouds-chef - 
https://git-wip-us.apache.org/repos/asf?p=jclouds-chef.git;a=tag;h=4adced11f4e74513c06023d6b3cde0642fd4017f
- - jclouds-karaf - 
https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-karaf.git;a=tag;h=9e1f0d14285c8edeb35499f313aa7dbfab4a86f6
+ - jclouds-karaf - 
https://git-wip-us.apache.org/repos/asf?p=jclouds-karaf.git;a=tag;h=9e1f0d14285c8edeb35499f313aa7dbfab4a86f6
- - jclouds-cli - 
https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-cli.git;a=tag;h=2e3575f56de2bf67469782d94d72ce8e621ddda5
+ - jclouds-cli - 
https://git-wip-us.apache.org/repos/asf?p=jclouds-cli.git;a=tag;h=2e3575f56de2bf67469782d94d72ce8e621ddda5
  
  jclouds KEYS file containing PGP keys we use to sign the release:
- http://www.apache.org/dist/incubator/jclouds/KEYS
+ http://www.apache.org/dist/jclouds/KEYS
  
  [ ] +1
  [ ] 0
@@ -137, +135 @@

  }}}
    * [DISCUSS] email
  {{{
- Subject: [DISCUSS] Release Apache jclouds-1.6.1-incubating RC3
+ Subject: [DISCUSS] Release Apache jclouds-1.6.3 RC3
  Body:
- This thread is for discussion of the third release candidate for Apache 
jclouds-1.6.1-incubating. Please use this thread for discussion of issues 
uncovered in the RC, questions you may have about the RC, etc. Thank you.
+ This thread is for discussion of the third release candidate for Apache 
jclouds-1.6.3. Please use this thread for discussion of issues uncovered in the 
RC, questions you may have about the RC, etc. Thank you.
  }}}
  
- === Finishing the PPMC Vote ===
+ === Finishing the PMC Vote ===
-  * If, after the voting window is closed, there are at least three binding 
+1s (at least three of which should be from mentors, ideally), and no binding 
-1s, the PPMC has signed off on the release and it's ready to go to the IPMC. 
+  * If, after the voting window is closed, there are at least three binding 
+1s and no binding -1s, the PMC has signed off on the release and it can, well, 
be released.
-  * Reply to the [VOTE] thread on [email protected] announcing 
the closure of the vote, regardless of its outcome, and give the vote counts. 
Be sure to note the number of mentor +1s. Modify the template as appropriate.
+  * Reply to the [VOTE] thread on [email protected] announcing the 
closure of the vote, regardless of its outcome, and give the vote counts. 
Modify the template as appropriate.
  {{{
- Subject: [RESULT][VOTE] Release Apache jclouds-1.6.1-incubating RC3
+ Subject: [RESULT][VOTE] Release Apache jclouds-1.6.3 RC3
  Body:
- The vote is now closed, and with X binding +1s, Y from mentors, we're ready 
to go to the IPMC/this vote has not passed.
+ The vote is now closed, and with X binding +1s, we're ready to release/this 
vote has not passed.
- }}}
-  * If the vote was successful, write similar emails to the [VOTE] and 
[DISCUSS] emails above, but remember to change the line in the [VOTE] email 
that starts with "This is a PPMC vote..." to something like "This is the IPMC 
vote. The PPMC vote passed, with three +1s from mentors (David Nalley, Olivier 
Lamy, and Suresh Marru)." - be sure to list the mentors who have +1'd the 
release here. Also, don't forget to reset the vote window time - this is a new 
vote, with a new 72 hour window!
-  * Send these emails to [email protected], cc'ing 
[email protected] for reference purposes.
-  * Wait for the voting window to end! Or if sufficient issues are uncovered 
before the end of the voting window, you can cancel the vote (by replying to 
the [VOTE] thread with an altered subject (i.e., "[CANCEL] [VOTE] ...") and an 
explanation of why the vote is being cancelled in the body.
-   * Note that just because IPMC members find issues does not mean that the 
release candidate must be replaced with a new one. Wait to see whether they 
vote -1 before abandoning the RC. It's distinctly possible that issues raised 
by IPMC members may not block the current RC, but will need to be addressed for 
subsequent releases.
- 
- === Finishing the IPMC Vote ===
-  * If, after the voting window is closed, there are at least three binding 
+1s from IPMC members (mentor +1s from the PPMC vote count as IPMC votes!) and 
no binding -1s from IPMC members, the vote has passed and we can release.
-  * First, regardless of whether the vote has passed, reply to the [VOTE] 
thread announcing the closure of the vote.
-  * Also regardless of whether the vote has passed, send an email to 
[email protected] and [email protected] with the 
subject "[RESULT] [VOTE] ...", and give the vote results in that email.
- {{{
- Subject: [RESULT][VOTE] Release Apache jclouds-1.6.1-incubating RC3
- Body:
- The vote is now closed, and with X +1s, Y of them IPMC, Apache jclouds
- 1.6.1-incubating RC3 will be released.
- 
- Here are the votes:
- 
- PPMC binding:
- - Andrew Bayer
- ...
- 
- IPMC binding:
- - David Nalley
- ...
  }}}
   * Assuming the vote has passed, it's time to release!
  
  === Actually Releasing ===
-  * First, in each of the repos, create and push a new tag, like 
jclouds-1.6.1-incubating, pointing at the same commit as the RC tag we included 
in the vote emails. Push those tags to the remote.
+  * First, in each of the repos, create and push a new tag, like 
jclouds-1.6.3, pointing at the same commit as the RC tag we included in the 
vote emails. Push those tags to the remote.
   * Push the second commit made by the release plugin (which updates the POM 
versions to the next SNAPSHOT), and commits made to update 
{{{<jclouds.version>}}} and similar properties
    * For jclouds-labs-openstack, also run {{mvn versions:update-parent 
-DparentVersion="[1.6.4-SNAPSHOT]"}} or whatever the new version is, commit, 
push.
-  * Checkout https://dist.apache.org/repos/dist/release/incubator/jclouds. 
Create a new directory for the release, i.e., 1.6.1-incubating. Copy the 
release artifacts from the RC into that directory. Point the stable symlink to 
that new directory. svn add the new directory and the stable symlink, as well 
as svn rm'ing any old releases in the same line (i.e., any older 1.6.x 
releases) - these are archived on archive.apache.org, but shouldn't be in the 
primary dist area. svn ci - your added files should show up on 
[[http://www.apache.org/dist/incubator/jclouds]] shortly, but will take a while 
to propagate to the various mirrors.
+  * Checkout https://dist.apache.org/repos/dist/release/jclouds. Create a new 
directory for the release, i.e., 1.6.3. Copy the release artifacts from the RC 
into that directory. Point the stable symlink to that new directory. svn add 
the new directory and the stable symlink, as well as svn rm'ing any old 
releases in the same line (i.e., any older 1.6.x releases) - these are archived 
on archive.apache.org, but shouldn't be in the primary dist area. svn ci - your 
added files should show up on [[http://www.apache.org/dist/jclouds]] shortly, 
but will take a while to propagate to the various mirrors.
   * While waiting, go to [[https://repository.apache.org]], log in, and go to 
Staging Repositories. Select the staging repo for the RC, and click Release - 
this will move the artifacts into the releases repo, and from there they'll be 
synced to Maven Central as well.
   * If you've got admin access to JIRA, mark the version you just released as, 
well, released, and if the next version in the train doesn't already exist, 
create it. If you're not in the JIRA admins for jclouds, drop an email to the 
dev list asking for someone to do this.
-  * Once the release bits have shown up on the mirrors, send the following 
email, updating the content accordingly, to [email protected], 
[email protected], [email protected] and 
[email protected]:
+  * Once the release bits have shown up on the mirrors, send the following 
email, updating the content accordingly, to [email protected], 
[email protected] and [email protected]:
  {{{
- Subject: [ANNOUNCE] Apache jclouds 1.6.1-incubating released
+ Subject: [ANNOUNCE] Apache jclouds 1.6.3 released
  Body:
- The Apache jclouds (incubating) team is pleased to announce the release of 
jclouds 1.6.1-incubating.
+ The Apache jclouds (incubating) team is pleased to announce the release of 
jclouds 1.6.3.
  
- This is the first Apache release of jclouds. Apache jclouds is a cloud 
+ This is the (Xth) Apache release of jclouds. Apache jclouds is a cloud 
  agnostic library that enables developers to access a variety of supported
  cloud providers using one API.
  
  The source archives for the release are available here:
- http://www.apache.org/dyn/closer.cgi/incubator/jclouds
+ http://www.apache.org/dyn/closer.cgi/jclouds
  
  The Maven artifacts for the release are available in Maven Central, under the 
new org.apache.jclouds groupId.
  
@@ -204, +177 @@

  
  We welcome your help and feedback. For more information on how to
  report problems, and to get involved, visit the project website at
- http://jclouds.incubator.apache.org/
+ http://jclouds.apache.org/
  
  The Apache jclouds Team
  }}}

Reply via email to