Difference between revisions of "Release Process"
From Audacity Wiki
(Trimmed to reflect move from sourceforge and google code, and use of WordPress.) |
Galeandrews (talk | contribs) (added note about setting new version number in configure.ac) |
||
Line 40: | Line 40: | ||
## Build Win exe (installer) and zip | ## Build Win exe (installer) and zip | ||
## Build Mac dmg and zip | ## Build Mac dmg and zip | ||
− | ## | + | ## Set AC_INIT to the new Audacity version number in configure.ac prior to building the Linux min-src tarball. |
# '''RC1. (one week to test)'''. | # '''RC1. (one week to test)'''. | ||
## Details are in [http://wiki.audacityteam.org/wiki/Release_Process#Release_Candidates Release Candidates] | ## Details are in [http://wiki.audacityteam.org/wiki/Release_Process#Release_Candidates Release Candidates] |
Revision as of 23:02, 14 May 2016
The text on this page should only be modified by Audacity Tech Leaders - especially so during a release! Suggestions on the talk page are welcome. |
Contents
Release Manager
- Each release has a designated Release Manager (RM), one of the Technical Leaders. 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.
Policies
- During "Freeze" the only changes are to fix release-blocking issues. No other changes to source code, installer, build scripts, translation files or manual scripts.
- 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).
Process (James)
- Tech Leaders designate a Release Manager. Release Manager announces he/she is RM.
- RM announces proposed timeline.
- Semifreddo (one week's duration). No new features. Active work on strings to get them ready for translation. Minor tweaks to parameters and features.
- Typically we will delay Semifreddo by 2 week steps if we are not ready for it, e.g. if we have open P1s.
- At end of Semifreddo, pot file is updated and .po files regenerated, and announced to translators.
- Frozen (two week's duration). Only P1 fixes. [RM may review and allow some P2 fixes too]. No GUI changes. Translation in progress. Updates to manual in progress. Trial of installers etc (using old manual and translations).
- P1's during Frozen could cause us to abandon the release attempt, as they indicate serious problems that should have been cleared by this stage. RM decides.
- Active discussion of future plans is perfectly OK during this time.
- RM reviews all P2s, talking with QA team. RM may block on a P2. This could extend the frozen time, possibly in 1 week steps, or lead to abandoning the release attempt. RM decides.
- RM prepares (but does not make live) update of website. Links may need checking/review.
- RM prepares (but does not make live) Wiki release notes. These can still be updated later.
- RM prepares (but does not send) Release announcement. This can still be updated later.
- RM prepares and commits README.txt, creating new "Changes in version" text and moving the old text to the top of Section 6 "Previous Changes". The list of Known Issues at time of release is now prepared in the Wiki Release Notes for that version, so just link to that page in README.txt.
- Towards the end of frozen:
- Bump the version number on the front page of the Manual.
- Follow Create Local Manual.
- At end of frozen, manual and translations are ready and we have update of website and wiki ready to go.
- RC1 preparation:
- In Audacity.h, set IS_ALPHA to 0.
- Build Win exe (installer) and zip
- Build Mac dmg and zip
- Set AC_INIT to the new Audacity version number in configure.ac prior to building the Linux min-src tarball.
- RC1. (one week to test).
- Details are in Release Candidates
- We hope not, but if necessary to clear a P1, RC2 and RC3, with total test time for both combined of one extra week.
- This and the next two steps should be expected to take about 24-36 hours.
- Post final builds/installers (including manual.zip) to FossHub.
- Delete the RCs including the manual (don't forget deprecated ones) to avoid user confusion and to conserve space.
- ??? Set all the previous version files to "Deprecated".
- ??? Set all the new version files to "Featured".
- Post final builds/installers (including manual.zip) to FossHub.
- Upload the manual from which the final manual.zip was created to manual.audacityteam.org to provide an online version of the released manual. The internal structure of the manual is complex, but currently the best option for future releases is to open the dumped manual at audacity-src/help/manual, copy the four folders (images, m, man, manual) and three files (quick_help.html, index.html, favicon.ico) to the "htdocs/o" directory on the server.
- Post the Release Announcements.
- Tag the release, per that section, below.
- Lift code/translations/manual freezes.
- Release is complete.
- In src/Audacity.h, set IS_ALPHA to 1.
- Increment the version number in audacity.dox, src/Audacity.h, and win/compile.txt.
Release Candidates
We currently don't ship modules (e.g., audacity-src/lib-src/mod-nyq-bench), so for Windows and Mac, RC builders should make sure no module is included in the RC.
- Build release candidates:
- Windows Installer (includes manual)
- Windows Zip (no manual)
- Mac DMG (includes manual)
- Mac Zip (no manual)
- Linux Minimal source tarball
- Upload RC's to FossHub with descriptive string making clear the version and that they are RCs for testing. Post the links to these on audacity-devel, audacity-quality, audacity-translation, and the Forum.
- 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 Announcements
- website changes
- new release announcement, summarizing most important points from the committed README.txt
- wiki release notes
- Create new wiki release notes page, e.g., http://wiki.audacityteam.org/wiki/Release_Notes_2.0.4.
- Copy the new "Changes in version" text from the README.txt into the new wiki release notes.
- Go to http://bugzilla.audacityteam.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=Release%20Notes&sharer_id=5 to see the P1/2/3 bugs (including WONTFIX with those ratings).
- Export the CSV.
- Feed it through http://www.catalase.com/bugzilla2wiki.htm to convert (some) to Wiki formatting. Copy and paste its output into the Release Notes to replace the contents of the section "2 Known Issues at Release". If that section contains a sub-section "2.1 Headline issues", paste underneath the Headline issues because that text should be retained. Remove the second half of the paste which is the same content with colored tables, bug ratings and bugzilla links.
- Tidy up the formatting of the paste so there are no duplicate categories, missing or duplicate bullet points, broken links etc. Fix formatting/link problems in the bug's release note on bugzilla (that can be done after release). The most recent bugs are at the bottom of each bug category. Optionally, new important bugs could be moved to the top of their category.
- Clear the text on http://wiki.audacityteam.org/wiki/Known_Issues.
- Add a link to the new Release Notes page, to http://wiki.audacityteam.org/wiki/Release_Notes.
- When the above are completed, publish the WordPress website changes that were prepared earlier.
- Make the Forum announcement.
- Announce the release to audacity-* mailing lists, SourceForge, the Dreamhost list, and optionally Twitter, and Facebook pages.
Tag the Release
Since 2.0.0, we tag the release,.
- In GitHub create a new version tag.
- Ask Buanzo to make an offsite backup of the WordPress database.