Release Process

From Audacity Wiki
Jump to: navigation, search
This page summarises our release process. It also (now) serves as a checklist.

Release Manager

  • Each release has a designated Release Manager (RM), one of the Audacity Team. The Release Manager
    • Manages the whole process, announcing dates, managing freezes, etc.
    • Makes stop/go decisions on the release, and other decisions responding to release issues.
    • RM will probably use a page on wiki such as Next Release for more detailed tracking of what is going into the release, and the schedule.
RM is God
This phrase is a slightly tongue in cheek reference to the fact that the RM decides what is in and what is out for each release. This is a mechanism to reduce argument when there are differences in opinion. The RM is of course expected to be reasonable, and would not have been trusted with the role if they were thought not to be.

Policies

  • P1s, including P1s in the manual, block release. P2s are 'Release Manager decides'.
  • New files provided for download always need a new name, so a "hotfix" to an installer will have a new name.
  • Release Manager can override policies, even releasing with a known P1 bug (though they are very unlikely to do that).

How Tos

The final section of many of the 'Building On' pages have instructions for building release versions.

Other tables etc...


Process (James)

The Done.png and ToDo.png tick boxes are for 2.3.1

Some of the steps have been reduced here through improved scripts. For example, there is no longer a need to modify the alpha manual before fetching a final version, as the changes are made as it is downloaded.

Early Stages

  • Done.png Candidates for RM step forward.
  • Done.png Team designate a Release Manager.
  • Done.png Release Manager announces he/she is RM.
  • Done.png RM announces proposed timeline and proposed scope
  • Done.png RM increments the version number in:
    • Done.png src/Audacity.h
    • Done.png win/build.txt
    • Done.png appveyor.yml
    • Done.png audacity.dox
    • Done.png AC_INIT in configure.ac. (it affects the value in the .pot file as well as tarballs etc)
    • Done.png Alpha Manual front page.
    • Done.png Bugzilla front page.
    • Done.png Add to Bugzilla "Version" field.
  • ToDo.png Agreed big/dangerous changes go in, such as new libraries, updating compilers or a switch to 64 bit. This is to allow maximum time for issues with these to be worked out
  • Done.png RM checks codesigning certs, to ensure validity at planned time of use.


Middle Stage

  • ToDo.png Lots of development happens here.
  • ToDo.png Lots of bug fixing happens here.


The RM has considerable latitude as to exactly what 'String Freeze' and 'Code Freeze' mean.
  • In String Freeze changes which will affect translation should not be made.
    • A consequence is that many features that might need tweaked text as they develop should not be modified during 'String Freeze'.
    • P1 and P2 fixes are OK in 'String Freeze', and RM may welcome any bug fixes.
  • Code Freeze is generally stricter, and generally all changes must be pre-approved.

String Freeze

  • Done.png Proposed string freeze data announced.
  • ToDo.png Active work on strings to get them ready for translation.
  • ToDo.png Last minute tweaks to parameters, error messages and features where names/strings will be affected.
  • ToDo.png Last minute changes to manual.
    • ToDo.png Spot tests on alpha manual. (in the past, we've been caught by mediawiki upgrades breaking the script)
  • ToDo.png String Freeze announced. (one or two week's duration).
  • ToDo.png Translators given .pot files to work on.
  • ToDo.png Translations updated in Audacity.
  • ToDo.png Write http://wiki.audacityteam.org/wiki/Release_Notes_2.3.1 - a brief user-friendly overview of 2.3.1
  • ToDo.png Write http://wiki.audacityteam.org/wiki/Release_Notes_2.3.1/Issues - a dynamic complete list of known issues OR fixed issues.
    • ToDo.png Final tweaks to the above, taking account of last minute P1s and P2s.
  • ToDo.png RM updates README.txt, creating new "Changes in version" text and moving the old text to the top of CHANGELOG.TXT.
  • ToDo.png Sanity check installer on Win
  • ToDo.png Sanity check .dmg on Mac.
  • ToDo.png Sanity check tarball on Linux
  • ToDo.png End of translation. Code Freeze announced.


RCs

  • ToDo.png Check with manual team that there are no P1s in manual.
  • ToDo.png RM Reviews all P2s
    • Done.png Fix P2 Bug 1978 (new since Code Freeze announced, and NOT OK for release.)
  • ToDo.png RM Prepares release announcement on WordPress website (but do not make live)
  • ToDo.png Freeze manual
  • ToDo.png In Audacity.h, set AUDACITY_BUILD_LEVEL to 2.
  • ToDo.png Make RC1s and place on FossHub audacity-devel (or drop box if unavailable)
    • ToDo.png RC1 Win exe
    • ToDo.png RC1 Win zip
    • ToDo.png RC1 Mac dmg
    • ToDo.png RC1 Linux tarball
  • ToDo.png Generate the checksums and post at Release Notes 2.3.1
  • ToDo.png Post the links to the RCs on audacity-devel, audacity-quality, audacity-translation, and the Forum.


We may need to repeat with RC2, RC3, if showstoppers are found.
Gales notes on testing:
  • Ensure that installers are tested as well as the zips.
    • Test installers installing over an existing install.
    • Test on non-developer machines (in case it relies on features found only on developer machines).


Release

  • ToDo.png RM: Post final builds/installers (including manual.zip) to FossHub.
  •  ??? RM: Delete the RCs including the manual. (don't forget deprecated ones)
    • I've made them hidden for now, until we work out what we are doing with oldfoss.
  • ToDo.png Push the updated copy of the manual to https://github.com/audacity/audacity-manual
  •  ??? Post the Release Announcements.
  • ToDo.png Tag the release in GitHub.
  • ToDo.png Check whether any of the version numbers mentioned in 'Early Stages' can already be updated for the next version.
  • ToDo.png In Audacity.h, set AUDACITY_BUILD_LEVEL to 0.
  • ToDo.png Lift Code Freeze, String Freeze and Manual Freeze.
  • ToDo.png In Bugzilla add the new alpha version to the "Version" field.

Release is complete!

Release Announcements

Website Changes

Wiki

Social Media etc

  • ToDo.png RM: Announce the release to audacity-* mailing lists, SourceForge
  • ToDo.png Peter: Announce to Facebook (and top pin?)
  • ToDo.png Peter: Update Audacity Wikipedia page
  • ToDo.png Steve: Make the Forum announcement.
  • ToDo.png Steve: Update on KVR
  •  ??? Announce to the Dreamhost list
  •  ??? Announce to Twitter
  • ToDo.png James: Announce on Google+