Automate releases

Bug #505709 reported by Cory Dodt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
txGenshi
Confirmed
Wishlist
Unassigned

Bug Description

At first blush it might sound silly for a project this small, but "release early and often" is a great mantra, and it's much easier to release when it can be done completely automatically.

For Hypy I have a wiki page that describes the complete, very short, mindless release process. All of the heavy lifting is implemented in a Makefile which I can just run with a new version number whenever I want to release a new version. The Makefile handles:

 1. Running tests to check that they pass (I should also add coverage checking to this)
 2. Asking for and committing release notes, even providing you with a reminder list of bugs you've resolved to refer to
 3. Tagging the release in version control
 4. Building a .deb package locally, uploading to Launchpad PPA and waiting for the build to complete
 5. Building a pypi package and uploading it to pypi

What's left to be do is mostly communicating the release, and I'm forgetful enough that I have also documented everywhere that I normally do a release announcement, and lazy enough that I can actually pull the release announcement from version control (the Makefile asks you to write it before it does the release).

Links:

 * http://wiki.goonmill.org/HowtoReleaseHypy - textual description
 * http://hypy-source.goonmill.org/file/tip/Makefile - does the work of building packages and uploading them.
 * http://goonmill.org/hypy/

Cory Dodt (corydodt)
description: updated
Changed in txgenshi:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Duncan McGreggor (oubiwann) wrote :

I'm +1 on this, but let me do this ticket first:
  https://bugs.edge.launchpad.net/txgenshi/+bug/506281

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.