Modified: tomcat/site/trunk/docs/migration-85.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-85.html?rev=1854413&r1=1854412&r2=1854413&view=diff ============================================================================== --- tomcat/site/trunk/docs/migration-85.html (original) +++ tomcat/site/trunk/docs/migration-85.html Tue Feb 26 19:16:17 2019 @@ -135,7 +135,7 @@ <a href="./getinvolved.html">Overview</a> </li> <li> -<a href="./svn.html">Source code</a> +<a href="./source.html">Source code</a> </li> <li> <a href="./ci.html">Buildbot</a> @@ -662,59 +662,20 @@ of Apache Tomcat.</p> The differences will be shown in a new tab/window.</p> -<script type="text/javascript"> - "use strict"; // Enable strict mode +<p> +<b>Note:</b> If there are no differences you will see an error page.</p> - document.addEventListener("DOMContentLoaded", function() { - var formSubmit = document.getElementById("tc8Submit"); - formSubmit.addEventListener("submit", function() { - var revisions = { - "HEAD":"HEAD", - "8.5.0":"1735438", - "8.5.2":"1743439", - "8.5.3":"1747521", - "8.5.4":"1751624", - "8.5.5":"1758670", - "8.5.6":"1763654", - "8.5.8":"1767971", - "8.5.9":"1772784", - "8.5.11":"1778198", - "8.5.12":"1786041", - "8.5.13":"1788935", - "8.5.14":"1791243", - "8.5.15":"1794013", - "8.5.16":"1799487", - "8.5.20":"1803930", - "8.5.21":"1808282", - "8.5.23":"1809969", - "8.5.24":"1816448", - "8.5.27":"1821550", - "8.5.28":"1823407", - "8.5.29":"1825889", - "8.5.30":"1828275", - "8.5.31":"1830392", - "8.5.32":"1833943", - "8.5.33":"1837884", - "8.5.34":"1840071", - "8.5.35":"1845673", - "8.5.37":"1848752", - "8.5.38":"1852987" - }; - - formSubmit.action = "http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/" + - document.getElementById('select-filename').value; - formSubmit.elements['r1'].value = revisions[document.getElementById('select-r1').value]; - formSubmit.elements['r2'].value = revisions[document.getElementById('select-r2').value]; - return true; - }, false); - }, false); - </script> + +<form action="https://gitbox.apache.org/repos/asf" method="get" target="_blank"> + +<input type="hidden" name="p" value="tomcat.git"> + <input type="hidden" name="a" value="blobdiff"> <p> <label>Configuration file: - <select id="select-filename"> + <select name="f"> <option value="conf/catalina.policy">catalina.policy</option> <option value="conf/catalina.properties">catalina.properties</option> <option value="conf/context.xml">context.xml</option> @@ -728,7 +689,7 @@ of Apache Tomcat.</p> <p> <label>Old version: - <select id="select-r1"> + <select name="hpb"> <option value="8.5.0">8.5.0</option> <option value="8.5.2">8.5.2</option> <option value="8.5.3">8.5.3</option> @@ -759,7 +720,7 @@ of Apache Tomcat.</p> <option value="8.5.37" selected>8.5.37</option> <option value="8.5.38">8.5.38</option> </select>,</label> <label>new version: - <select id="select-r2"> + <select name="hb"> <option value="8.5.0">8.5.0</option> <option value="8.5.2">8.5.2</option> <option value="8.5.3">8.5.3</option> @@ -795,25 +756,20 @@ of Apache Tomcat.</p> </p> -<form id="tc8Submit" action="to-be-replaced" method="get" target="_blank"> - <p> -<input type="hidden" name="diff_format" value="h"> - <input type="hidden" name="r1"><input type="hidden" name="r2"> - <button>View Differences</button> +<button>View Differences</button> </p> </form> -<p>You can also use Subversion command similar to the following (all on one line):</p> +<p>You can also use a Git command similar to the following from within a + working copy:</p> <div class="codeBox"> <pre> -<code>svn diff - --old=http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_0/conf/ - --new=http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_2/conf/</code> +<code>git diff 8.5.0 8.5.20 -- conf/</code> </pre> </div>
Modified: tomcat/site/trunk/docs/migration-9.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-9.html?rev=1854413&r1=1854412&r2=1854413&view=diff ============================================================================== --- tomcat/site/trunk/docs/migration-9.html (original) +++ tomcat/site/trunk/docs/migration-9.html Tue Feb 26 19:16:17 2019 @@ -135,7 +135,7 @@ <a href="./getinvolved.html">Overview</a> </li> <li> -<a href="./svn.html">Source code</a> +<a href="./source.html">Source code</a> </li> <li> <a href="./ci.html">Buildbot</a> @@ -805,60 +805,20 @@ of Apache Tomcat.</p> The differences will be shown in a new tab/window.</p> -<script type="text/javascript"> - "use strict"; // Enable strict mode +<p> +<b>Note:</b> If there are no differences you will see an error page.</p> - document.addEventListener("DOMContentLoaded", function() { - var formSubmit = document.getElementById("tc9Submit"); - formSubmit.addEventListener("submit", function() { - var revisions = { - "HEAD":"HEAD", - "9.0.0.M1":"1714130", - "9.0.0.M3":"1728005", - "9.0.0.M4":"1734692", - "9.0.0.M6":"1743436", - "9.0.0.M8":"1747242", - "9.0.0.M9":"1751366", - "9.0.0.M10":"1758617", - "9.0.0.M11":"1763638", - "9.0.0.M13":"1767969", - "9.0.0.M15":"1772668", - "9.0.0.M17":"1778197", - "9.0.0.M18":"1785983", - "9.0.0.M19":"1788896", - "9.0.0.M20":"1791176", - "9.0.0.M21":"1793917", - "9.0.0.M22":"1799415", - "9.0.0.M26":"1803915", - "9.0.1":"1809848", - "9.0.2":"1816351", - "9.0.4":"1821547", - "9.0.5":"1823394", - "9.0.6":"1825860", - "9.0.7":"1828274", - "9.0.8":"1830389", - "9.0.10":"1833930", - "9.0.11":"1837880", - "9.0.12":"1840069", - "9.0.13":"1845587", - "9.0.14":"1848363", - "9.0.16":"1852937" - }; - - formSubmit.action = "http://svn.apache.org/viewvc/tomcat/trunk/" + - document.getElementById('select-filename').value; - formSubmit.elements['r1'].value = revisions[document.getElementById('select-r1').value]; - formSubmit.elements['r2'].value = revisions[document.getElementById('select-r2').value]; - return true; - }, false); - }, false); - </script> + +<form action="https://gitbox.apache.org/repos/asf" method="get" target="_blank"> + +<input type="hidden" name="p" value="tomcat.git"> + <input type="hidden" name="a" value="blobdiff"> <p> <label>Configuration file: - <select id="select-filename"> + <select name="f"> <option value="conf/catalina.policy">catalina.policy</option> <option value="conf/catalina.properties">catalina.properties</option> <option value="conf/context.xml">context.xml</option> @@ -872,7 +832,7 @@ of Apache Tomcat.</p> <p> <label>Old version: - <select id="select-r1"> + <select name="hpb"> <option value="9.0.0.M1">9.0.0.M1</option> <option value="9.0.0.M3">9.0.0.M3</option> <option value="9.0.0.M4">9.0.0.M4</option> @@ -904,7 +864,7 @@ of Apache Tomcat.</p> <option value="9.0.14" selected>9.0.14</option> <option value="9.0.16">9.0.16</option> </select>,</label> <label>new version: - <select id="select-r2"> + <select name="hb"> <option value="9.0.0.M1">9.0.0.M1</option> <option value="9.0.0.M3">9.0.0.M3</option> <option value="9.0.0.M4">9.0.0.M4</option> @@ -941,25 +901,20 @@ of Apache Tomcat.</p> </p> -<form id="tc9Submit" action="to-be-replaced" method="get" target="_blank"> - <p> -<input type="hidden" name="diff_format" value="h"> - <input type="hidden" name="r1"><input type="hidden" name="r2"> - <button>View Differences</button> +<button>View Differences</button> </p> </form> -<p>You can also use Subversion command similar to the following (all on one line):</p> +<p>You can also use a Git command similar to the following from within a + working copy:</p> <div class="codeBox"> <pre> -<code>svn diff - --old=http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_2/conf/ - --new=http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_4/conf/</code> +<code>git diff 9.0.0 9.0.12 -- conf/</code> </pre> </div> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org