This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit d206509dabe5ea9f40aae1f0448716fd42470456
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Aug 15 21:01:20 2019 +0100

    Update source code links to point to Git
---
 build.properties.default   | 3 +++
 build.xml                  | 1 +
 webapps/ROOT/index.jsp     | 4 ++--
 webapps/docs/changelog.xml | 8 ++++++++
 4 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index bfe74e2..66ab7f5 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -29,6 +29,9 @@ version.build=97
 version.patch=0
 version.suffix=-dev
 
+# ----- Source control flags -----
+git.branch=7.0.x
+
 # ----- Build control flags -----
 # Note enabling validation uses Checkstyle which is LGPL licensed
 execute.validate=false
diff --git a/build.xml b/build.xml
index ffc0d6e..2f3c724 100644
--- a/build.xml
+++ b/build.xml
@@ -237,6 +237,7 @@
     <filter token="VERSION_MAJOR_MINOR" value="${version.major.minor}"/>
     <filter token="VERSION_BUILT" value="${today} ${tstamp} UTC"/>
     <filter token="JDT_VERSION" value="${jdt.version}"/>
+    <filter token="GIT_BRANCH" value="${git.branch}"/>
   </filterset>
 
   <!-- Files to change line endings for depending on target platform -->
diff --git a/webapps/ROOT/index.jsp b/webapps/ROOT/index.jsp
index 6de0008..1d3d46d 100644
--- a/webapps/ROOT/index.jsp
+++ b/webapps/ROOT/index.jsp
@@ -128,7 +128,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
                         <ul>
                             <li><a 
href="https://tomcat.apache.org/bugreport.html";>Tomcat @VERSION_MAJOR_MINOR@ 
Bug Database</a></li>
                             <li><a href="${tomcatDocUrl}api/index.html">Tomcat 
@VERSION_MAJOR_MINOR@ JavaDocs</a></li>
-                            <li><a 
href="https://svn.apache.org/repos/asf/tomcat/tc@VERSION_MAJOR_MINOR@.x/";>Tomcat
 @VERSION_MAJOR_MINOR@ SVN Repository</a></li>
+                            <li><a 
href="https://github.com/apache/tomcat/tree/@GIT_BRANCH@";>Tomcat 
@VERSION_MAJOR_MINOR@ Git Repository at GitHub</a></li>
                         </ul>
                     </div>
                 </div>
@@ -183,7 +183,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
                         <h4>Get Involved</h4>
                         <ul>
                             <li><a 
href="${tomcatUrl}getinvolved.html">Overview</a></li>
-                            <li><a href="${tomcatUrl}svn.html">SVN 
Repositories</a></li>
+                            <li><a href="${tomcatUrl}source.html">Source 
Repositories</a></li>
                             <li><a href="${tomcatUrl}lists.html">Mailing 
Lists</a></li>
                             <li><a 
href="https://wiki.apache.org/tomcat/FrontPage";>Wiki</a></li>
                         </ul>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index ec80f54..56895d5 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -112,6 +112,14 @@
       </scode>
     </changelog>
   </subsection>
+  <subsection name="Web applications">
+    <changelog>
+      <fix>
+        Correct the source code links on the index page for the ROOT web
+        application to point to Git rather than Subversion. (markt)
+      </fix>
+    </changelog>
+  </subsection>
   <subsection name="Other">
     <changelog>
       <add>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to