Release Cycle

From OpenSimulator

Revision as of 20:32, 10 October 2009 by Chi11ken (Talk | contribs)

Jump to: navigation, search



This is the current proposed OpenSim lightweight Release Cycle recipe.

The goal is to run a cycle that churns out recommended code snapshots with reasonably regular intervals, and with a minimum of work for any one human resource. It should be a community effort, and anyone should be able to move the cycle forward.

If you're not acquainted with svn revision numbering schemes, see On revisions, tags and branches for additional info.

The Cycle:

  1. Developers and Testers work on /trunk ("testers" being defined as "users feeding off trunk", also lovingly known as "trunkheads")
  2. /trunk revisions will always have the Flavour "Dev" reflected in the version info string.
  3. Using the opensim-dev e-mailing list, developers and Testers identify identify and reach concensus on suitable release candidate revisions, from the repository history. (for example, people on osgrid.org discuss this on their weekly meet-ups)
  4. This revision is branched off as a "release candidate" (to /branches/0.6.5-rc1 in this case), version number is upped, flavour is changed to "rc1". Version number and flavour changes and committed only to this branch. We don't want to up the version number in trunk until we know we have a release.
  5. A template e-mail is sent to the opensim-dev mailing list, stating that there is now an rc.
  6. Testers now switch their focus to running the rc until they can give feedback on whether "rc sux" or "rc rox". Key issues:
    • Has all version numbers been updated?
    • Does it play well with last version? Do we need to up the interface version as well?
    • Does it feel better or worse than last version?
    • Any critical errors that needs fixing first?
  7. If any critical but fixable errors are found, these are fixed in trunk and the fixing revision is merged into the release candidate branch. (or vice versa, if that works out better)
  8. If, even after this, testers agree that "rc sux" the project goes back to 1) to wait and look for the next rc (thusly named rc2)
  9. If testers agree that "rc rox" the flavour of the current rc branch Flavour is changed to "Release", and this is tagged as "-release" (to /tags/0.6.5-release in this case)
  10. The flavour of the "-rc1" branch is then changed to "Post_Fixes" and after this renamed to "-post-fixes" (to /branches/0.6.5-post-fixes in this case) for continued service awaiting the next cycle. The svn rename lets us keep the revision history back thru the rc branch history.
  11. The version number (and optionally interface version) uppage is merged back into trunk. (this is a minor merge which will probably always succeed without conflict) - but the Flavour is kept at "Dev" in the trunk.
  12. A template e-mail is sent out to the opensim-dev mailing list stating that there is now a new release.
  13. The project goes back to 1)

The output of this would be named version flavours for each of these user categories:

  • Grid/Region owners running services in production Feed off "-post-fixes" if they want stability first, or off "-release" if they want a known 'upgrade track'.
  • Developers Feed off /trunk ("Dev"), or off -rcX or -post-fixes if they want some stability while hunting bugs or doing protoyping.
  • Testers Testers are committed to helping the devs find bugs at the prize of instabilities, crashes and loss of data. They therefore feed off the /trunk ("Dev") development branch or -rcX depending on whether there is an RC pending release or not. (ie, is the latest version an RC, use that, if not, use /trunk) Everyone feeding off /trunk are collectively labeled 'testers', and any installation running on anything but a 'release' or 'post-fixes' revision is considered a 'test installation'.
Personal tools
General
About This Wiki