rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r790959 - in /websites/staging/rave/trunk/content/rave: release-management.html release-process.html release-setup.html
Date Tue, 14 Jun 2011 21:29:04 GMT
Author: buildbot
Date: Tue Jun 14 21:29:04 2011
New Revision: 790959

Log:
Staging update by buildbot

Added:
    websites/staging/rave/trunk/content/rave/release-management.html
    websites/staging/rave/trunk/content/rave/release-process.html
    websites/staging/rave/trunk/content/rave/release-setup.html

Added: websites/staging/rave/trunk/content/rave/release-management.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/release-management.html (added)
+++ websites/staging/rave/trunk/content/rave/release-management.html Tue Jun 14 21:29:04 2011
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/rave/images/RAVE-icon.ico" type="image/x-icon" />
+  <link href="/rave/css/rave.css" rel="stylesheet" type="text/css">
+  <title>Release Management</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave (Incubating)" src="/rave/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="index.html">About</a></li>
+<li><a href="http://incubator.apache.org/projects/rave.html">Incubator page</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="get-involved.html">Get Involved</a></li>
+<li><a href="mailing-lists.html">Mailing Lists</a></li>
+<li><a href="people.html">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="source.html">Source Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/rave">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous
Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar Dashboard</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/rave/images/apache-incubator-logo.png"/>
+    </a>
+  </div>
+
+  <div id="content">
+    <h1 class="title">Release Management</h1>
+    <p>Release artifacts are distributed via the Apache Nexus repository for both SNAPSHOT
and versioned releases.  In addition to Nexus, a source and standalone binary release will
be made available via the <a href="http://www.apache.org/dist/incubator/rave">Apache
Distribution Area</a>. </p>
+<p>To familiarize yourself with the notions and requirements for releasing artifacts,
please checkout the Apache Release FAQ.</p>
+<p>Since we are an Incubator project, also checkout the Incubator Release Guidelines.</p>
+<h3 id="apache_rave_release_guidelines">Apache Rave Release Guidelines</h3>
+<ul>
+<li><a href="release-setup.html">Release Manager Configuration Guide</a></li>
+<li><a href="release-process.html">Release Process</a></li>
+</ul>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/rave/trunk/content/rave/release-process.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/release-process.html (added)
+++ websites/staging/rave/trunk/content/rave/release-process.html Tue Jun 14 21:29:04 2011
@@ -0,0 +1,336 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/rave/images/RAVE-icon.ico" type="image/x-icon" />
+  <link href="/rave/css/rave.css" rel="stylesheet" type="text/css">
+  <title></title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave (Incubating)" src="/rave/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="index.html">About</a></li>
+<li><a href="http://incubator.apache.org/projects/rave.html">Incubator page</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="get-involved.html">Get Involved</a></li>
+<li><a href="mailing-lists.html">Mailing Lists</a></li>
+<li><a href="people.html">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="source.html">Source Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/rave">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous
Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar Dashboard</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/rave/images/apache-incubator-logo.png"/>
+    </a>
+  </div>
+
+  <div id="content">
+    <h1 class="title"></h1>
+    <p>Title:Release Process
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.</p>
+<h3 id="incubator_release_steps">Incubator Release Steps</h3>
+<ol>
+<li>Environment setup for releasing artifacts (same for SNAPSHOTs and releases) -</li>
+<li>
+<p>Increase the default Java heap available to Maven (required for Java SE 6)<br
/>
+</p>
+<p><code>export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"</code></p>
+</li>
+<li>
+<p>Use the latest Sun 1.6.0 JDK</p>
+</li>
+<li>Use Maven 3.0.3 or later</li>
+<li>
+<p>Make sure the <a href="release-setup.html">Release Setup</a> steps have
been performed.</p>
+</li>
+<li>
+<p>Prepare the source for release:</p>
+</li>
+<li>Cleanup JIRA so the Fix Version in issues resolved since the last release includes
this release version correctly. Also, transition any Resolved issues to the Closed state.</li>
+<li>Update the text files in a working copy of the project root -<ol>
+<li>Update the CHANGES.txt based on the Text release reports from JIRA.</li>
+<li>Review and update README.txt if needed.</li>
+<li>Commit any changes back to svn </li>
+</ol>
+</li>
+<li>
+<p>Stage any Roadmap or Release landing pages on the site.</p>
+</li>
+<li>
+<p>Checkout a clean copy of the trunk/branch to release using command line svn. <br
/>
+</p>
+</li>
+</ol>
+<p><em>Do not use Eclipse to do the checkout. The extra dot (.) files created
by Eclipse throws off the rat:check processing.</em>
+4. Use <code>mvn verify</code> to verify the source has the required headers
before trying to release.
+5. Do a dry run of the release:prepare step.<br />
+</p>
+<p>The dry run will not commit any changes back to SVN and gives you the opportunity
to verify that the release process will complete as expected. You will be prompted for the
following information :
+      * Release version - take the default 
+      * SCM release tag - <em>DO NOT TAKE THE DEFAULT</em>  -: : 0.1-incubating
+      * New development version - take the default 
+      * GPG Passprhase</p>
+<p><code>$ mvn -Papache-release release:prepare -DdryRun=true</code></p>
+<div class="codehilite"><pre><span class="o">*</span><span class="n">If</span>
<span class="n">you</span> <span class="n">cancel</span> <span
class="n">a</span> <span class="n">release:prepare</span> <span class="n">before</span>
<span class="n">it</span> <span class="n">updates</span> <span
class="n">the</span> <span class="n">pom</span><span class="o">.</span><span
class="n">xml</span> <span class="n">versions</span><span class="p">,</span>
<span class="k">then</span> <span class="k">use</span> <span class="n">the</span>
<span class="n">release:clean</span> <span class="n">goal</span> <span
class="n">to</span> <span class="n">just</span> <span class="n">remove</span>
<span class="n">the</span> <span class="n">extra</span> <span class="n">files</span>
<span class="n">that</span> <span class="n">were</span> <span class="n">created</span><span
class="o">.*</span>
+</pre></div>
+
+
+<ol>
+<li>
+<ol>
+<li>The release plugin will create pom.xml.tag files which contain the changes that
would have been committed to SVN. The only differences between pom.xml.tag and it's corresponding
pom.xml file should be the version number.</li>
+<li>
+<p>If other formatting changes have been made you should review the changes and then
commit them - <br />
+</p>
+<div class="codehilite"><pre><span class="sb">`$ svn commit -m &quot;fixing
formatting for release&quot;`</span>
+</pre></div>
+
+
+</li>
+</ol>
+<p>Verify that the release process completed as expected</p>
+<ol>
+<li>Check release.properties and make sure that the scm properties have the right version.
Sometimes the scm location can be the previous version not the next version.</li>
+<li>verify signatures (<a href="http://incubator.apache.org/bval/cwiki/release-process.html#ReleaseProcess-Verifyingreleasesignatures">Verifying
release signatures</a>)</li>
+</ol>
+</li>
+<li>
+<p>Once any failures or required updates have been committed to svn, rollback the release
prepare files -<br />
+</p>
+</li>
+</ol>
+<p><code>$ mvn -Papache-release release:rollback</code></p>
+<ol>
+<li>Prepare the release</li>
+<li>
+<p>Run the "release:prepare" step for real this time. You'll be prompted for the same
version information.</p>
+<p><em>Different arguments and steps are required as there are problems with
the maven-jar-plugin and maven-release-plugin when using the test-jar goal. See http://jira.codehaus.org/browse/MJAR-68
and http://jira.codehaus.org/browse/MRELEASE-285.</em></p>
+<p><code>$ mvn release:prepare -Papache-release -DskipTests=true -DpreparationGoals="clean
install cargo:package"</code></p>
+</li>
+<li>
+<p>Backup (zip or tar) your local release candidate directory in case you need to rollback
the release after the next step is performed.</p>
+</li>
+<li>
+<p>Perform the release</p>
+</li>
+</ol>
+<p>This step will create a maven staging repository and site for use in testing and
voting. </p>
+<p><code>$ mvn release:perform -Papache-release -Duser.name=&lt;your_apache_uid&gt;</code></p>
+<div class="codehilite"><pre><span class="o">*</span><span class="n">If</span>
<span class="n">your</span> <span class="nb">local</span> <span
class="n">OS</span> <span class="n">userid</span> <span class="n">doesn</span><span
class="s">&#39;t match your Apache userid, then you&#39;</span><span class="n">ll</span>
<span class="n">have</span> <span class="n">to</span> <span class="n">also</span>
<span class="n">override</span> <span class="n">the</span> <span
class="n">value</span> <span class="n">provided</span> <span class="n">by</span>
<span class="n">the</span> <span class="n">OS</span> <span class="n">to</span>
<span class="n">Maven</span> <span class="k">for</span> <span class="n">the</span>
<span class="n">site</span><span class="o">-</span><span class="n">deploy</span>
<span class="n">step</span> <span class="n">to</span> <span class="n">work</span><span
class="o">.</span> <span class="n">This</span> <span class="n">is</span>
<span class="n">known</span> <span class="
 n">to</span> <span class="n">work</span> <span class="k">for</span>
<span class="n">Linux</span><span class="p">,</span> <span class="n">but</span>
<span class="ow">not</span> <span class="k">for</span> <span class="n">Mac</span>
<span class="ow">and</span> <span class="n">unknown</span> <span
class="k">for</span> <span class="n">Windows</span><span class="o">.*</span>
+
+    <span class="o">*</span><span class="n">The</span> <span class="n">maven</span><span
class="o">-</span><span class="n">release</span><span class="o">-</span><span
class="n">plugin</span> <span class="n">is</span> <span class="n">configured</span>
<span class="n">with</span> <span class="n">goals</span> <span
class="s">&quot;deploy site site:deploy&quot;</span> <span class="ow">and</span>
<span class="n">will</span> <span class="n">deploy</span> <span
class="n">the</span> <span class="n">site</span> <span class="n">files</span>
<span class="n">to</span> <span class="n">a</span> <span class="n">staging</span><span
class="o">-</span><span class="n">site</span> <span class="n">directory</span>
<span class="n">on</span> <span class="n">people</span><span class="o">.</span><span
class="n">apache</span><span class="o">.</span><span class="n">org</span><span
class="o">.*</span>
+</pre></div>
+
+
+<ol>
+<li>Verify the release artifacts</li>
+<li>Verify the HTML links in site are correct</li>
+<li>Verify the staged artifacts in the nexus repo        <br />
+           1. https://repository.apache.org/index.html
+           2. Enterprise --&gt; Staging
+           3. Staging tab --&gt; Name column --&gt; org.apache.bval
+           4. Navigate through the artifact tree and make sure that all javadoc, sources,
tests, jars, ... have .asc (GPG signature) and .md5 files. See http://people.apache.org/~henkp/repo/faq.html
and http://www.apache.org/dev/release-signing.html#openpgp-ascii-detach-sig</li>
+<li>Close the nexus staging repo<ol>
+<li>https://repository.apache.org/index.html</li>
+<li>Enterprise --&gt; Staging</li>
+<li>Staging tab --&gt; Name column --&gt; org.apache.bval</li>
+<li>Right click on the open staging repo (org.apache.bval-XXX) and select Close.</li>
+</ol>
+</li>
+<li>
+<ol>
+<li>Create a VOTE email thread on bval-dev@ to record votes as replies, like <a
href="release-vote.txt">this</a></li>
+<li>Create a DISCUSS email thread on bval-dev@ for any vote questions, <a href="release-discuss.txt">this</a></li>
+<li>Perform a review of the release and cast your vote. See the following for more
details on Apache releases </li>
+</ol>
+<p>Put the release candidate up for a vote</p>
+<p><a href="http://www.apache.org/dev/release.html">http://www.apache.org/dev/release.html</a>
+ <a href="http://incubator.apache.org/guides/releasemanagement.html">http://incubator.apache.org/guides/releasemanagement.html</a></p>
+<ol>
+<li>A -1 vote does not necessarily mean that the vote must be redone, however it is
usually a good idea to rollback the release if a -1 vote is received. See - Recovering from
a vetoed release</li>
+<li>
+<ol>
+<li>reply to the initial email and prepend to the original subject -</li>
+</ol>
+<p>After the vote has been open for at least 72 hours, has at least three +1 PMC votes
and no -1 votes, then post the results to the vote thread by -</p>
+<p>[RESULTS]</p>
+<ol>
+<li>Include a list of everyone who voted +1, 0 or -1.</li>
+</ol>
+</li>
+</ol>
+</li>
+<li>
+<p>Put the release candidate up for an Incubator PMC vote</p>
+<ol>
+<li>
+<p>Create a VOTE email thread on general@incubator to record votes as replies, like
<a href="vote-ipmc.txt">this</a></p>
+</li>
+<li>
+<p>After the vote has been open for at least 72 hours, has at least three +1 Incubator
PMC votes and no -1 votes, then post the results to the vote thread by -</p>
+<ol>
+<li>replying to the initial email and prepend to the original subject -</li>
+</ol>
+<p>[RESULTS]</p>
+<ol>
+<li>Include a list of everyone who voted +1, 0 or -1.</li>
+</ol>
+</li>
+</ol>
+</li>
+<li>
+<p>Finalizing a release</p>
+</li>
+<li>
+<ol>
+<li>https://repository.apache.org/index.html</li>
+<li>Enterprise --&gt; Staging</li>
+<li>Staging tab --&gt; Name column --&gt; org.apache.bval</li>
+<li>Right click on the closed staging repo (org.apache.bval-XXX) and select Promote.</li>
+</ol>
+<p>Promote the staged nexus artifacts -</p>
+<ol>
+<li>Copy the distribution artifacts over to the distribution area</li>
+</ol>
+<p>$ ssh ${user.name}@people.apache.org<br />
+  $ mkdir /www/www.apache.org/dist/incubator/bval/${project.version} <br />
+  $ cd /www/www.apache.org/dist/incubator/bval/${project.version} <br />
+  $ wget https://repository.apache.org/content/repositories/releases/org/apache/bval/bval-parent/${project.version}/bval-parent-${project.version}-source-release.zip
 <br />
+  $ wget https://repository.apache.org/content/repositories/releases/org/apache/bval/bval-parent/${project.version}/bval-parent-${project.version}-source-release.zip.asc
<br />
+  $ wget https://repository.apache.org/content/repositories/releases/org/apache/bval/bval-parent/${project.version}/bval-parent-${project.version}-source-release.zip.md5
<br />
+  $ wget https://repository.apache.org/content/repositories/releases/org/apache/bval/bval-parent/${project.version}/bval-parent-${project.version}-source-release.zip.sha1
 <br />
+</p>
+<p><strong>Make sure all the copied files have g+rw set and only o+r set</strong></p>
+<p>$ find . -user ${user.name} -type f | xargs chmod 664
+  $ find . -user ${user.name} -type d | xargs chmod 775</p>
+<p><em>Note: All of the artifacts are in the maven repos, but we may create an
assembly to publish in future releases</em></p>
+<ol>
+<li>Publish the staged website </li>
+</ol>
+</li>
+<li>
+<p>Update the JIRA versions page to mark the version as "released", and set the date
to the date that the release was approved. You may also need to make a new release entry for
the next release.</p>
+</li>
+<li>Announcing the release</li>
+<li>After the mirrors have had time to update (24 hours to be on the safe side) update
the wiki with pointers to the new release</li>
+<li>Make a news announcement on the BeanValidation wiki.</li>
+<li>Make an announcement about the release on the bval-users@incubator.apache.org,
bval-dev@incubator.apache.org, general@incubator.apache.org, and announce@apache.org list
as per the Apache Announcement Mailing Lists page)</li>
+</ol>
+<h4 id="recovering_from_a_vetoed_release">Recovering from a vetoed release</h4>
+<ol>
+<li>
+<p>Reply to the initial vote email and prepend to the original subject -</p>
+<p>[CANCELED]</p>
+</li>
+<li>
+<p>Rollback the version upgrades in trunk by either -</p>
+<ol>
+<li>
+<p>Restore the 0.1-rc1.tar.gz and run</p>
+<p>$ mvn -Papache-release release:rollback</p>
+</li>
+<li>
+<p>Manually revert the versions in trunk to the prior version and commit</p>
+</li>
+</ol>
+</li>
+<li>
+<p>Delete the svn tag created by the release:perform step -</p>
+<p>$ svn del https://svn.apache.org/repos/asf/incubator/bval/tags/0.1-incubating -m
"deleting tag from rolled back release"</p>
+</li>
+<li>
+<p>Drop the nexus staging repo</p>
+<ol>
+<li>https://repository.apache.org/index.html</li>
+<li>Enterprise --&gt; Staging</li>
+<li>Staging tab --&gt; Name column --&gt; org.apache.bval</li>
+<li>Right click on the closed staging repo (org.apache.bval-XXX) and select Drop.</li>
+</ol>
+</li>
+<li>
+<p>Remote the staged site</p>
+</li>
+<li>
+<p>Make the required updates that caused the vote to be canceled</p>
+</li>
+<li>Spin another release candidate!</li>
+</ol>
+<h4 id="verifying_release_signatures">Verifying release signatures</h4>
+<p>On unix platforms the following command can be executed -</p>
+<div class="codehilite"><pre>  for file in `find . -type f -iname &#39;*.asc&#39;`
+  do
+      gpg --verify <span class="cp">${</span><span class="nb">file</span><span
class="cp">}</span> 
+  done
+</pre></div>
+
+
+<p>You'll need to look at the output to ensure it contains only good signatures -</p>
+<p>gpg: Good signature from ...
+gpg: Signature made ...</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/rave/trunk/content/rave/release-setup.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/release-setup.html (added)
+++ websites/staging/rave/trunk/content/rave/release-setup.html Tue Jun 14 21:29:04 2011
@@ -0,0 +1,181 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/rave/images/RAVE-icon.ico" type="image/x-icon" />
+  <link href="/rave/css/rave.css" rel="stylesheet" type="text/css">
+  <title></title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave (Incubating)" src="/rave/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="index.html">About</a></li>
+<li><a href="http://incubator.apache.org/projects/rave.html">Incubator page</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="get-involved.html">Get Involved</a></li>
+<li><a href="mailing-lists.html">Mailing Lists</a></li>
+<li><a href="people.html">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="source.html">Source Code</a></li>
+<li><a href="https://issues.apache.org/jira/browse/rave">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous
Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar Dashboard</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/rave/images/apache-incubator-logo.png"/>
+    </a>
+  </div>
+
+  <div id="content">
+    <h1 class="title"></h1>
+    <p>Title:Release Guide
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+These setup steps only need to be performed on a particular machine once.</p>
+<p><em>Developers using Linux workstations can skip over the references to Cygwin.
If using Windows, install cygwin, including Utils/gnupg and Net/openssh packages.</em></p>
+<h4 id="create_and_install_a_ssh_key">Create and install a SSH key</h4>
+<ol>
+<li>Open a shell window. If using Windows, open a cygwin window.</li>
+<li>Use ssh-keygen to create an SSH key.</li>
+</ol>
+<p><em>Follow the latest steps and guides on the <a href="http://www.apache.org/dev/openpgp.html#generate-key">ASF
website</a> as you should <strong>NOT</strong> be using SHA1 and new keys
<strong>MUST</strong> be at least 4096 bits.</em></p>
+<div class="codehilite"><pre><span class="sb">`$ ssh-keygen -t rsa -b 4096`</span>
+</pre></div>
+
+
+<p>Program defaults should be fine. No passphrase is required for the ssh key generation.
The keys will be saved in ~/.ssh/id_dsa (private) and ~/.ssh/id_dsa.pub (public).</p>
+<p><em>See <a href="http://www.networknewz.com/networknewz-10-20030707AuthenticatingbyPublicKeyOpenSSH.html">Authenticating
By Public Key (OpenSSH)</a> for a good description on why and how to perform this task.</em></p>
+<ol>
+<li>SCP your SSH public key ~/.ssh/id_dsa.pub created in last step to ~/id_dsa.pub
on people.apache.org.<br />
+</li>
+</ol>
+<p><code>$ cd ~/.ssh  
+    $ scp id_dsa.pub &lt;your userid&gt;@people.apache.org:id_dsa.pub  
+    $ You will be prompted for your password.</code>
+4. Use ssh to login to people.apache.org</p>
+<div class="codehilite"><pre><span class="sb">`$ cd ~    </span>
+<span class="sb">$ ssh &lt;your userid&gt;@people.apache.org  </span>
+<span class="sb">`</span>
+</pre></div>
+
+
+<p>At this point, you will still be prompted for your password.</p>
+<ol>
+<li>
+<p>Create a ~/.ssh folder in your home directory on people.apache.org and change its
file mode to 700.</p>
+<p><code>$ mkdir ~/.ssh  
+$ chmod 700 ~/.ssh</code></p>
+</li>
+<li>
+<p>Move or append ~/id_dsa.pub to ~/.ssh/authorized_keys and change its file mode to
600.</p>
+<p><code>$ mv ~/id_dsa.pub ~/.ssh/authorized_keys
+$ chmod 600 ~/.ssh/authorized_keys</code> <br />
+</p>
+<ul>
+<li>*Each public key in the authorized_keys spans only one line.</li>
+<li>For example: "ssh-dss AAAAB3NzaC1kc3MAAA ..... agBmmfZ9uAbSqA== dsa-key-20071107"</li>
+<li>'#' in the first column is a comment line.*</li>
+</ul>
+</li>
+<li>
+<p>Exit out of this ssh session.</p>
+</li>
+<li>
+<p>Start a new ssh session. No login should be required this time due to the private
ssh key on your local box matching up with the public ssh key in your home directory (~/.ssh).</p>
+<p><code>$ ssh &lt;your userid&gt;@people.apache.org</code></p>
+<p><em>If you are still prompted for a password, then you have not set up the
ssh keys properly. Review the steps above and ensure that all of the steps were followed properly.
Or, maybe the instructions are still not quite right and they still need some adjusting. In
that case, please update the instructions accordingly.</em></p>
+</li>
+</ol>
+<h4 id="create_a_gpg_key">Create a GPG key</h4>
+<ol>
+<li>Open a shell window. If using Windows, open a cygwin window.</li>
+<li>
+<p>Generate a key-pair with gpg, using default key kind ("RSA and RSA") and keys size
(4096).</p>
+<p><code>$ gpg --gen-key</code></p>
+<p>The program's default values should be fine. For the "Real Name" enter your full
name (ie. Stan Programmer). For the "e-mail address" enter your apache address (ie. sprogrammer@apache.org).
You will also be required to enter a "passphrase" for the GPG key generation. Keep track of
this as you will need this for the Release processing.</p>
+</li>
+<li>
+<p><em>The generated keys are stored in $HOME/.gnupg or %HOME%Application Datagnupg
subdirectory.</em></p>
+</li>
+<li>
+<p><em>Save the content in this subdirectory to a safe media. This contains your
private key used to sign all the Rave release materials.</em></p>
+</li>
+<li>
+<p>Backup your home directory to another media ||</p>
+</li>
+<li>
+<p>Add your public key to the <a href="https://svn.apache.org/repos/asf/incubator/rave/KEYS">SVN
repository</a>. See the commands describe at the beginning of this KEYS file to perform
this task. The gpg key-pair is used to sign the published artifacts for the Rave releases.</p>
+<p><code>$ gpg --list-sigs &lt;Real Name&gt; &amp;&amp; gpg --armor
-- export &lt;Real Name&gt;</code></p>
+<p><em>The <a href="https://svn.apache.org/repos/asf/incubator/rave/KEYS">KEYS</a>
file is updated via normal svn commit procedures. The one under w.a.o/dist/ has to be manually
updated from svn.</em></p>
+</li>
+<li>
+<p>Submit your public key to a key server. E.g. <a href="http://pgp.surfnet.nl:11371/">SURFNET</a>
or <a href="http://pgp.mit.edu/">MIT</a></p>
+</li>
+<li>
+<p>Following the instructions in http://people.apache.org/~henkp/trust/ and ask multiple
(at least 3) current Apache committers to sign your public key.</p>
+</li>
+</ol>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>



Mime
View raw message