Added post-release scripts and vote/release email templates

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/53dadc49
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/53dadc49
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/53dadc49

Branch: refs/heads/build/wicket-6.21.0
Commit: 53dadc49a8105f7c952030001f5137ace973558a
Parents: f939100
Author: Martijn Dashorst <[email protected]>
Authored: Thu Oct 29 23:51:51 2015 +0100
Committer: Martijn Dashorst <[email protected]>
Committed: Thu Oct 29 23:51:51 2015 +0100

----------------------------------------------------------------------
 promote-6.21.0.sh    |  42 +++++++++++++++++
 release-announce.txt | 112 ++++++++++++++++++++++++++++++++++++++++++++++
 release-vote.txt     |  99 ++++++++++++++++++++++++++++++++++++++++
 release.txt          |  46 +++++++++++++++++++
 revert-6.21.0.sh     |  31 +++++++++++++
 5 files changed, 330 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/53dadc49/promote-6.21.0.sh
----------------------------------------------------------------------
diff --git a/promote-6.21.0.sh b/promote-6.21.0.sh
new file mode 100755
index 0000000..e4f85ae
--- /dev/null
+++ b/promote-6.21.0.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+echo -n "Promoting release 6.21.0
+
+Actions about to be performed:
+------------------------------
+
+$(cat $0 | tail -n +14)
+
+------------------------------------------
+Press enter to continue or CTRL-C to abort"
+
+read
+
+# push the build branch to ASF git repo
+
+git push origin build/wicket-6.21.0:refs/heads/build/wicket-6.21.0
+
+# push the release tag to ASF git repo
+
+git push origin wicket-6.21.0
+
+# promote the source distribution by moving it from the staging area to the 
release area
+
+svn mv https://dist.apache.org/repos/dist/dev/wicket/6.21.0 
https://dist.apache.org/repos/dist/release/wicket -m "Upload release to the 
mirrors"
+
+mvn org.sonatype.plugins:nexus-staging-maven-plugin:LATEST:rc-release 
-DstagingRepositoryId=orgapachewicket-1054 
-DnexusUrl=https://repository.apache.org -DserverId=apache.releases.https 
-Ddescription="Release vote has passed"
+
+# Renumber the next development iteration 6.22.0-SNAPSHOT:
+
+git checkout wicket-6.x
+mvn release:update-versions --batch-mode
+find . ! ( -type d -name "target" -prune ) -name pom.xml -exec sed -i "" -E 
"s/6.21.1-SNAPSHOT/6.22.0-SNAPSHOT/g" {} ;
+find . ! ( -type d -name "target" -prune ) -name pom.xml -exec sed -i "" -E 
"s/6.21.1-SNAPSHOT/6.22.0-SNAPSHOT/g" {} ;
+git add ` find . ! ( -type d -name "target" -prune ) -name pom.xml `
+git commit -m "Start next development version"
+git push
+
+echo "Remove the previous version of Wicket using this command:
+
+  svn rm https://dist.apache.org/repos/dist/release/wicket/6.20.0 -m "Remove 
previous version from mirrors"
+
+"

http://git-wip-us.apache.org/repos/asf/wicket/blob/53dadc49/release-announce.txt
----------------------------------------------------------------------
diff --git a/release-announce.txt b/release-announce.txt
new file mode 100644
index 0000000..8f57e39
--- /dev/null
+++ b/release-announce.txt
@@ -0,0 +1,112 @@
+The Apache Wicket PMC is proud to announce Apache Wicket 6.21.0!
+
+This release marks another minor release of Wicket 6. We
+use semantic versioning for the development of Wicket, and as such no
+API breaks are present breaks are present in this release compared to
+6.0.0.
+
+New and noteworthy
+------------------
+
+<OPTIONAL>
+
+Using this release
+------------------
+
+With Apache Maven update your dependency to (and don't forget to
+update any other dependencies on Wicket projects to the same version):
+
+<dependency>
+    <groupId>org.apache.wicket</groupId>
+    <artifactId>wicket-core</artifactId>
+    <version>6.21.0</version>
+</dependency>
+
+Or download and build the distribution yourself, or use our
+convenience binary package
+
+ * Source: http://www.apache.org/dyn/closer.cgi/wicket/6.21.0
+ * Binary: http://www.apache.org/dyn/closer.cgi/wicket/6.21.0/binaries
+
+Upgrading from earlier versions
+-------------------------------
+
+If you upgrade from 6.y.z this release is a drop in replacement. If
+you come from a version prior to 6.0.0, please read our Wicket 6
+migration guide found at
+
+ * http://s.apache.org/wicket6migrate
+
+Have fun!
+
+— The Wicket team
+
+    
+========================================================================
+
+    The signatures for the source release artefacts:
+
+    
+Signature for apache-wicket-6.21.0.zip:
+
+    -----BEGIN PGP SIGNATURE-----
+Comment: GPGTools - https://gpgtools.org
+
+iEYEABECAAYFAlYyougACgkQJBX8W/xy/UVf4wCfbZ9yq2/H2PVooMHRrpT4dIrT
+I2IAnjnBXDKES7QKXII71ahVYqxkJFQ9
+=LypT
+-----END PGP SIGNATURE-----
+    
+Signature for apache-wicket-6.21.0.tar.gz:
+
+    -----BEGIN PGP SIGNATURE-----
+Comment: GPGTools - https://gpgtools.org
+
+iEYEABECAAYFAlYyougACgkQJBX8W/xy/UVPCwCgg6JZjXQH11jCkES+UGd+Cg0E
++0QAn3np5HgwLicJCrBVRa2a9m9VjbMr
+=KxSH
+-----END PGP SIGNATURE-----
+    
+========================================================================
+
+    CHANGELOG for 6.21.0:
+    
+** Bug
+
+    * [WICKET-5882] - AutoComplete suggestion list disappear when I click on 
autoComplete scrollbar in IE
+    * [WICKET-5898] - StackOverflowError after form submit with a validation 
error
+    * [WICKET-5925] - wicket-examples DataTablePage is broken
+    * [WICKET-5927] - Velocity remote code execution
+    * [WICKET-5939] - AjaxEventBehavior should not lower-case the event name
+    * [WICKET-5941] - Headers not rendered for components inside 
TransparentWebMarkupContainer on ajax update
+    * [WICKET-5944] - CSRF prevention does not work with https URLs on the 
default port
+    * [WICKET-5946] - JavaScript/Css PackageResource should use the same 
charset for compressing
+    * [WICKET-5959] - HTML input placeholder text breaks AutoCompleteTextField 
in IE11
+    * [WICKET-5960] - Page header isn't rendered for pages where URL has 
changed during render
+    * [WICKET-5968] - CachingResourceLocator lookup key doesn't take strict 
into account
+    * [WICKET-5970] - UrlRenderer does not render fragments
+    * [WICKET-5973] - IllegalArgumentException 'bytes' cannot be negative. on 
opening Inspector
+    * [WICKET-5978] - LazyInitProxyFactory fills permgen space
+    * [WICKET-5989] - BaseWicketTester#startComponentInPage fails for pages 
with <wicket:header-items></wicket:header> placeholder
+    * [WICKET-5994] - Mounted TemplateResourceReference throws  
org.apache.wicket.WicketRuntimeException when https is used
+    * [WICKET-5996] - Mounted packages throw IllegalArgumentException when 
visiting base package url.
+    * [WICKET-6005] - WicketRuntimeException from 
AjaxPagingNavigator#onAjaxEvent
+
+** Improvement
+
+    * [WICKET-5926] - Arquillian Support with Container ServletContext in 
BaseWicketTester/WicketTester.
+    * [WICKET-5930] - Upgrade Atmosphere to 2.2.7
+    * [WICKET-5932] - Allow empty column list for DataTable
+    * [WICKET-5933] - Avoid serialization of untouched page after ajax request
+    * [WICKET-5935] - IoC Guice: cache proxies and fail on creation when 
binding is missing
+    * [WICKET-5945] - add a new topic/listener that notifies of Ajax calls done
+    * [WICKET-5948] - wicket-ajax.js probably doesn't traverse the children of 
<div> or <span>
+    * [WICKET-5955] - error from WebPage # reportMissingHead
+    * [WICKET-5974] - Change AjaxPagingNavigator#onAjaxEvent() to only 
consider parent components that have setOutputMarkupId(true)
+    * [WICKET-5976] - Improve the documentation of FeedbackMessages first(int 
level)
+    * [WICKET-5986] - NumberTextField<N> should use Models for minimum, 
maximum and step
+
+** Task
+
+    * [WICKET-5951] - Upgrade Atmosphere to 2.2.8
+

http://git-wip-us.apache.org/repos/asf/wicket/blob/53dadc49/release-vote.txt
----------------------------------------------------------------------
diff --git a/release-vote.txt b/release-vote.txt
new file mode 100644
index 0000000..26bb8ce
--- /dev/null
+++ b/release-vote.txt
@@ -0,0 +1,99 @@
+This is a vote to release Apache Wicket 6.21.0
+
+Please download the source distributions found in our staging area
+linked below.
+
+I have included the signatures for both the source archives. This vote
+lasts for 72 hours minimum.
+
+[ ] Yes, release Apache Wicket 6.21.0
+[ ] No, don't release Apache Wicket 6.21.0, because ...
+
+Distributions, changelog, keys and signatures can be found at:
+
+    https://dist.apache.org/repos/dist/dev/wicket/6.21.0
+
+Staging repository:
+
+    https://repository.apache.org/content/repositories/orgapachewicket-1054/
+
+The binaries are available in the above link, as are a staging
+repository for Maven. Typically the vote is on the source, but should
+you find a problem with one of the binaries, please let me know, I can
+re-roll them some way or the other.
+
+Staging git repository data:
+
+    Repository:  [email protected]:dashorst/wicket.git
+    Branch:      build/wicket-6.21.0
+    Release tag: wicket-6.21.0
+
+
+========================================================================
+
+    The signatures for the source release artefacts:
+
+    
+Signature for apache-wicket-6.21.0.zip:
+
+    -----BEGIN PGP SIGNATURE-----
+Comment: GPGTools - https://gpgtools.org
+
+iEYEABECAAYFAlYyougACgkQJBX8W/xy/UVf4wCfbZ9yq2/H2PVooMHRrpT4dIrT
+I2IAnjnBXDKES7QKXII71ahVYqxkJFQ9
+=LypT
+-----END PGP SIGNATURE-----
+    
+Signature for apache-wicket-6.21.0.tar.gz:
+
+    -----BEGIN PGP SIGNATURE-----
+Comment: GPGTools - https://gpgtools.org
+
+iEYEABECAAYFAlYyougACgkQJBX8W/xy/UVPCwCgg6JZjXQH11jCkES+UGd+Cg0E
++0QAn3np5HgwLicJCrBVRa2a9m9VjbMr
+=KxSH
+-----END PGP SIGNATURE-----
+    
+========================================================================
+
+    CHANGELOG for 6.21.0:
+    
+** Bug
+
+    * [WICKET-5882] - AutoComplete suggestion list disappear when I click on 
autoComplete scrollbar in IE
+    * [WICKET-5898] - StackOverflowError after form submit with a validation 
error
+    * [WICKET-5925] - wicket-examples DataTablePage is broken
+    * [WICKET-5927] - Velocity remote code execution
+    * [WICKET-5939] - AjaxEventBehavior should not lower-case the event name
+    * [WICKET-5941] - Headers not rendered for components inside 
TransparentWebMarkupContainer on ajax update
+    * [WICKET-5944] - CSRF prevention does not work with https URLs on the 
default port
+    * [WICKET-5946] - JavaScript/Css PackageResource should use the same 
charset for compressing
+    * [WICKET-5959] - HTML input placeholder text breaks AutoCompleteTextField 
in IE11
+    * [WICKET-5960] - Page header isn't rendered for pages where URL has 
changed during render
+    * [WICKET-5968] - CachingResourceLocator lookup key doesn't take strict 
into account
+    * [WICKET-5970] - UrlRenderer does not render fragments
+    * [WICKET-5973] - IllegalArgumentException 'bytes' cannot be negative. on 
opening Inspector
+    * [WICKET-5978] - LazyInitProxyFactory fills permgen space
+    * [WICKET-5989] - BaseWicketTester#startComponentInPage fails for pages 
with <wicket:header-items></wicket:header> placeholder
+    * [WICKET-5994] - Mounted TemplateResourceReference throws  
org.apache.wicket.WicketRuntimeException when https is used
+    * [WICKET-5996] - Mounted packages throw IllegalArgumentException when 
visiting base package url.
+    * [WICKET-6005] - WicketRuntimeException from 
AjaxPagingNavigator#onAjaxEvent
+
+** Improvement
+
+    * [WICKET-5926] - Arquillian Support with Container ServletContext in 
BaseWicketTester/WicketTester.
+    * [WICKET-5930] - Upgrade Atmosphere to 2.2.7
+    * [WICKET-5932] - Allow empty column list for DataTable
+    * [WICKET-5933] - Avoid serialization of untouched page after ajax request
+    * [WICKET-5935] - IoC Guice: cache proxies and fail on creation when 
binding is missing
+    * [WICKET-5945] - add a new topic/listener that notifies of Ajax calls done
+    * [WICKET-5948] - wicket-ajax.js probably doesn't traverse the children of 
<div> or <span>
+    * [WICKET-5955] - error from WebPage # reportMissingHead
+    * [WICKET-5974] - Change AjaxPagingNavigator#onAjaxEvent() to only 
consider parent components that have setOutputMarkupId(true)
+    * [WICKET-5976] - Improve the documentation of FeedbackMessages first(int 
level)
+    * [WICKET-5986] - NumberTextField<N> should use Models for minimum, 
maximum and step
+
+** Task
+
+    * [WICKET-5951] - Upgrade Atmosphere to 2.2.8
+

http://git-wip-us.apache.org/repos/asf/wicket/blob/53dadc49/release.txt
----------------------------------------------------------------------
diff --git a/release.txt b/release.txt
new file mode 100644
index 0000000..29c7dcc
--- /dev/null
+++ b/release.txt
@@ -0,0 +1,46 @@
+
+The release has been created. It is up to you to check if the release is up
+to par, and perform the following commands yourself when you start the vote
+to enable future development during the vote and after.
+
+A vote email has been generated in release-vote.txt, you can copy/paste it 
using:
+
+    cat release-vote.txt | pbcopy
+
+You can find the distribution in target/dist.
+
+
+Failed release
+--------------
+
+To rollback a release due to a failed vote or some other complication use:
+
+    $ ./revert-6.21.0.sh
+
+This will clean up the artfifacts from the staging areas, including Nexus,
+dist.apache.org and the release branch and tag.
+
+
+Successful release
+------------------
+
+Congratulations on the successful release vote!
+
+Use the release-announce.txt as a starter for the release announcement:
+
+    cat release-announce.txt | pbcopy
+
+To promote the release after a successful vote, run:
+
+    $ ./promote-6.21.0.sh
+
+This will promote the Nexus staging repository to Maven Central, and move
+the release artifacts from the staging area to dist.apache.org. It will
+also sign the release tag and push the release branch to git.apache.org
+
+You can read this message at a later time using:
+
+    $ cat release.txt
+
+Happy voting!
+

http://git-wip-us.apache.org/repos/asf/wicket/blob/53dadc49/revert-6.21.0.sh
----------------------------------------------------------------------
diff --git a/revert-6.21.0.sh b/revert-6.21.0.sh
new file mode 100755
index 0000000..673f9c1
--- /dev/null
+++ b/revert-6.21.0.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+echo -n "Reverting release 6.21.0
+
+Actions about to be performed:
+------------------------------
+
+$(cat $0 | tail -n +14)
+
+------------------------------------------
+Press enter to continue or CTRL-C to abort"
+
+read
+
+# clean up local repository
+git checkout wicket-6.x
+git branch -D build/wicket-6.21.0
+git tag -d wicket-6.21.0
+
+# clean up staging repository
+git push staging --delete refs/heads/build/wicket-6.21.0
+git push staging --delete wicket-6.21.0
+
+# clean up staging dist area
+svn rm https://dist.apache.org/repos/dist/dev/wicket/6.21.0 -m "Release vote 
has failed"
+
+# clean up staging maven repository
+mvn org.sonatype.plugins:nexus-staging-maven-plugin:LATEST:rc-drop 
-DstagingRepositoryId=orgapachewicket-1054 
-DnexusUrl=https://repository.apache.org -DserverId=apache.releases.https 
-Ddescription="Release vote has failed"
+
+# clean up remaining release files
+find . -name "*.releaseBackup" -exec rm {} ;
+[ -f release.properties ] && rm release.properties

Reply via email to