directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r991594 - in /websites/staging/directory/trunk/content: ./ apacheds/developer-guide.html api/developer-guide.html
Date Tue, 28 Jun 2016 11:39:57 GMT
Author: buildbot
Date: Tue Jun 28 11:39:57 2016
New Revision: 991594

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/developer-guide.html
    websites/staging/directory/trunk/content/api/developer-guide.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jun 28 11:39:57 2016
@@ -1 +1 @@
-1749272
+1750479

Modified: websites/staging/directory/trunk/content/apacheds/developer-guide.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/developer-guide.html (original)
+++ websites/staging/directory/trunk/content/apacheds/developer-guide.html Tue Jun 28 11:39:57
2016
@@ -457,13 +457,28 @@ $
 
 
 <h5 id="publish-source-distribution-package">Publish Source Distribution Package<a
class="headerlink" href="#publish-source-distribution-package" title="Permanent link">&para;</a></h5>
-<p>First of all, create a new directory on people.apache.org/public_html to store the
pacckages :</p>
-<div class="codehilite"><pre>$ ssh people.apache.org
-$ mkdir public_html/apacheds-&lt;version&gt;
-$ exit
+<p>The sources, binaries and their signatures, have to be pushed in a place where they
can be downloaded by the other committers, in order to be chekced while validating the release.
As the ~/people.apache.org server is not anymore available for that purpose, we use the <a
href="https://dist.apache.org/repos/dist/dev/directory">distribution</a> space for
that purpose.</p>
+<p>If you haven't checked out this space, do it now :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/dev/directory
+$ svn co https://dist.apache.org/repos/dist/dev/directory ~/apacheds/dist/dev/directory
+</pre></div>
+
+
+<p>That will checkout the full project distributions. </p>
+<p>You may want to checkout only the part that you are going to generate, to avoid
getting Gb of data :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/dev/directory/apacheds
+$ svn co https://dist.apache.org/repos/dist/dev/directory/apacheds ~/apacheds/dist/dev/directory/apacheds
+</pre></div>
+
 
-$ cd target/checkout/target
-$ scp apacheds-parent-&lt;version&gt;-source-release.zip* people.apache.org:public_html/apacheds-&lt;version&gt;
+<p>Now, create a sub-directory for the version you have generated (here, for version
2.0.0-M22) :</p>
+<div class="codehilite"><pre>$ mkdir ~/apacheds/dist/dev/directory/apacheds/2.0.0-M22
+</pre></div>
+
+
+<p>and copy the packages and signature to this area :</p>
+<div class="codehilite"><pre>$ cd target/checkout/target
+$ cp apacheds-parent-&lt;version&gt;-source-release.zip* ~/apacheds/dist/dev/directory/apacheds/2.0.0-M22
 </pre></div>
 
 
@@ -471,8 +486,8 @@ $ scp apacheds-parent-&lt;version&gt;-so
 <p>The best way to do that is to download the sources, extract them, build the server
and the installers, and check if the installers are correctly working. Then check that the
server is correctly running.</p>
 <h5 id="create-the-installers">Create the installers<a class="headerlink" href="#create-the-installers"
title="Permanent link">&para;</a></h5>
 <p>We now have to create the installers. Go into the <em>target/checkout</em>
directory and run :</p>
-<div class="codehilite"><pre>$ <span class="n">cd</span> <span
class="n">apacheds</span><span class="o">/</span><span class="n">target</span><span
class="o">/</span><span class="n">checkout</span><span class="o">/</span><span
class="n">installers</span>
-$ <span class="n">mvn</span> <span class="n">clean</span> <span
class="n">install</span> <span class="o">-</span><span class="n">Pinstallers</span>
+<div class="codehilite"><pre>$ cd apacheds/target/checkout/installers
+$ mvn clean install -Pinstallers
 </pre></div>
 
 
@@ -480,67 +495,58 @@ $ <span class="n">mvn</span> <span class
 <DIV class="info" markdown="1">
     We are meant to create all the installers. It's possible to create installers for a specific
platform by using a different profile :
 
-    o Debian   : mvn clean install -Pdebian
-    o Rpm      : mvn clean install -Prpm
-    o Windows  : mvn clean install -Pwindows  
-    o Mac OS X : mvn clean install -Pmac
-    o Binary   : mvn clean install -Pbin 
-    o Archive  : mvn clean install -Parchive
+  <UL>
+    <LI>Debian   : mvn clean install -Pdebian</LI>
+    <LI>Rpm      : mvn clean install -Prpm</LI>
+    <LI>Windows  : mvn clean install -Pwindows</LI> 
+    <LI>Mac OS X : mvn clean install -Pmac</LI>
+    <LI>Binary   : mvn clean install -Pbin</LI>
+    <LI>Archive  : mvn clean install -Parchive</LI>
+  </UL>
 
     This will build only one single target.
 </DIV>
 
 <p>Sign those installers using the <em>sign.sh</em> script, and copy them
in <em>people.apache.org/public_html/apacheds-<version></em></p>
-<div class="codehilite"><pre>$ <span class="n">cd</span> <span
class="n">apacheds</span><span class="o">/</span><span class="n">target</span><span
class="o">/</span><span class="n">checkout</span><span class="o">/</span><span
class="n">target</span><span class="o">/</span><span class="n">installers</span><span
class="o">/</span><span class="n">target</span><span class="o">/</span><span
class="n">installers</span>
-$ <span class="n">scp</span> <span class="n">apacheds</span><span
class="o">-&lt;</span><span class="n">version</span><span class="o">&gt;*</span>
<span class="n">people</span><span class="p">.</span><span class="n">apache</span><span
class="p">.</span><span class="n">org</span><span class="p">:</span><span
class="n">public_html</span><span class="o">/</span><span class="n">apacheds</span><span
class="o">-&lt;</span><span class="n">version</span><span class="o">&gt;</span>
+<div class="codehilite"><pre>$ cd apacheds/target/checkout/target/installers/target/installers
+$ cp apacheds-&lt;version&gt;* ~/apacheds/dist/dev/directory/apacheds/2.0.0-M22
 </pre></div>
 
 
 <p>Note : you will need a Debian, a Fedora and a Windows server to generate dedicated
binaries for those platforms, or you can use rpmbuild, dpkg or nsis if you don't want to use
many different servers.</p>
-<p>Update your index.html file on people.apache.org/public_html to make the packages
visible. Here is an example of possible content :</p>
-<div class="codehilite"><pre><span class="nt">&lt;h2&gt;</span>Last
Directory Server <span class="nt">&lt;version&gt;</span> sources tarballs<span
class="nt">&lt;/h2&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-parent-&lt;version&gt;-source-release.zip&quot;</span><span
class="nt">&gt;</span>apacheds-parent-<span class="nt">&lt;version&gt;</span>-source-release.zip<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-parent-&lt;version&gt;-source-release.zip.asc&quot;</span><span
class="nt">&gt;</span>apacheds-parent-<span class="nt">&lt;version&gt;</span>-source-release.zip.asc<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-parent-&lt;version&gt;-source-release.zip.md5&quot;</span><span
class="nt">&gt;</span>apacheds-parent-<span class="nt">&lt;version&gt;</span>-source-release.zip.md5<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-parent-&lt;version&gt;-source-release.zip.sha1&quot;</span><span
class="nt">&gt;</span>apacheds-parent-<span class="nt">&lt;version&gt;</span>-source-release.zip.sha1<span
class="nt">&lt;/a&gt;&lt;br&gt;</span>
-
-<span class="nt">&lt;h2&gt;</span>Last Directory Server <span class="nt">&lt;version&gt;</span>
installers<span class="nt">&lt;/h2&gt;</span>
-    <span class="nt">&lt;h3&gt;</span>Plain 32 bits binary installers<span
class="nt">&lt;/h3&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-32bit.bin&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-32bit.bin<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-32bit.bin.asc&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-32bit.bin.asc<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-32bit.bin.md5&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-32bit.bin.md5<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-32bit.bin.sha1&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-32bit.bin.sha1<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;br/&gt;</span>
-    <span class="nt">&lt;h3&gt;</span>Plain 64 bits installers<span
class="nt">&lt;/h3&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-64bit.bin&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-64bit.bin<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-64bit.bin.asc&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-64bit.bin.asc<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-64bit.bin.md5&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-64bit.bin.md5<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;img</span> <span class="na">src=</span><span
class="s">&quot;/icons/compressed.gif&quot;</span> <span class="na">alt=</span><span
class="s">&quot;[   ]&quot;</span><span class="nt">&gt;&lt;a</span>
<span class="na">href=</span><span class="s">&quot;apacheds-&lt;version&gt;/apacheds-&lt;version&gt;-64bit.bin.sha1&quot;</span><span
class="nt">&gt;</span>apacheds-<span class="nt">&lt;version&gt;</span>-64bit.bin.sha1<span
class="nt">&lt;/a&gt;&lt;br/&gt;</span>
-    <span class="nt">&lt;br/&gt;</span>
-...
-</pre></div>
-
-
 <h5 id="vote">Vote<a class="headerlink" href="#vote" title="Permanent link">&para;</a></h5>
 <p>Start a 72h vote at the dev mailing list.</p>
 <h5 id="release">Release<a class="headerlink" href="#release" title="Permanent link">&para;</a></h5>
 <p>If the vote succeeds Apacheds project can be released.</p>
 <p>Go to <a href="https://repository.apache.org/index.html#stagingRepositories">https://repository.apache.org/index.html#stagingRepositories</a>
and release the staging repository so all artifacts are published to Maven central.</p>
 <p>Move the distribution packages (sources and binaries) to the dist SVN repository:
<em>https://dist.apache.org/repos/dist/release/directory/apacheds/dist/$(version)</em></p>
-<p>The best solution would be to checkout the directory in <em>people.apache.org</em>,
to copy the packages in the right place, and to check in the changes :</p>
-<div class="codehilite"><pre>$ <span class="n">ssh</span> <span
class="n">people</span><span class="p">.</span><span class="n">apache</span><span
class="p">.</span><span class="n">org</span>
-# <span class="n">svn</span> <span class="n">co</span> <span class="n">https</span><span
class="p">:</span><span class="o">//</span><span class="n">dist</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">dist</span><span class="o">/</span><span
class="n">release</span><span class="o">/</span><span class="n">directory</span><span
class="o">/</span><span class="n">apacheds</span><span class="o">/</span><span
class="n">dist</span><span class="o">/</span> <span class="n">apacheds</span><span
class="o">-</span><span class="n">dist</span>
-# <span class="n">cd</span> <span class="n">apacheds</span><span
class="o">-</span><span class="n">dist</span>
-# <span class="n">mkdir</span> <span class="o">&lt;</span><span
class="n">version</span><span class="o">&gt;</span>
-# <span class="n">cp</span> <span class="p">.</span><span class="o">./</span><span
class="n">public_html</span><span class="o">/</span><span class="n">apacheds</span><span
class="o">-&lt;</span><span class="n">version</span><span class="o">&gt;/*</span>
<span class="o">&lt;</span><span class="n">version</span><span
class="o">&gt;</span>
-# <span class="n">svn</span> <span class="n">ci</span> <span class="o">&lt;</span><span
class="n">version</span><span class="o">&gt;</span>
-<span class="p">...</span>
-# <span class="n">exit</span>
+<p>The sources, binaries and their signatures, have to be pushed in a place where they
can be downloaded by users. We use the <a href="https://dist.apache.org/repos/dist/release/directory">distribution</a>
space for that purpose.</p>
+<p>Move the distribution packages (sources and binaries) to the dist SVN repository:
https://dist.apache.org/repos/dist/release/directory/apacheds/dist/$(version)</p>
+<p>If you haven't checked out this space, do it now :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/release/directory
+$ svn co https://dist.apache.org/repos/dist/release/directory ~/apacheds/dist/release/directory
+</pre></div>
+
+
+<p>That will checkout the full project distributions. </p>
+<p>You may want to checkout only the part that you are going to generate, to avoid
getting Gb of data :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/release/directory/apacheds/dist
+$ svn co https://dist.apache.org/repos/dist/release/directory/apacheds/dist ~/apacheds/dist/release/directory/apacheds/dist
+</pre></div>
+
+
+<p>Then move the packages from 'dev' to 'release' :</p>
+<div class="codehilite"><pre># cd dist/release/directory/apacheds/dist
+# cp ~/apacheds/dist/dev/directory/apacheds/&lt;version&gt; .
+# svn add &lt;version&gt;
+# svn ci &lt;version&gt;
+...
+# exit
 $
 </pre></div>
 
 
-<p>The packages should now be available on <em>http://www.us.apache.org/dist/directory/api/dist/<version></em></p>
+<p>The packages should now be available on http://www.us.apache.org/dist/directory/apacheds/dist/<version></p>
 <h5 id="deploy-the-javadocs-and-xref">Deploy the Javadocs and XRef<a class="headerlink"
href="#deploy-the-javadocs-and-xref" title="Permanent link">&para;</a></h5>
 <p>We now can deploy the generated Javadoc and cross-reference pages. They are generated
in the following directory :</p>
 <div class="codehilite"><pre><span class="n">target</span><span
class="o">/</span><span class="n">checkout</span><span class="o">/</span><span
class="n">target</span><span class="o">/</span><span class="n">site</span>

Modified: websites/staging/directory/trunk/content/api/developer-guide.html
==============================================================================
--- websites/staging/directory/trunk/content/api/developer-guide.html (original)
+++ websites/staging/directory/trunk/content/api/developer-guide.html Tue Jun 28 11:39:57
2016
@@ -458,34 +458,34 @@ stty <span class="nb">echo</span>
 </td></tr></table>
 
 <h3 id="publish-source-and-binary-distribution-packages">Publish Source and Binary
Distribution Packages<a class="headerlink" href="#publish-source-and-binary-distribution-packages"
title="Permanent link">&para;</a></h3>
-<p>The sources, binaries and their signatures, have to be pushed in a place where they
can be downloaded by the other committers, in order to be chekced while validating the release.
As the ~/people.apache.org server is not anymore available for that purpose, we use the <a
href="https://dist.apache.org/repos/dist/dev/directory">distribution</a> space for
that purpose.</p>
-<p>If you haven't chekced out this space, do it now :</p>
-<div class="codehilite"><pre>$ <span class="n">mkdir</span> <span
class="o">-</span><span class="n">p</span> <span class="o">~/</span><span
class="n">apacheds</span><span class="o">/</span><span class="n">dist</span><span
class="o">/</span><span class="n">dev</span><span class="o">/</span><span
class="n">directory</span>
-$ <span class="n">svn</span> <span class="n">co</span> <span class="n">https</span><span
class="p">:</span><span class="o">//</span><span class="n">dist</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">dist</span><span class="o">/</span><span
class="n">dev</span><span class="o">/</span><span class="n">directory</span>
<span class="o">~/</span><span class="n">apacheds</span><span class="o">/</span><span
class="n">dist</span><span class="o">/</span><span class="n">dev</span><span
class="o">/</span><span class="n">directory</span>
+<p>The sources, binaries and their signatures, have to be pushed in a place where they
can be downloaded by the other committers, in order to be checked while validating the release.
As the ~/people.apache.org server is not anymore available for that purpose, we use the <a
href="https://dist.apache.org/repos/dist/dev/directory">distribution</a> space for
that purpose.</p>
+<p>If you haven't checked out this space, do it now :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/dev/directory
+$ svn co https://dist.apache.org/repos/dist/dev/directory ~/apacheds/dist/dev/directory
 </pre></div>
 
 
 <p>That will checkout the full project distributions. </p>
 <p>You may want to checkout only the part that you are going to generate, to avoid
getting Gb of data :</p>
-<div class="codehilite"><pre>$ <span class="n">mkdir</span> <span
class="o">-</span><span class="n">p</span> <span class="o">~/</span><span
class="n">apacheds</span><span class="o">/</span><span class="n">dist</span><span
class="o">/</span><span class="n">dev</span><span class="o">/</span><span
class="n">directory</span><span class="o">/</span><span class="n">api</span>
-$ <span class="n">svn</span> <span class="n">co</span> <span class="n">https</span><span
class="p">:</span><span class="o">//</span><span class="n">dist</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">dist</span><span class="o">/</span><span
class="n">dev</span><span class="o">/</span><span class="n">directory</span><span
class="o">/</span><span class="n">api</span> <span class="o">~/</span><span
class="n">apacheds</span><span class="o">/</span><span class="n">dist</span><span
class="o">/</span><span class="n">dev</span><span class="o">/</span><span
class="n">directory</span><span class="o">/</span><span class="n">api</span>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/dev/directory/api
+$ svn co https://dist.apache.org/repos/dist/dev/directory/api ~/apacheds/dist/dev/directory/api
 </pre></div>
 
 
 <p>Now, create a sub-directory for the version you have generated (here, for version
1.0.0-RC1) :</p>
-<div class="codehilite"><pre>$ <span class="n">mkdir</span> <span
class="o">~/</span><span class="n">apacheds</span><span class="o">/</span><span
class="n">dist</span><span class="o">/</span><span class="n">dev</span><span
class="o">/</span><span class="n">directory</span><span class="o">/</span><span
class="n">api</span><span class="o">/</span>1<span class="p">.</span>0<span
class="p">.</span>0<span class="o">-</span><span class="n">RC1</span>
+<div class="codehilite"><pre>$ mkdir ~/apacheds/dist/dev/directory/api/1.0.0-RC1
 </pre></div>
 
 
 <p>and copy the packages and signature to this area :</p>
-<div class="codehilite"><pre>$ <span class="n">cd</span> <span
class="n">distributions</span><span class="o">/</span><span class="n">target</span>
-$ <span class="n">cp</span> <span class="n">apache</span><span
class="o">-</span><span class="n">ldap</span><span class="o">-</span><span
class="n">api</span><span class="o">-&lt;</span><span class="n">version</span><span
class="o">&gt;-*</span> <span class="o">~/</span><span class="n">apacheds</span><span
class="o">/</span><span class="n">dist</span><span class="o">/</span><span
class="n">dev</span><span class="o">/</span><span class="n">directory</span><span
class="o">/</span><span class="n">api</span><span class="o">/</span>1<span
class="p">.</span>0<span class="p">.</span>0<span class="o">-</span><span
class="n">RC1</span>
+<div class="codehilite"><pre>$ cd distributions/target
+$ cp apache-ldap-api-&lt;version&gt;-* ~/apacheds/dist/dev/directory/api/1.0.0-RC1
 </pre></div>
 
 
 <p>Last, not least, commit your changes</p>
-<div class="codehilite"><pre>$ <span class="n">scn</span> <span
class="n">add</span> <span class="o">~/</span><span class="n">apacheds</span><span
class="o">/</span><span class="n">dist</span><span class="o">/</span><span
class="n">dev</span><span class="o">/</span><span class="n">directory</span><span
class="o">/</span><span class="n">api</span><span class="o">/</span>1<span
class="p">.</span>0<span class="p">.</span>0<span class="o">-</span><span
class="n">RC1</span>
-$ <span class="n">scn</span> <span class="n">ci</span> <span class="o">~/</span><span
class="n">apacheds</span><span class="o">/</span><span class="n">dist</span><span
class="o">/</span><span class="n">dev</span><span class="o">/</span><span
class="n">directory</span><span class="o">/</span><span class="n">api</span><span
class="o">/</span>1<span class="p">.</span>0<span class="p">.</span>0<span
class="o">-</span><span class="n">RC1</span> <span class="o">-</span><span
class="n">m</span> &quot;<span class="n">Apache</span> <span class="n">LDAP</span>
<span class="n">API</span> 1<span class="p">.</span>0<span class="p">.</span>0<span
class="o">-</span><span class="n">RC1</span> <span class="n">packages</span>&quot;
+<div class="codehilite"><pre>$ <span class="n">svn</span> <span
class="n">add</span> <span class="o">~/</span><span class="n">apacheds</span><span
class="o">/</span><span class="n">dist</span><span class="o">/</span><span
class="n">dev</span><span class="o">/</span><span class="n">directory</span><span
class="o">/</span><span class="n">api</span><span class="o">/</span>1<span
class="p">.</span>0<span class="p">.</span>0<span class="o">-</span><span
class="n">RC1</span>
+$ <span class="n">svn</span> <span class="n">ci</span> <span class="o">~/</span><span
class="n">apacheds</span><span class="o">/</span><span class="n">dist</span><span
class="o">/</span><span class="n">dev</span><span class="o">/</span><span
class="n">directory</span><span class="o">/</span><span class="n">api</span><span
class="o">/</span>1<span class="p">.</span>0<span class="p">.</span>0<span
class="o">-</span><span class="n">RC1</span> <span class="o">-</span><span
class="n">m</span> &quot;<span class="n">Apache</span> <span class="n">LDAP</span>
<span class="n">API</span> 1<span class="p">.</span>0<span class="p">.</span>0<span
class="o">-</span><span class="n">RC1</span> <span class="n">packages</span>&quot;
 </pre></div>
 
 
@@ -499,18 +499,28 @@ $ <span class="n">scn</span> <span class
 <h3 id="release">Release<a class="headerlink" href="#release" title="Permanent link">&para;</a></h3>
 <p>If the vote succeeds LDAP API project can be released.</p>
 <p>Go to <a href="https://repository.apache.org/index.html#stagingRepositories">https://repository.apache.org/index.html#stagingRepositories</a>
and release the staging repository so all artifacts are published to Maven central.</p>
+<p>The sources, binaries and their signatures, have to be pushed in a place where they
can be downloaded by usersWe use the <a href="https://dist.apache.org/repos/dist/release/directory">distribution</a>
space for that purpose.</p>
 <p>Move the distribution packages (sources and binaries) to the dist SVN repository:
https://dist.apache.org/repos/dist/release/directory/api/dist/$(version)</p>
-<p>The best solution would be to checkout the directory in people.apache.org, to copy
the packages in the right place, and to check in the changes (we assume you have a dist-all/api
directory in your home directory. if not, create it) :</p>
-<div class="codehilite"><pre>$ <span class="n">ssh</span> <span
class="n">people</span><span class="p">.</span><span class="n">apache</span><span
class="p">.</span><span class="n">org</span>
-# <span class="n">cd</span> <span class="n">dist</span><span class="o">-</span><span
class="n">all</span><span class="o">/</span><span class="n">api</span>
-# <span class="n">svn</span> <span class="n">co</span> <span class="n">https</span><span
class="p">:</span><span class="o">//</span><span class="n">dist</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">dist</span><span class="o">/</span><span
class="n">release</span><span class="o">/</span><span class="n">directory</span><span
class="o">/</span><span class="n">api</span><span class="o">/</span><span
class="n">dist</span><span class="o">/</span> <span class="n">dist</span>
-# <span class="n">cd</span> <span class="n">dist</span>
-# <span class="n">mkdir</span> <span class="o">&lt;</span><span
class="n">version</span><span class="o">&gt;</span>
-# <span class="n">cp</span> <span class="o">~/</span><span class="n">public_html</span><span
class="o">/</span><span class="n">ldap</span><span class="o">-</span><span
class="n">api</span><span class="o">-&lt;</span><span class="n">version</span><span
class="o">&gt;/*</span> <span class="o">&lt;</span><span class="n">version</span><span
class="o">&gt;</span>
-# <span class="n">svn</span> <span class="n">add</span> <span
class="o">&lt;</span><span class="n">version</span><span class="o">&gt;</span>
-# <span class="n">svn</span> <span class="n">ci</span> <span class="o">&lt;</span><span
class="n">version</span><span class="o">&gt;</span>
-<span class="p">...</span>
-# <span class="n">exit</span>
+<p>If you haven't checked out this space, do it now :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/release/directory
+$ svn co https://dist.apache.org/repos/dist/release/directory ~/apacheds/dist/release/directory
+</pre></div>
+
+
+<p>That will checkout the full project distributions. </p>
+<p>You may want to checkout only the part that you are going to generate, to avoid
getting Gb of data :</p>
+<div class="codehilite"><pre>$ mkdir -p ~/apacheds/dist/release/directory/api/dist
+$ svn co https://dist.apache.org/repos/dist/release/directory/api/dist ~/apacheds/dist/release/directory/api/dist
+</pre></div>
+
+
+<p>Then move the packages from 'dev' to 'release' :</p>
+<div class="codehilite"><pre># cd dist/release/directory/api/dist
+# cp ~/apacheds/dist/dev/directory/api/&lt;version&gt; .
+# svn add &lt;version&gt;
+# svn ci &lt;version&gt;
+...
+# exit
 $
 </pre></div>
 



Mime
View raw message