hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HowToReleasePostMavenization" by ThomasGraves
Date Thu, 14 Feb 2013 14:56:17 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToReleasePostMavenization" page has been changed by ThomasGraves:

  	1. In [[https://repository.apache.org|Nexus]], effect the release of artifacts by right-clicking
the staged repository and select {{{Release}}}
  	1. Wait 24 hours for release to propagate to mirrors.
          1. Prepare to edit the website. {{{
- svn co https://svn.apache.org/repos/asf/hadoop/common/site/main
+ svn co  http://svn.apache.org/repos/asf/hadoop/common/site/main
  	1. Update the documentation links in {{{author/src/documentation/content/xdocs/site.xml}}}.
  	1. Update the release news in {{{author/src/documentation/content/xdocs/releases.xml}}}.
+         1. Copy the new release docs to svn and update the {{{docs/current}}} link, by doing
the following: {{{
+ tar xvf /www/www.apache.org/dist/hadoop/core/hadoop-${version}/hadoop-${version}.tar.gz

+ cp -rp hadoop-${version}/share/doc/hadoop publish/docs/r${version}
+ rm -r hadoop-${version}
+ rm current
+ ln -s r${version} current
+ }}}
  	1. Regenerate the site, review it, then commit it. {{{
  ant -Dforrest.home=/usr/local/forrest -Djava5.home=/usr/local/jdk1.5
  firefox publish/index.html
  svn commit -m "Updated site for release X.Y.Z."
- 	1. Deploy your site changes. {{{
- ssh people.apache.org
- cd /www/hadoop.apache.org/
- svn up
- }}}
- 	1. Copy the new release docs to {{{people.apache.org:/www/hadoop.apache.org/common/docs/rX.Y.Z}}}
and update the {{{docs/current}}} link, by doing the following in your home directory on people.apache.org:
- ssh people.apache.org
- tar xvf /www/www.apache.org/dist/hadoop/core/hadoop-${version}/hadoop-${version}.tar.gz

- chmod -R ug=rwX,o=rX hadoop-${version}
- chgrp -R hadoop hadoop-${version}
- cp -rp hadoop-${version}/share/doc/hadoop /www/hadoop.apache.org/docs/r${version}
- rm -r hadoop-${version}
- cd /www/hadoop.apache.org/docs/
- ln -s r${version} current
- }}}
-         1. Generate the jdiff API data for the new release by, in the branch directory,
running {{{
- ant -Dversion${version} api-xml
- }}} then commit the new XML file generated in lib/jdiff to both trunk and to the branch
(and any intermediate branches between trunk and the branch being released). {{{
- svn commit -m "JDiff output for release X.Y.Z"
- }}}
- 	1. Update the {{{jdiff.stable}}} value in the X.Y+1 branch's {{{build.xml}}} (which may
be trunk) to be the published release (ie. X.Y.Z).
  	1. Send announcements to the user and developer lists once the site changes are visible.
          1. In Jira, ensure that only issues in the "Fixed" state have a "Fix Version" set
to release X.Y.Z.
          1. In Jira, "release" the version.  Visit the "Administer Project" page, then the
"Manage versions" page.   You need to have the "Admin" role in Hadoop Core's Jira for this
step and the next.

View raw message