Return-Path: Delivered-To: apmail-hadoop-core-commits-archive@www.apache.org Received: (qmail 93038 invoked from network); 16 May 2008 16:26:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 16:26:00 -0000 Received: (qmail 93672 invoked by uid 500); 16 May 2008 16:26:02 -0000 Delivered-To: apmail-hadoop-core-commits-archive@hadoop.apache.org Received: (qmail 93649 invoked by uid 500); 16 May 2008 16:26:01 -0000 Mailing-List: contact core-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-commits@hadoop.apache.org Received: (qmail 93640 invoked by uid 99); 16 May 2008 16:26:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 09:26:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 16:25:23 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 015D3D2F9 for ; Fri, 16 May 2008 16:25:39 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Fri, 16 May 2008 16:25:38 -0000 Message-ID: <20080516162538.27534.40277@eos.apache.org> Subject: [Hadoop Wiki] Update of "HowToRelease" by NigelDaley X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification. The following page has been changed by NigelDaley: http://wiki.apache.org/hadoop/HowToRelease The comment on the change is: Restructured to better reflect actions for major vs minor releases ------------------------------------------------------------------------------ = Preparation = - When a release will be from a new or recent branch, make the following changes in trunk and then merge them to the branch. But when the release will be from an older branch, especially when there is already a more recent branch, make these changes directly in the branch. + 1. Bulk update Jira to unassign from this release all issues that are open non-blockers and send follow-up notification to the developer list that this was done. - 1. Bulk update Jira to unassign from this release all issues that are open non-blockers and send follow-up notification to the developer list that this was done. - 1. Update the version number in {{{src/docs/src/documentation/content/xdocs/tabs.xml}}} if needed. + = Branching = + + Skip this section if this is NOT the first release in a series (i.e. release X.Y.0). + + 1. Update {{{CHANGES.txt}}} to include the release version and date. 1. Regenerate the documentation. {{{ ant docs }}} - 1. Update version number in {{{build.xml}}} to be ''hadoop-X.Y.N-dev'', where ''N'' is one greater than the release being made. - 1. Update {{{CHANGES.txt}}} to include the release version and date. 1. Commit these changes. {{{ svn commit -m "Preparing for release X.Y.Z" }}} + 1. Create a branch for the release series: {{{ - 1. If working in trunk, merge these changes to the branch. - - = Branching & Merging = - - 1. If this is the first release in a series (i.e. release X.Y.0), then create a branch for the series: {{{ svn copy https://svn.apache.org/repos/asf/hadoop/core/trunk \ https://svn.apache.org/repos/asf/hadoop/core/branches/branch-X.Y -m "Branching for X.Y releases" }}} - 1. After branching the new release series, update the default version in build.xml on trunk to X.Y+1.0-dev. + 1. Update the default version in {{{build.xml}}} on trunk to X.Y+1.0-dev. + 1. Update the version number in {{{src/docs/src/documentation/content/xdocs/tabs.xml}}} on trunk to X.Y+1.0. + + = Updating Release Branch = + + These operations take place in the release branch. + 1. Check out the branch with: {{{ svn co https://svn.apache.org/repos/asf/hadoop/core/branches/branch-X.Y }}} + 1. Update {{{CHANGES.txt}}} to include the release version and date. + 1. Regenerate the documentation. {{{ + ant docs + }}} + 1. Update {{{docs/releasenotes.html}}} with release notes for this release. + 1. Update the version number in {{{build.xml}}} to be ''hadoop-X.Y.N-dev'', where ''N'' is one greater than the release being made. + 1. Commit these changes. {{{ + svn commit -m "Preparing for release X.Y.Z" + }}} - 1. Merge desired patches from trunk into the branch and commit these changes. You can find the revision numbers using {{{svn log CHANGES.txt}}} in the branch and in trunk. {{{ + 1. If not already done, merge desired patches from trunk into the branch and commit these changes. You can find the revision numbers using {{{svn log CHANGES.txt}}} in the branch and in trunk. {{{ cd branch-X.Y svn merge -rR1:R2 ../trunk . svn commit -m "Merge -r R1:R2 from trunk to X.Y branch. Fixes: HADOOP-A, HADOOP-B."