run the unit tests.
./admin/runtests
run the accepttests. It's important that you run the accepttests with a non-relative command line (stupid bug that still isn't fixed. Too easy to work around :)). I use:
WEBBROWSER='galeon -n' IRCCLIENT=epic4 ~/Projects/Twisted/admin/accepttests -b
run the pre-release tests, on pyramid. When `less' comes up, check for errors.
./admin/prereleasetests
Run win32/bdist_wininst.bat.
If you are working from a CVS version of Twisted which you want to release,
make sure it is named Twisted.CVS
, and in the
directory immediately
above it there is nothing else (that can be done via symlinks), and run:
./Twisted.CVS/admin/release-twisted -V $VERSION -o $LASTVERSION \ --release=/twisted/Releases --upver --tag --exp --dist --docs \ --balls --rel --deb --debi
If you want to release the latest CVS version of Twisted, have a reasonably recent checkout of Twisted in $SOMEWHERE, and in an empty directory do
$SOMEWHERE/admin/release-twisted -V $VERSION -o $LASTVERSION --checkout \ --release=/twisted/Releases --upver --tag --exp --dist --docs --balls \ --rel --deb --debi
Restart the main Twisted web server:
sudo /etc/init.d/twisted-web stop sudo /etc/init.d/twisted-web start
If necessary (only when distributed web changes protocols; this is very rare any more), restart snibril's server.
su jh; ~jh/bin/stop; ~jh/bin/start; exit
Upload to Sourceforge
$SOMEWHERE/admin/release-twisted -n $SFNAME -V $VERSION --sourceforge \ --release=/twisted/Releases
deploy changes:
cd /var/www/WebSite/twistedmatrix.com lore --docsdir . --config template=template.tpl --config ext=
This is usually done by Itamar.