Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Archive release process: Difference between revisions

From MoodleDocs
(Adding check for ui_change)
Line 7: Line 7:
# Freeze stable development and post in the [http://moodle.org/mod/forum/view.php?id=55 General developer forum] to inform everyone of the freeze
# Freeze stable development and post in the [http://moodle.org/mod/forum/view.php?id=55 General developer forum] to inform everyone of the freeze
# Review and complete the [[:Category:Release notes|release notes]] of the upcoming version using the [[Release notes template|template]]
# Review and complete the [[:Category:Release notes|release notes]] of the upcoming version using the [[Release notes template|template]]
## Ensure all issues labelled with "ui_change" are listed as functional changes in the release notes.
# Begin preparing the security advisories to be sent on release day
# Begin preparing the security advisories to be sent on release day
# [[Weekly Code Review|Test / QA]] etc.
# [[Weekly Code Review|Test / QA]] etc.

Revision as of 09:13, 12 July 2012

This page describes the standard procedures for making Moodle releases.

For a stable release on an existing branch XY with point value Z (eg. X.Y.Z)

One week before

  1. Notify Moodle developers and Moodle Partners about the upcoming release
  2. Freeze stable development and post in the General developer forum to inform everyone of the freeze
  3. Review and complete the release notes of the upcoming version using the template
    1. Ensure all issues labelled with "ui_change" are listed as functional changes in the release notes.
  4. Begin preparing the security advisories to be sent on release day
  5. Test / QA etc.

During the week prior release

  1. Normal integration / testing / upstream / weekly cycle. It will constitute, somehow, the "release candidate" to be packaged and released.

Packaging day

This should happen immediately before the next integration cycle begins on Monday (i.e., some days after last weekly, 2 days prior to official release).

  1. Make sure there are not real blockers introduced by last weekly (install / upgrade ...)
  2. Make sure all the Unit tests pass!
  3. Run the mdlrelease process, that will do, for a release:
    • Edit version.php, update release and version to new point release and commit in the integration repository
    • Tag the integration repository with a tag name vX.Y.Z using "MOODLE_XYZ" as a tag message
    • push change to main git repo, github and Gitorious
    • sync CVS mirror (copy the version.php file and update githash.php to point to the release commit)
    • cvs tag -FR MOODLE_XYZ to tag everything in the release
    • cvs tag -FR MOODLE_XY_WEEKLY to make the weekly version match the release
  4. cvs -q update -dP all code on download server
  5. Run moodle-makenightlystableXY
  6. Go to download/stableXY
  7. Copy current daily as release package:
    • cp moodle-latest-XY.zip moodle-X.Y.Z.zip
    • cp moodle-latest-XY.tgz moodle-X.Y.Z.tgz
  8. Edit download index.php page with new release info and links
  9. Run moodle-makewindowspackages so all the windows packages will be rebuilt
  10. Edit download windows/index.php page with new release info (always keeping the "+")
  11. Run SF's mirror script
  12. Visit releases page on tracker and make the release, bumping all remaining open bugs to the next point release. This must be done both for the Moodle Project and the Non-core contributed modules project.
  13. Add the release date, build number and link to Releases
  14. Clone MDL-34199, MDL-34200, MDL-34201, MDL-34202 for next minor release X.Y.(Z+1) handling of security issues & security advisories.
  15. Post an "advanced release" message on the Partner forum

Release day

  1. Verify packaging has happened
  2. Notify all registered sys admins
  3. (deprecated) Update the Latest Release block on Moodle.org news
  4. Post about the release in the moodle.org news

One week after release day

  1. Update the version.php in git to be X.Y.Z+ during the next weekly integration process
  2. Add all security advisories to Security news and release notes with links to security advisories
  3. Create a new release notes page for the next version X.Y.(Z+1) (here you can find one template for that)

See also