Release Steps

From Geoqo
(Difference between revisions)
Jump to: navigation, search
(Out of date)
 
(11 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
== Out of date ==
 +
 +
There is now a [http://sourceforge.net/projects/makerelease makerelease] script in dist/makerelease.xml.  That is now the authoritative source on what should be done.
 +
 +
To test what it will do:
 +
  makerelease -n -c dist/makerelease.xml
 +
 +
To create a release:
 +
  makerelease -c dist/makerelease.xml
 +
 +
To watch it process each step and prompt before doing each one:
 +
  makerelease -i -c dist/makerelease.xml
 +
 +
== Steps ==
 +
 
Steps used to release a new version.  You know, in case I fall off a cliff while geocaching:
 
Steps used to release a new version.  You know, in case I fall off a cliff while geocaching:
  
 
# Setup:
 
# Setup:
 +
## Change the [[Template:VER]] wiki page to the new version number
 
## change version numbers in the files
 
## change version numbers in the files
##* find . -name \*.pm | grep -v VERSION | xargs perl -i -p -e "s/VERSION = '0\.3/VERSION = '0.4/"
+
##* dist/version {{VER}}
##* perl -i -p -e "s/VERSION = '0\.3/VERSION = '0.4/" geoqo
+
## run '''dist/testcode''' to check for syntax issues
## run ./testcode to check for syntax issues
+
 
## ensure makedocs and geodb/html/Makefile contains proper list of module names
 
## ensure makedocs and geodb/html/Makefile contains proper list of module names
 +
##* '''perl makedocs''' will update the geoqo docs and print any potentially missing modules
 
##* New plugins may need to be added to the lists
 
##* New plugins may need to be added to the lists
 
## Run ./makedocs
 
## Run ./makedocs
Line 14: Line 30:
 
## Update the NEWS file
 
## Update the NEWS file
 
# Release:
 
# Release:
## svn copy https://geoqo.svn.sourceforge.net/svnroot/geoqo/trunk/geoqo https://geoqo.svn.sourceforge.net/svnroot/geoqo/tags/geoqo-0-4
+
## svn copy https://geoqo.svn.sourceforge.net/svnroot/geoqo/trunk/geoqo https://geoqo.svn.sourceforge.net/svnroot/geoqo/tags/geoqo-{{VER}}
## svn export https://geoqo.svn.sourceforge.net/svnroot/geoqo/tags/geoqo-0-4 geoqo-0.4
+
## svn export https://geoqo.svn.sourceforge.net/svnroot/geoqo/tags/geoqo-{{VER}} geoqo-{{VER}}
## tar czf geoqo-0.4.tar.gz geoqo-0.4
+
## tar czf geoqo-{{VER}}.tar.gz geoqo-{{VER}}
## zip -r geoqo-0.4.zip geoqo-0.4
+
## zip -r geoqo-{{VER}}.zip geoqo-{{VER}}
## ncftpput upload.sourceforge.net incoming geoqo-0.4.zip geoqo-0.4
+
## ncftpput upload.sourceforge.net incoming geoqo-{{VER}}.zip geoqo-{{VER}}.tar.gz
## add release files using admin interface
+
## add release files using [http://sourceforge.net/project/admin/editpackages.php?group_id=177773 admin interface]
 
# Advertise:
 
# Advertise:
 
## send note to geoqo-users AT AT lists.sourceforge.net
 
## send note to geoqo-users AT AT lists.sourceforge.net
## sourceforge news system
+
## sourceforge [http://sourceforge.net/news/submit.php?group_id=177773 news system]
 
##* web site auto updated
 
##* web site auto updated
## freshmeat.net
+
## [http://freshmeat.net/projects/geoqo/ freshmeat.net]
 
## topic on #geoqo
 
## topic on #geoqo

Latest revision as of 04:15, 22 October 2007

Out of date

There is now a makerelease script in dist/makerelease.xml. That is now the authoritative source on what should be done.

To test what it will do:

 makerelease -n -c dist/makerelease.xml

To create a release:

 makerelease -c dist/makerelease.xml

To watch it process each step and prompt before doing each one:

 makerelease -i -c dist/makerelease.xml

Steps

Steps used to release a new version. You know, in case I fall off a cliff while geocaching:

  1. Setup:
    1. Change the Template:VER wiki page to the new version number
    2. change version numbers in the files
      • dist/version 1.11
    3. run dist/testcode to check for syntax issues
    4. ensure makedocs and geodb/html/Makefile contains proper list of module names
      • perl makedocs will update the geoqo docs and print any potentially missing modules
      • New plugins may need to be added to the lists
    5. Run ./makedocs
    6. Run "make", "make coversclean" and "make covers" in geoqo/html/
      • checkout requires geoqo source to be in ../geoqo
    7. Run "make test" and check for errors
    8. Update the NEWS file
  2. Release:
    1. svn copy https://geoqo.svn.sourceforge.net/svnroot/geoqo/trunk/geoqo https://geoqo.svn.sourceforge.net/svnroot/geoqo/tags/geoqo-1.11
    2. svn export https://geoqo.svn.sourceforge.net/svnroot/geoqo/tags/geoqo-1.11 geoqo-1.11
    3. tar czf geoqo-1.11.tar.gz geoqo-1.11
    4. zip -r geoqo-1.11.zip geoqo-1.11
    5. ncftpput upload.sourceforge.net incoming geoqo-1.11.zip geoqo-1.11.tar.gz
    6. add release files using admin interface
  3. Advertise:
    1. send note to geoqo-users AT AT lists.sourceforge.net
    2. sourceforge news system
      • web site auto updated
    3. freshmeat.net
    4. topic on #geoqo
Personal tools