How to release a new metche version ?

Upstream release

Requirements

sudo apt-get install sp docbook2x docbook-xsl docbook docbook-to-man

How-to

  • in upstream/trunk, update the Changelog file
  • tag the upstream release ; svn COPY can not be done via https (known problem), so this has to be done via http :

$ svn copy http://poivron.org/dev/svn/metche/upstream/trunk http://poivron.org/dev/svn/metche/upstream/tags/metche-N.M

  • build the upstream tarball :
       $ svn export http://poivron.org/dev/svn/metche/upstream/tags/metche-N.M /tmp/metche-N.M
       $ cd /tmp/metche-N.M
       $ make ; make clean
       $ rm metche-manpage.sgml  # No reason to ship the manpage source in tarball
       $ cd /tmp/
       $ tar cvzf metche-N.M.tar.gz metche-N.M
    
  • ask Lunar to upload the upstream tarball
  • add a link to the upstream tarball on the wiki frontpage

Debian package release

  • Get the last upstream into packaging repository:
       $ mkdir tarballs
       $ (cd tarballs && wget http://poivron.org/dev/metche/files/metche-N.M.tar.gz)
       $ ln -s metche-N.M.tar.gz tarballs/metche_N.M.orig.tar.gz
       $ svn co http://poivron.org/dev/svn/metche/debian/trunk
       $ cd trunk
       $ svn-upgrade ../tarballs/metche-N.M.tar.gz
    
  • BEGIN
  • make changes, fix Debian bugs, etc.
  • use debchange (dch) to update debian/changelog (add pertinent upstream Changelog information along the way)
  • Use "svn commit" to send changes to SVN repository.
  • Use "svn-buildpackage --svn-builder=pdebuild" to build the package with pbuilder.
  • Run lintian (from unstable).
  • Run linda (from unstable).
  • Run piuparts.
  • Run debdiff.
  • Run "less *.deb"
  • Fix detected bugs in Debian packaging
  • REPEAT.
  • When everything is ready: "svn-buildpackage --svn-builder=pdebuild --svn-tag".
  • Upload everything to poivron, and ask micah for an upload.