wiki:SysAdmin/ReleaseProcess

Version 30 (modified by Fran Boon, 11 years ago) ( diff )

--

Release Process

When making a Stable Branch from which to build releases, we need to do these tasks:

Check that all works with a released version of Web2Py

Ensure included files sane:

  • README
  • VERSION (updated automatically by Bzr start-commit hook)
  • INSTALL
  • CHANGELOG

Clear Database

To clear database of test data & reset to defaults:

  • Close Web2Py
  • Delete all files from /databases
  • Delete all files from /errors
  • Delete all files from /sessions

NB This assumes that all required settings are being generated upon intialisation as per the Framework

Export Application

This could be scripted:

python web2py.py -S eden -M
# @ToDo: Clean
# Compile
from gluon.admin import *
app_compile("eden", request)
# @ToDo: Catch errors
# @ToDo: Pack
# @ToDo: Download with filename

Upload to LaunchPad

Update Wiki InstallationGuide

Update Demo

  • Update Web2Py (if necessary)
    cd /home/web2py/applications/eden
    bzr pull -r xxx
    

Alternate approach:

Ideas


DeveloperGuidelines

Note: See TracWiki for help on using the wiki.