Version 22 (modified by 14 years ago) ( diff ) | ,
---|
Checklist of things to do before a release
A simple reminder list:
Check the t.e.o wiki
- Update the ChangeLog page
- Verify TracInstall and TracUpgrade
Check the source
(replace trunk below with the corresponding branches/0.1X-stable when preparing a minor releases)
Wiki related files
- If needed, do a last sync
- Verify that trunk/trac/wiki/default-pages contains all pages listed in TracProject/DefaultWikiPages
- Check all default wikipages for TracLinks to nonexistant pages/resources
- Update trunk/RELEASE from wiki ChangeLog
- Update trunk/ChangeLog from wiki ChangeLog
- Update trunk/INSTALL from wiki TracInstall
- Update trunk/UPGRADE from wiki TracUpgrade
Other repository files
- Check the trunk/THANKS file
- Update version number in trunk/setup.py and trunk/trac/wiki/default-pages/WikiStart
- Comment out
tag_build
andtag_svn_revision
settings in trunk/setup.cfg
Create dist packages
- Check out trunk (or the release branch) to a clean sandbox
- Build source tarballs:
- On Unix:
python setup.py sdist
in order to get the files in a.tar.gz
, with the proper LF line endings. - On Windows:
python setup.py egg_info sdist
in order to get the files in a.zip
, with the proper CRLF line endings. Verify with zipinfo that the content is OK as once the templates were missing…
Note: egg_info before sdist, as otherwise data files will be missing; whether this is needed or not depends on the version of Python. With 2.4.4 it's not needed, with 2.5.4sdist
won't work even with this step (!), with 2.6.1 it is needed.
- On Unix:
- Build Windows installer
- .exe win32 installer
python.exe setup.py compile_catalog python23.exe setup.py bdist_wininst
Note: It is important to use Python 2.3 to build the installer, in order to avoid dependency on MSVCR71.dll, not always available. As Babel won't work with Python 2.3, you can't rely onbdist_wininst
to trigger thecompile_catalog
command, so you need to do that beforehand manually, using a different version of Python (≥ 2.4). Actually, it's now worse than this: as we made setup.py depend on sometrac.util
code, using Python 2.3 doesn't even work anymore at all . So we have to use 2.4 for bdist_wininst. I suppose the dependency on MSVCR71.dll is not too much to ask for, nowadays… And now that I come to think about it, it must be there for Python 2.4 anyway. Bottom-line: always use the minimum required version for the releases (i.e. 2.3 for 0.11.x, 2.4 for 0.12.x, etc.)
- .exe win32 installer
- Test installation on all target platforms.
Install on a clean system. Remove any old Trac installation before testing. - Smoke test:
- create an environment with
trac-admin
, test it withtracd
- upgrade an environment created with the previous release'
trac-admin
, test it withtracd
- create an environment with
Finalize the release
- Tag/copy version in subversion
- Upload to http://ftp.edgewall.org/pub/trac
- Update TracDownload
- Test
easy_install Trac
- Update PyPi entry
- Post on Trac-users, Trac-dev (all releases) and Trac-announce (only for non-beta releases)
- Update Freshmeat entry
- Close release coordination ticket (e.g. #9077)
See also: TracDev
Note:
See TracWiki
for help on using the wiki.