Overview
(with thanks to Zoe Slattery)
Release notes summary (to tidy up)
Prereqs
~~~~~~~
GPG keys
- create key
- KEYS
- isis trunk
- foaf
- id.apache.org
- Signing party
- create subkey
gpg --edit-key xxxxxxxx
gpg> addkey
Key is protected.
enter your secret passphrase
You need a passphrase to unlock the secret key for
user: "Dan Haywood (CODE SIGNING KEY) <danhaywood@apache.org>"
4096-bit RSA key, ID xxxxxxxx, created 2011-02-01
Please select what kind of key you want:
(3) DSA (sign only)
(4) RSA (sign only)
(5) Elgamal (encrypt only)
(6) RSA (encrypt only)
Your selection? 4
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0) 1y
Key expires at xx/xx/xx xx:xx:xx
Is this correct? (y/N) y
Really create? (y/N) y
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
...+++++
.+++++
pub 4096R/xxxxxxxx created: yyyy-mm-dd expires: never usage: SC
trust: ultimate validity: ultimate
sub 4096R/xxxxxxxx created: yyyy-mm-dd expires: never usage: E
sub 4096R/xxxxxxxx created: yyyy-mm-dd expires: yyYY-mm-dd usage: S
ultimate (1). Dan Haywood (CODE SIGNING KEY) <danhaywood@apache.org>
gpg>
- mvn settings
- edit settings.xml with passphrase.
~~~~~~~~~~~~~~~~~
JIRA
Changes.txt
mvn license:download-licenses
- target/generated-resources/licenses.xml
- checklicenses.groovy
- update src/main/appended-resources/supplemental-dataModels.xml
RAT tool
Release Practice
~~~~~~~~~~~~~~~~
svn mkdir https://svn.apache.org/repos/asf/incubator/isis/branches/release-practice3 -m "branching in order to practice release process"
svn copy https://svn.apache.org/repos/asf/incubator/isis/trunk https://svn.apache.org/repos/asf/incubator/isis/branches/release-practice3/trunk -m "branching in order to practice release process"
cd .../trunk # your local workspace for isis/trunk
cd ..
mkdir branches/release-practice3
cp -R trunk branches/release-practice3/trunk
cd branches/release-practice3/trunk
svn switch https://svn.apache.org/repos/asf/incubator/isis/branches/release-practice3/trunk
edit pom.xml, change 'trunk' -> 'branches/release-practice3/trunk'
- scm/connection
- scm/developerConnection
- scm/url
and commit pom.xml
mvn release:clean release:prepare -P apache-release -D dryRun=true
- suggest specify version as 0.x.x-RCn-incubating
Release Proper
~~~~~~~~~~~~~~
mvn release:clean release:prepare -P apache-release -D skipTests=true
- suggest specify version as 0.x.x-RCn-incubating
(and then do the whole process over once vote is in)
Deploy for voting
~~~~~~~~~~~~~~
yada yada
Earlier notes
...
made while at Knockree
Release notes
1. discovered that the mvn release:prepare will fail if try to run on cygwin in Windows
...