Author: sebb Date: Wed May 13 14:36:23 2020 New Revision: 1060439 Log: Fix up to use Git
Modified: websites/production/commons/content/proper/commons-email/source-repository.html Modified: websites/production/commons/content/proper/commons-email/source-repository.html ============================================================================== --- websites/production/commons/content/proper/commons-email/source-repository.html (original) +++ websites/production/commons/content/proper/commons-email/source-repository.html Wed May 13 14:36:23 2020 @@ -264,43 +264,24 @@ </div> </td> <td class="content"> - <div class="section"> + <section> <h2><a name="Overview"></a>Overview</h2><a name="Overview"></a> -<p>This project uses <a class="externalLink" href="http://subversion.apache.org/">Subversion</a> to manage its source code. Instructions on Subversion use can be found at <a class="externalLink" href="http://svnbook.red-bean.com/">http://svnbook.red-bean.com/</a>.</p></div> -<div class="section"> +<p>This project uses <a class="externalLink" href="https://git-scm.com/">Git</a> to manage its source code. Instructions on Git use can be found at <a class="externalLink" href="https://git-scm.com/documentation">https://git-scm.com/documentation</a>.</p></section><section> <h2><a name="Web_Browser_Access"></a>Web Browser Access</h2><a name="Web_Browser_Access"></a> <p>The following is a link to a browsable version of the source repository:</p> <div class="source"> -<pre><a class="externalLink" href="http://svn.apache.org/viewvc/commons/proper/email/trunk">http://svn.apache.org/viewvc/commons/proper/email/trunk</a></pre></div></div> -<div class="section"> +<pre><a class="externalLink" href="https://gitbox.apache.org/repos/asf/commons-email">https://gitbox.apache.org/repos/asf/commons-email</a></pre></div></section><section> <h2><a name="Anonymous_Access"></a>Anonymous Access</h2><a name="Anonymous_Access"></a> -<p>The source can be checked out anonymously from Subversion with this command:</p> +<p>The source can be checked out anonymously from Git with this command (See <a class="externalLink" href="https://git-scm.com/docs/git-clone">https://git-scm.com/docs/git-clone</a>):</p> <div class="source"> -<pre>$ svn checkout http://svn.apache.org/repos/asf/commons/proper/email/trunk commons-email</pre></div></div> -<div class="section"> +<pre>$ git clone https://gitbox.apache.org/repos/asf/commons-email</pre></div></section><section> <h2><a name="Developer_Access"></a>Developer Access</h2><a name="Developer_Access"></a> -<p>Everyone can access the Subversion repository via HTTP, but committers must checkout the Subversion repository via HTTPS.</p> +<p>Only project developers can access the Git tree via this method (See <a class="externalLink" href="https://git-scm.com/docs/git-clone">https://git-scm.com/docs/git-clone</a>).</p> <div class="source"> -<pre>$ svn checkout https://svn.apache.org/repos/asf/commons/proper/email/trunk commons-email</pre></div> -<p>To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password):</p> -<div class="source"> -<pre>$ svn commit --username your-username -m "A message"</pre></div></div> -<div class="section"> +<pre>$ git clone https://gitbox.apache.org/repos/asf/commons-email</pre></div></section><section> <h2><a name="Access_from_Behind_a_Firewall"></a>Access from Behind a Firewall</h2><a name="Access_from_Behind_a_Firewall"></a> -<p>For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion repository, you can try to access it via the developer connection:</p> -<div class="source"> -<pre>$ svn checkout https://svn.apache.org/repos/asf/commons/proper/email/trunk commons-email</pre></div></div> -<div class="section"> -<h2><a name="Access_Through_a_Proxy"></a>Access Through a Proxy</h2><a name="Access_Through_a_Proxy"></a> -<p>The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The file's location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)</p> -<p>There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.</p> -<p>Example: Edit the 'servers' file and add something like:</p> -<div class="source"> -<pre>[global] -http-proxy-host = your.proxy.name -http-proxy-port = 3128 -</pre></div></div> - </td> +<p>Refer to the documentation of the SCM used for more information about access behind a firewall.</p></section> + </td> </tr> </table> </div>