You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2014/11/01 13:42:25 UTC

svn commit: r1635943 - in /lucene/cms/branches/solr_6058: content/solr/ lib/ templates/

Author: gsingers
Date: Sat Nov  1 12:42:25 2014
New Revision: 1635943

URL: http://svn.apache.org/r1635943
Log:
SOLR-6058: fixed downloads

Modified:
    lucene/cms/branches/solr_6058/content/solr/downloads.mdtext
    lucene/cms/branches/solr_6058/lib/path.pm
    lucene/cms/branches/solr_6058/templates/_solr-footer.html
    lucene/cms/branches/solr_6058/templates/_solr-navigation.html
    lucene/cms/branches/solr_6058/templates/mirrors-solr-latest-redir.html
    lucene/cms/branches/solr_6058/templates/mirrors-solr-redir.html
    lucene/cms/branches/solr_6058/templates/solr-index.html

Modified: lucene/cms/branches/solr_6058/content/solr/downloads.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/content/solr/downloads.mdtext?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/content/solr/downloads.mdtext (original)
+++ lucene/cms/branches/solr_6058/content/solr/downloads.mdtext Sat Nov  1 12:42:25 2014
@@ -0,0 +1 @@
+TODO
\ No newline at end of file

Modified: lucene/cms/branches/solr_6058/lib/path.pm
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/lib/path.pm?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/lib/path.pm (original)
+++ lucene/cms/branches/solr_6058/lib/path.pm Sat Nov  1 12:42:25 2014
@@ -7,12 +7,12 @@ $localMode = 0;
 # Patterns should go from more restrictive matches to less restrictive.
 our @patterns = (
 
-#  [qr!core\/mirrors-core-redir\.mdtext$!, main => { template => "mirrors-core-redir.html"	}],# have downloads go to a redirect so that we can see how many people are actually clicking the link
-#  [qr!solr\/mirrors-solr-redir\.mdtext$!, main => { template => "mirrors-solr-redir.html"	}],
-#  [qr!core\/mirrors-core-latest-redir\.mdtext$!, main => { template => "mirrors-core-latest-redir.html"	}],# have downloads go to a redirect so that we can see how many people are actually clicking the link
-#  [qr!solr\/mirrors-solr-latest-redir\.mdtext$!, main => { template => "mirrors-solr-latest-redir.html"	}],
-#  [qr!core\/mirrors-core-3x-redir\.mdtext$!, main => { template => "mirrors-core-3x-redir.html"	}],# have downloads go to a redirect so that we can see how many people are actually clicking the link
-#  [qr!solr\/mirrors-solr-3x-redir\.mdtext$!, main => { template => "mirrors-solr-3x-redir.html"	}],
+[qr!core\/mirrors-core-redir\.mdtext$!, main => { template => "mirrors-core-redir.html"	}],# have downloads go to a redirect so that we can see how many people are actually clicking the link
+[qr!solr\/mirrors-solr-redir\.mdtext$!, main => { template => "mirrors-solr-redir.html"	}],
+[qr!core\/mirrors-core-latest-redir\.mdtext$!, main => { template => "mirrors-core-latest-redir.html"	}],# have downloads go to a redirect so that we can see how many people are actually clicking the link
+[qr!solr\/mirrors-solr-latest-redir\.mdtext$!, main => { template => "mirrors-solr-latest-redir.html"	}],
+[qr!core\/mirrors-core-3x-redir\.mdtext$!, main => { template => "mirrors-core-3x-redir.html"	}],# have downloads go to a redirect so that we can see how many people are actually clicking the link
+[qr!solr\/mirrors-solr-3x-redir\.mdtext$!, main => { template => "mirrors-solr-3x-redir.html"	}],
 
   [qr!core\/index\.mdtext$!, main => { template => "core.html",
     preprocess => 1,

Modified: lucene/cms/branches/solr_6058/templates/_solr-footer.html
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/templates/_solr-footer.html?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/templates/_solr-footer.html (original)
+++ lucene/cms/branches/solr_6058/templates/_solr-footer.html Sat Nov  1 12:42:25 2014
@@ -16,7 +16,7 @@
     <div class="small-6 medium-3 columns">
         <h4>Get Started</h4>
         <ul>
-          <li><a href="#">Download Binary</a></li>
+          <li><a href="/solr/mirrors-solr-latest-redir.html">Download Binary</a></li>
 	        <li><a href="/solr/tutorials.html">Run Through the Tutorial</a></li>
 	        <li><a href="#">Level Up</a></li>
       	</ul>

Modified: lucene/cms/branches/solr_6058/templates/_solr-navigation.html
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/templates/_solr-navigation.html?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/templates/_solr-navigation.html (original)
+++ lucene/cms/branches/solr_6058/templates/_solr-navigation.html Sat Nov  1 12:42:25 2014
@@ -13,6 +13,6 @@
     {% include "_solr-search.html" %}
   </li>
   <li>
-    <a class="btn" href="http://lucene.apache.org/solr/mirrors-solr-latest-redir.html">download</a>
+    <a class="btn" href="/solr/mirrors-solr-latest-redir.html">download</a>
   </li>
 </ul>

Modified: lucene/cms/branches/solr_6058/templates/mirrors-solr-latest-redir.html
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/templates/mirrors-solr-latest-redir.html?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/templates/mirrors-solr-latest-redir.html (original)
+++ lucene/cms/branches/solr_6058/templates/mirrors-solr-latest-redir.html Sat Nov  1 12:42:25 2014
@@ -3,13 +3,13 @@
  This is a work around to the fact that the CMS doesn't allow inheritance of depth
         2, so instead do a lot of includes.  See https://issues.apache.org/jira/browse/INFRA-3850
 #}
-{% extends "head.html" %}
-{% block css %}
-    <meta http-equiv="refresh" content="1;url=http://www.apache.org/dyn/closer.cgi/lucene/solr/4.9.0">
+{% extends "_solr-head.html" %}
+  {% block css %}
+    <meta http-equiv="refresh" content="1;url=http://www.apache.org/dyn/closer.cgi/lucene/solr/4.10.2">
     <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
     <link href="../css/global.css" rel="stylesheet" type="text/css">
     <link href="../css/solr_old.css" rel="stylesheet" type="text/css">
-{% endblock %}
+  {% endblock %}
 {% endextends %}
-{% extends "solr_old.html" %}
+{% extends "solr-index.html" %}
 {% endextends %}

Modified: lucene/cms/branches/solr_6058/templates/mirrors-solr-redir.html
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/templates/mirrors-solr-redir.html?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/templates/mirrors-solr-redir.html (original)
+++ lucene/cms/branches/solr_6058/templates/mirrors-solr-redir.html Sat Nov  1 12:42:25 2014
@@ -6,9 +6,10 @@
 {% extends "head.html" %}
 {% block css %}
     <meta http-equiv="refresh" content="1;url=http://www.apache.org/dyn/closer.cgi/lucene/solr">
+    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
     <link href="../css/global.css" rel="stylesheet" type="text/css">
     <link href="../css/solr_old.css" rel="stylesheet" type="text/css">
 {% endblock %}
 {% endextends %}
-{% extends "solr_old.html" %}
+{% extends "solr-index.html" %}
 {% endextends %}

Modified: lucene/cms/branches/solr_6058/templates/solr-index.html
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/templates/solr-index.html?rev=1635943&r1=1635942&r2=1635943&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/templates/solr-index.html (original)
+++ lucene/cms/branches/solr_6058/templates/solr-index.html Sat Nov  1 12:42:25 2014
@@ -147,7 +147,7 @@
     <section class="gray col-3" id="get-started">
       <div class="row">
         <div class="large-4 columns">
-          <a href="/core/mirrors-core-latest-redir.html?">
+          <a href="/solr/mirrors-solr-latest-redir.html">
             <div class="box">
               <div class="img"><img src="/solr/assets/images/icon-download-binary.svg"/></div>
               <div class="title">
@@ -195,7 +195,7 @@
             Apache Solr 4.10.1 Available
           </h1>
           <p>
-            The Lucene PMC is pleased to announce the release of Apache Solr 4.10.1.  Download <a href="/core/mirrors-core-latest-redir.html?">here</a>.
+            The Lucene PMC is pleased to announce the release of Apache Solr 4.10.1.  Download <a href="/solr/mirrors-solr-latest-redir.html">here</a>.
           </p>
           <a href="/solr/news.html"><button class="white">Read More News</button></a>
         </div>