Title: The Thuban Release Process
Author: Thuban development team
Last-Modified: $Date: 2008-02-13 23:31:31 +0100 (Wed, 13 Feb 2008) $
Version: $Revision: 2837 $

How to Release a New Thuban Version

    - Test Thuban until you are sure it works under the following
      reference platforms:

      Debian GNU/Linux 4.0 (aka Etch) (using wxWindows/wxPython 2.6)
      optional: Debian GNU/Linux Sid,  Windows XP

      All test cases of stable code should pass on all platforms.

    - Adjust revision number in setup.py and Thuban/version.py.  See the
      comments in version.py for details.

    - Update thuban.pot and the various .po and .mo files:

      cd po/
      make pot
      make update-po
      make mo

      See po/README for details

    - Update MANIFEST.in

      This is only necessary if the set of files distributed has changed
      in such a way that the old MANIFEST.in doesn't fit anymore. This
      could be e.g. the addition of a new top-level directory such as
      Extensions

    - Produce Source-Archives Thuban-N.N.N.tar.bz2 and Thuban-N.N.N.zip
 
        python setup.py sdist --force-manifest

      The  option "--force-manifest" is necessary because there might
      be changed filenames matching the patterns in MANIFEST.in 
      and python 2.4.4's distutils will _not_ recreate MANIFEST if it is
      newer in this case by default. The option makes sure that MANIFEST
      will be created of if MANIFEST.in each time.
    
    - Sign Source-Archives
    	
	gpg2 --detach-sign  Thuban-N.N.N.tar.bz2
	gpg2 --detach-sign  Thuban-N.N.N.zip


Old:- Build a binary for W2000: Thuban-N.N.N-1.exe

      On a Windows system with Inno Setup installed, unpack the source
      archive (usually the zip file) and run:

        python setup.py bdist_inno

      Test the resulting setup program.

Old:- Build RPMs for RedHat 7.2

      Take the source tarball and, on a RedHat 7.2 system, run:

        python setup.py bdist_rpm

      Install the rpm and test Thuban. Make sure to have removed any
      other Thuban rpms beforehand.

    - Produce Sample-Data-Tarballs

        python setup.py data_dist

    - Tag the tested sources within SVN:

         svn copy  svn+ssh://youruserid@scm.wald.intevation.org/thuban/trunk/thuban svn+ssh://youruserid@scm.wald.intevation.org/thuban/tags/thuban-N-N-N-release
	 Afterwards, adjust the version numbers in SVN again.


    - Uploaded packages in the Files section on Wald.

	http://wald.intevation.org/frs/?group_id=6

Old:- Update http://thuban.intevation.org/download.html accordingly

    - Update/Extend http://thuban.intevation.org/screenshots.html
      if there have been interesting changes/extensions to the UI.

    - Make sure you closed all open issues that were solved with this
      release.

    - Write announcement including all major improvements.

Old:    - Send announcement to following mailing lists:
      thuban-announce@intevation.de
      freegis-list@intevation.de

    - Have a beer and thank all contributors :-)

