From Habari Project
A couple of points need clarification on this page.
- I've changed the freeze to be the creation of a branch rather than a tag. This is because generally a tag is the snapshot of a particular point in the repository rather than somewhere that further changes will be made. The changes in this case are things like changing version numbers, so they're not major, and perhaps it would be more appropriate to do the work in a tag. However ...
- What happens if the testing procedure uncovers problems? Should work be done in the branch or tag to fix it and then those fixes be merged back into trunk or vice versa? If work is to be done in the release branch or tag, this suggests it should be a branch.
michaeltwofish 00:22, 17 March 2008 (UTC)
Here's my current thinking, which is open for comment: An svn tag does not codify a release. That meaning that if we want to treat a tag like a branch, then we should be able to. What *does* codify a release is changing the beacon which alerts all Habari users to the presence of a new release. This does seem a little disjointed, but I think it serves us best since our branches are now "public", and tagging in svn is just creating another branch. After the beacon update (which presumably corresponds to the publishing of a downloadable archive), any changes would need to be in a new tag/branch/trunk. --ringmaster 01:09, 17 March 2008 (UTC)
Yes, we can make a tag mean whatever we want it to mean, so I think that sounds reasonable. Can we make a branch/tag read only once the beacon has been updated? --michaeltwofish 01:16, 17 March 2008 (UTC)
While Owen is right that an SVN tag does not codify a release, common convention is to do work in branches and have tags be static and final. So my favoured way to release is: copy (branch) the base (either trunk or the previous release branch, for .z point releases) to a new branch, land patches on that, test and let it settle, then copy to a tag to signify "it's done". Build release from tag, update beacon, etc. --moeffju 23:59, 17 March 2008 (UTC)