You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by bu...@apache.org on 2016/01/05 00:30:51 UTC
svn commit: r977073 - in /websites/staging/slider/trunk/content: ./
developing/releasing.html
Author: buildbot
Date: Mon Jan 4 23:30:51 2016
New Revision: 977073
Log:
Staging update by buildbot for slider
Modified:
websites/staging/slider/trunk/content/ (props changed)
websites/staging/slider/trunk/content/developing/releasing.html
Propchange: websites/staging/slider/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan 4 23:30:51 2016
@@ -1 +1 @@
-1722986
+1722987
Modified: websites/staging/slider/trunk/content/developing/releasing.html
==============================================================================
--- websites/staging/slider/trunk/content/developing/releasing.html (original)
+++ websites/staging/slider/trunk/content/developing/releasing.html Mon Jan 4 23:30:51 2016
@@ -242,16 +242,15 @@ which can be done before even starting t
for releasing:</p>
<ol>
<li>Shell: <code>bash</code></li>
-<li>Ant 1.8+. The release process is too sophisticated for Maven. </li>
-<li>OS/X and windows: <a href="http://www.sourcetreeapp.com/">Atlassian SourceTree</a>.
-This can perform the git flow operations, as well as show the state of your
-git graph.</li>
+<li><code>svn</code> and <code>git</code> on the command line, with write access to the ASF repositories.</li>
+<li>Ant 1.8+. The release process is too complex for Maven. </li>
+<li>OS/X and windows: <a href="http://www.sourcetreeapp.com/">Atlassian SourceTree</a>.</li>
</ol>
<h3 id="createstart-a-jira-issue-for-the-release">Create/Start a JIRA issue for the release<a class="headerlink" href="#createstart-a-jira-issue-for-the-release" title="Permanent link">¶</a></h3>
<p>Create a JIRA for the release, estimate 12h</p>
<p>This seems pessimistic, but there may be surprises. Sometimes it has taken
days. </p>
-<h3 id="choose-your-versions">Choose your versions<a class="headerlink" href="#choose-your-versions" title="Permanent link">¶</a></h3>
+<h3 id="choose-your-versions-numbers">Choose your versions numbers<a class="headerlink" href="#choose-your-versions-numbers" title="Permanent link">¶</a></h3>
<p>Choose the version number for the release and its successor for the development branch.
The development branch must have a <code>-SNAPSHOT</code> suffix and be greater than
the release; the release must not have a <code>-SNAPSHOT</code> suffix.</p>
@@ -293,7 +292,7 @@ starting to make a release</em></p>
<p>It is wise to restart all YARN services in the VMs before running the tests,
for better independence of test runs.</p>
<h3 id="prepare-signing-keys">Prepare Signing keys<a class="headerlink" href="#prepare-signing-keys" title="Permanent link">¶</a></h3>
-<p>Verify your GPG key is provided to Apache. </p>
+<p>Verify your GPG key is provided to Apache.</p>
<p>Apache verifies that distributions are correctly signed.
Login to <a href="https://id.apache.org">https://id.apache.org</a> and verify the
fingerprint of GPG key used to sign above is provided. (<code>gpg --fingerprint</code>)</p>
@@ -379,7 +378,7 @@ above the source tree you are using. (Th
</pre></div>
-<h2 id="create-the-release-in-jira">Create the release in JIRA<a class="headerlink" href="#create-the-release-in-jira" title="Permanent link">¶</a></h2>
+<h3 id="create-the-release-in-jira">Create the release in JIRA<a class="headerlink" href="#create-the-release-in-jira" title="Permanent link">¶</a></h3>
<p>Tell JIRA there's a new release. This moves it from "unreleased" to "released", creating a URL listing all issues fixed. </p>
<p>This URL is be used in the vote emails to highlight changes.</p>
<p><em>Important:</em> To perform this task, you must be registered as an admin for the
@@ -395,7 +394,7 @@ Slider project on JIRA. If you are not:
<li>Locate the release just issued and click through it.</li>
<li>Get from the page link, work out the "version" of the release artifact</li>
</ol>
-<p>set the release property <code>release.jira.version</code> to the version field</p>
+<p>Set the release property <code>release.jira.version</code> to the version field</p>
<div class="codehilite"><pre><span class="n">release</span><span class="p">.</span><span class="n">jira</span><span class="p">.</span><span class="n">version</span><span class="p">=</span>12334370
</pre></div>
@@ -466,7 +465,7 @@ that in the new release branch set to th
is such that if you merge all changes in the release branch back into <code>develop/</code>,
the slider artifact version in the POM files will remain unchanged âthe switch
to the release version is a commit shared across both branches.</p>
-<h3 id="check-out-a-clean-source-tree-for-the-build">Check out a clean source tree for the build.<a class="headerlink" href="#check-out-a-clean-source-tree-for-the-build" title="Permanent link">¶</a></h3>
+<h3 id="check-out-a-clean-source-tree-for-the-build">Check out a clean source tree for the build<a class="headerlink" href="#check-out-a-clean-source-tree-for-the-build" title="Permanent link">¶</a></h3>
<p>Adjacent to your normal development directory, check out a new copy of slider</p>
<div class="codehilite"><pre><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">git</span><span class="o">-</span><span class="n">wip</span><span class="o">-</span><span class="n">us</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">repos</span><span class="o">/</span><span class="n">asf</span><span class="o">/</span><span class="n">incubator</span><span class="o">-</span><span class="n">slider</span><span class="p">.</span><span class="n">git</span> <span class="n">slider</span><span class="o">-</span><span class="n">release</span>
</pre></div>
@@ -501,7 +500,7 @@ directory, in the release branch.</em></
<p>The <a href="https://repository.apache.org/content/repositories/">Nexus UI</a>
gives the name of the repository, such as <code>orgapacheslider-1010</code></p>
-<p>In <code>release.properties</code> set <code>nexus.staging.repository</code> to this value </p>
+<p>In <code>release.properties</code> set <code>nexus.staging.repository</code> to this value:</p>
<div class="codehilite"><pre><span class="n">nexus</span><span class="p">.</span><span class="n">staging</span><span class="p">.</span><span class="n">repository</span><span class="p">=</span><span class="n">orgapacheslider</span><span class="o">-</span>1010
</pre></div>
@@ -643,15 +642,12 @@ updated by now to reflect the released v
<span class="n">release</span><span class="p">.</span><span class="n">jira</span><span class="p">=</span><span class="n">SLIDER</span><span class="o">-</span>1014
<span class="n">release</span><span class="p">.</span><span class="n">jira</span><span class="p">.</span><span class="n">version</span><span class="p">=</span>12334370
<span class="n">release</span><span class="p">.</span><span class="n">rc</span><span class="p">.</span><span class="n">suffix</span><span class="p">=</span><span class="o">-</span><span class="n">RC1</span>
-<span class="n">svn</span><span class="p">.</span><span class="n">publish</span><span class="p">.</span><span class="n">dir</span><span class="p">=</span><span class="o">/</span><span class="n">Users</span><span class="o">/</span><span class="n">stevel</span><span class="o">/</span><span class="n">Java</span><span class="o">/</span><span class="n">Apache</span><span class="o">/</span><span class="n">slider</span><span class="o">-</span><span class="n">dist</span>
-
+<span class="n">svn</span><span class="p">.</span><span class="n">publish</span><span class="p">.</span><span class="n">dir</span><span class="p">=</span><span class="o">/</span><span class="n">Users</span><span class="o">/</span><span class="n">stevel</span><span class="o">/</span><span class="n">Projects</span><span class="o">/</span><span class="n">Apache</span><span class="o">/</span><span class="n">slider</span><span class="o">-</span><span class="n">dist</span>
<span class="n">nexus</span><span class="p">.</span><span class="n">staging</span><span class="p">.</span><span class="n">repository</span><span class="p">=</span><span class="n">orgapacheslider</span><span class="o">-</span>1013
<span class="n">git</span><span class="p">.</span><span class="n">release</span><span class="p">.</span><span class="n">branch</span><span class="p">=</span><span class="n">branches</span><span class="o">/</span><span class="n">branch</span><span class="o">-</span>0<span class="p">.</span>90
-
<span class="n">vote</span><span class="p">.</span><span class="n">result</span><span class="p">.</span><span class="n">positive</span><span class="p">.</span><span class="n">binding</span><span class="p">=</span>3
<span class="n">vote</span><span class="p">.</span><span class="n">result</span><span class="p">.</span><span class="n">zero</span><span class="p">.</span><span class="n">binding</span><span class="p">=</span>0
<span class="n">vote</span><span class="p">.</span><span class="n">result</span><span class="p">.</span><span class="n">negative</span><span class="p">.</span><span class="n">binding</span><span class="p">=</span>0
-
<span class="n">mail</span><span class="p">.</span><span class="n">vote</span><span class="p">.</span><span class="n">thread</span><span class="p">=</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">mail</span><span class="o">-</span><span class="n">archives</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">mod_mbox</span><span class="o">/</span><span class="n">incubator</span><span class="o">-</span><span class="n">slider</span><span class="o">-</span><span class="n">dev</span><span class="o">/</span>201512<span class="p">.</span><span class="n">mbox</span><span class="o">/</span><span class="c">%3C7EBD312A-E115-4A99-AAE7-1BF553E3B28D%40hortonworks.com%3E</span>
<span class="n">mail</span><span class="p">.</span><span class="n">vote</span><span class="p">.</span><span class="n">result</span><span class="p">.</span><span class="n">thread</span><span class="p">=</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">mail</span><span class="o">-</span><span class="n">archives</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">mod_mbox</span><span class="o">/</span><span class="n">incubator</span><span class="o">-</span><span class="n">slider</span><span class="o">-</span><span class="n">dev</span><span class="o">/</span>201601<span class="p">.</span><span class="n">mbox</span><span class="o">/</span><span class="c">%3CC28233B7-9016-44F4-9A6B-1EBC8BFCDF08%40hortonworks.com%3E</span>
</pre></div>
@@ -668,10 +664,10 @@ updated by now to reflect the released v
</li>
<li>
-<p>Log in to <a href="https://repository.apache.org/index.html#stagingRepositories">the ASF Nexus server</a></p>
+<p>Log in to <a href="https://repository.apache.org/index.html#stagingRepositories">the ASF Nexus server</a>.</p>
</li>
-<li>Locate and select the staged Slider repository</li>
-<li>In the toolbar above, press the <strong>Drop</strong> button</li>
+<li>Locate and select the staged Slider repository.</li>
+<li>In the toolbar above, press the <strong>Drop</strong> button.</li>
</ol>
<h3 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">¶</a></h3>
<ol>
@@ -713,10 +709,11 @@ below use the default. If a profile is n
<li>Build it via its own <code>mvn clean install -DskipTests</code></li>
<li>Note the git revision number of this build âfor documentation.</li>
<li>Maybe: tag that revision so you can easily revert to it.</li>
-<li>
-<p>set the <code>-Dhadoop.version</code> property to the targeted Hadoop version in
-the <code>mvn.extra.args</code> release property</p>
-<p>mvn.extra.args=-Dhadoop.version=hadoop-2.8.12</p>
+<li>set the <code>-Dhadoop.version</code> property to the targeted Hadoop version in
+the <code>mvn.extra.args</code> release property<div class="codehilite"><pre> <span class="n">mvn</span><span class="p">.</span><span class="n">extra</span><span class="p">.</span><span class="n">args</span><span class="p">=</span><span class="o">-</span><span class="n">Dhadoop</span><span class="p">.</span><span class="n">version</span><span class="p">=</span><span class="n">hadoop</span><span class="o">-</span>2<span class="p">.</span>8<span class="p">.</span>12
+</pre></div>
+
+
</li>
</ol>
</li>