-
Notifications
You must be signed in to change notification settings - Fork 254
ReleaseProcess
You need a Microsoft Windows machine for testing and BuildingPythonWindowsExecutables; that subpage also contains help how to install Python, utilities, and a Subversion client under Windows.
Some familiarity with git tags and branches may be useful. Git Basiscs - Tagging is quite good.
For the final step, you need access to update the PyPI transitfeed package. That means, you need an account at that site, and an owner of the package needs to grant write access to you or do the update for you.
Make sure transitfeed.__version__
is set to the new version in trunk and all tests pass.
svn cp -m "make version 1.2.3 branch" https://googletransitdatafeed.googlecode.com/svn/trunk https://googletransitdatafeed.googlecode.com/svn/branches/transitfeed-1.2.3
Get a clean copy with svn export https://googletransitdatafeed.googlecode.com/svn/branches/transitfeed-1.2.3
and run the tests in Linux and Windows with the nosetests command.
Manually start the schedule viewer (using test/data/good_feed.zip, for example), click on a stop (an info window of next departures should open), click on a trip and its shape should be displayed with stop times. Try it in a variety of browsers, at least IE and Firefox.
Test feedvalidator.py
on a large body of feeds to verify that it does not produce spurious error messages on good data (warnings may be acceptable).
Find the revision of the last release with svn ls -v https://googletransitdatafeed.googlecode.com/svn/branches
. Display a log of changes with svn log -r xxx:HEAD https://googletransitdatafeed.googlecode.com/svn/trunk/python
. Use this to list the changes on TransitFeedDistribution. Subversion doesn't do a great job of tracking merge history so some detective work may be needed if your branch and trunk have diverged.
Build the pyexe files using the instructions at [BuildingPythonWindowsExecutables].
Using the exported tree build the source tar ball in unix with python setup.py sdist
. Upload it to this project and set the tags Type-Source
and OpSys-All
. Send an announcement to the googletransitfeed group.
Tag the release version:
git tag -a transitfeed-x.y.z -m "transitfeed-x.y.z" [optional commit identifier]
Move the label Featured from the previous to this release.
Update PyPI with {{{python setup.py register sdist}}}.
Send an email to googletransitdatafeed@googlegroups.com.