Rough notes on RT release engineering


#1

As we’ve rejiggered the repository, the old tools have gotten a bit
clunkier than I’d like, but the new tools have gotten increasingly
shiny.

So, here’s a braindump on how I’ve created RT 3.8.0rc2 (announcement
pending)
The process clearly still needs some work. (And must become automated)

One change I’ve made is that we’re no longer running the output of svn
log --verbose into the dist. It bloats the size by 10% and doesn’t
really provide anything over what you get from svn log. (And anyone
who cares enough will almost certainly want to prod at the repository
for diffs)

Tag the branch

svk br --create 3.8.0rc2 --tag --from 3.8.0-releng --project rt-3.8

Check out the newly tagged version and update the version number.

This is unacceptable for the long-term release process. Perhaps we

want a trivial expression to grab it from the cwd of the checkout

svn co svn+ssh://svn.bestpractical.com/svn/bps-public/rt/3.8/tags/
3.8.0rc2

Index: configure.ac
configure.ac (revision 13501)
+++ configure.ac (working copy)
@@ -7,7 +7,7 @@

dnl Setup autoconf
AC_PREREQ(2.53)
-AC_INIT(RT, 3.7.86, [rt-bugs@bestpractical.com])
+AC_INIT(RT, 3.8.0rc2, [rt-bugs@bestpractical.com])
AC_CONFIG_SRCDIR([lib/RT.pm.in])

svn ci ‘Bumped the version to 3.8.0rc2 for release’

svn export svn+ssh://svn.bestpractical.com/svn/bps-public/rt/3.8/tags/
3.8.0rc2 rt-3.8.0rc2

cd rt-3.8.0rc2
autoconf
INSTALL=install-sh PERL=/usr/bin/perl ./configure --with-db-
type=SQLite --enable-layout=inplace --with-standalone

cd …

tar czvf rt-3.8.0rc2.tar.gz rt-3.8.0rc2

gpg2 --detach-sign rt-3.8.0rc2.tar.gz

scp -rvp rt-3.8.0rc2.tar.gz download.bestpractical.com:/home/ftp/pub/
rt/devel/
scp -rvp rt-3.8.0rc2.tar.gz.sig download.bestpractical.com:/home/ftp/
pub/rt/devel

PGP.sig (194 Bytes)