How to make a gnulib stable snapshot ------------------------------------ by Ian Beckwith
Last Update: Tue Apr 24 2010 Latest Version: http://erislabs.net/projects/gnulib/STABLE-HOWTO.html BRANCHES * upstream - tracks git://git.savannah.gnu.org/gnulib.git * stable - the stable snapshot we produce, based on upstream * master - the debian branch, based on stable (optional) PROCEDURE * if you don't already have a repository: + clone the gnulib repo: $ git clone git://git.savannah.gnu.org/gnulib.git $ git branch -m master upstream + then either import the existing stable repo: $ git remote add erislabs git://erislabs.net/gnulib.git $ git fetch erislabs $ git branch stable erislabs/stable + or, if that isn't possible, start from scratch: $ git branch stable upstream * update upstream branch: $ git checkout upstream $ git pull * tag the current upstream HEAD for later use: $ git tag snapshot-start upstream * run the test suite: $ git checkout upstream $ ./gnulib-tool --create-megatestdir --with-tests --dir=t 2>&1 | tee create.out $ cd t $ ./do-autobuild 2>&1 | tee ../build.out $ cd .. * find failing tests with: $ grep -L rc=0 t/logs/* * report any issues to address@hidden * merge the current upstream version into the stable branch: $ git checkout stable $ git merge upstream * resolve conflicts $ git checkout upstream