directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1333403 - in /directory/site/trunk: content/api/download/ content/api/download/images/ lib/ templates/api/
Date Thu, 03 May 2012 11:02:04 GMT
Author: pamarcelot
Date: Thu May  3 11:02:03 2012
New Revision: 1333403

URL: http://svn.apache.org/viewvc?rev=1333403&view=rev
Log:
Added Apache LDAP API download pages.

Added:
    directory/site/trunk/content/api/download/
    directory/site/trunk/content/api/download/download-archive.cgi   (with props)
    directory/site/trunk/content/api/download/download-archive.mdtext
    directory/site/trunk/content/api/download/download-sources.cgi   (with props)
    directory/site/trunk/content/api/download/download-sources.mdtext
    directory/site/trunk/content/api/download/images/
    directory/site/trunk/content/api/download/images/installation_archive_1.jpg   (with props)
    directory/site/trunk/content/api/download/images/installation_archive_2.jpg   (with props)
    directory/site/trunk/templates/api/download-archive.html
    directory/site/trunk/templates/api/download-sources.html
Modified:
    directory/site/trunk/lib/path.pm

Added: directory/site/trunk/content/api/download/download-archive.cgi
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/download/download-archive.cgi?rev=1333403&view=auto
==============================================================================
--- directory/site/trunk/content/api/download/download-archive.cgi (added)
+++ directory/site/trunk/content/api/download/download-archive.cgi Thu May  3 11:02:03 2012
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Wrapper around the standard mirrors.cgi script
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file

Propchange: directory/site/trunk/content/api/download/download-archive.cgi
------------------------------------------------------------------------------
    svn:executable = *

Added: directory/site/trunk/content/api/download/download-archive.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/download/download-archive.mdtext?rev=1333403&view=auto
==============================================================================
--- directory/site/trunk/content/api/download/download-archive.mdtext (added)
+++ directory/site/trunk/content/api/download/download-archive.mdtext Thu May  3 11:02:03
2012
@@ -0,0 +1 @@
+Title: Download Archive
\ No newline at end of file

Added: directory/site/trunk/content/api/download/download-sources.cgi
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/download/download-sources.cgi?rev=1333403&view=auto
==============================================================================
--- directory/site/trunk/content/api/download/download-sources.cgi (added)
+++ directory/site/trunk/content/api/download/download-sources.cgi Thu May  3 11:02:03 2012
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Wrapper around the standard mirrors.cgi script
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file

Propchange: directory/site/trunk/content/api/download/download-sources.cgi
------------------------------------------------------------------------------
    svn:executable = *

Added: directory/site/trunk/content/api/download/download-sources.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/download/download-sources.mdtext?rev=1333403&view=auto
==============================================================================
--- directory/site/trunk/content/api/download/download-sources.mdtext (added)
+++ directory/site/trunk/content/api/download/download-sources.mdtext Thu May  3 11:02:03
2012
@@ -0,0 +1 @@
+Title: Download Sources
\ No newline at end of file

Added: directory/site/trunk/content/api/download/images/installation_archive_1.jpg
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/download/images/installation_archive_1.jpg?rev=1333403&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/api/download/images/installation_archive_1.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/site/trunk/content/api/download/images/installation_archive_2.jpg
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/download/images/installation_archive_2.jpg?rev=1333403&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/api/download/images/installation_archive_2.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: directory/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/directory/site/trunk/lib/path.pm?rev=1333403&r1=1333402&r2=1333403&view=diff
==============================================================================
--- directory/site/trunk/lib/path.pm (original)
+++ directory/site/trunk/lib/path.pm Thu May  3 11:02:03 2012
@@ -1,7 +1,7 @@
 package path;
 
 # Versions (for download links)
-our $version_api = "1.O.0-M11";
+our $version_api = "1.0.0-M11";
 our $version_apacheds = "2.0.0-M6";
 our $version_studio = "2.0.0.v20120224";
 
@@ -18,8 +18,22 @@ our @patterns = (
         isDirApacheDS => true } ],
     
     #
-    # LDAP API sub-project pages
+    # Apache LDAP API sub-project pages
     #
+    
+    # Download Apache LDAP API Archive page
+    [qr!api\/download\/download-archive\.mdtext$!, template_page => {
+        template => "api/download-archive.html",
+        isDirAPI => true, 
+        version => $version_api } ],
+    
+    # Download Apache LDAP API Sources page
+    [qr!api\/download\/download-sources\.mdtext$!, template_page => {
+        template => "api/download-sources.html",
+        isDirAPI => true, 
+        version => $version_api } ],
+    
+    # Standard Apache LDAP API page
     [qr!api\/.*?\.mdtext$!, template_page => {
         template => "api/page.html",
         isDirAPI => true } ],

Added: directory/site/trunk/templates/api/download-archive.html
URL: http://svn.apache.org/viewvc/directory/site/trunk/templates/api/download-archive.html?rev=1333403&view=auto
==============================================================================
--- directory/site/trunk/templates/api/download-archive.html (added)
+++ directory/site/trunk/templates/api/download-archive.html Thu May  3 11:02:03 2012
@@ -0,0 +1,76 @@
+{% extends "api/page.html" %}
+    {% block content %}
+<h1>Download Archive</h1>
+
+<p>
+    [if-any logo]
+    <a href="[link]"><img align="right" src="[logo]" border="0" /></a>
+    [end]
+    We suggest the following mirror site for your download:
+</p>
+
+<h2>ZIP Archive</h2>
+
+<p>
+    <div class="download">
+        <table width="100%" class="noBorder">
+            <tr>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}.zip">
+                        <img src="{{base}}images/download.png" width="32" height="32"
border="0"/>
+                    </a>
+                </td>
+                <td>&nbsp;</td>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}.zip">
+                        <strong>
+                            [preferred]/&#91;...&#93;/apache-ldap-api-{{version}}.zip
+                        </strong>
+                    </a>
+                </td>
+                <td align="right">
+                    [<a href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}.zip.asc">ASC</a>-<a
href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}.zip.md5">MD5</a>]
+                </td>
+            </tr>
+        </table>
+    </div>
+</p>
+
+<h2>TAR.GZ Archive</h2>
+
+<p>
+    <div class="download">
+        <table width="100%" class="noBorder">
+            <tr>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}.tar.gz">
+                        <img src="{{base}}images/download.png" width="32" height="32"
border="0"/>
+                    </a>
+                </td>
+                <td>&nbsp;</td>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}.tar.gz">
+                        <strong>
+                            [preferred]/&#91;...&#93;/apache-ldap-api-{{version}}.tar.gz
+                        </strong>
+                    </a>
+                </td>
+                <td align="right">
+                    [<a href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}.tar.gz.asc">ASC</a>-<a
href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}.tar.gz.md5">MD5</a>]
+                </td>
+            </tr>
+        </table>
+    </div>
+</p>
+
+<p>&nbsp;</p>
+
+{% include "download-change-mirror.html" %}
+
+<p>&nbsp;</p>
+
+    {% extends "download-verify-file-integrity.html" %}
+        {% block filename %}apache-ldap-api-{{version}}.zip{% endblock %}
+    {% endextends %}
+    {% endblock %}
+{% endextends %}
\ No newline at end of file

Added: directory/site/trunk/templates/api/download-sources.html
URL: http://svn.apache.org/viewvc/directory/site/trunk/templates/api/download-sources.html?rev=1333403&view=auto
==============================================================================
--- directory/site/trunk/templates/api/download-sources.html (added)
+++ directory/site/trunk/templates/api/download-sources.html Thu May  3 11:02:03 2012
@@ -0,0 +1,76 @@
+{% extends "api/page.html" %}
+    {% block content %}
+<h1>Download Sources</h1>
+
+<p>
+    [if-any logo]
+    <a href="[link]"><img align="right" src="[logo]" border="0" /></a>
+    [end]
+    We suggest the following mirror site for your download:
+</p>
+
+<h2>ZIP Sources Archive</h2>
+
+<p>
+    <div class="download">
+        <table width="100%" class="noBorder">
+            <tr>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}-src.zip">
+                        <img src="{{base}}images/download.png" width="32" height="32"
border="0"/>
+                    </a>
+                </td>
+                <td>&nbsp;</td>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}-src.zip">
+                        <strong>
+                            [preferred]/&#91;...&#93;/apache-ldap-api-{{version}}-src.zip
+                        </strong>
+                    </a>
+                </td>
+                <td align="right">
+                    [<a href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}-src.zip.asc">ASC</a>-<a
href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}-src.zip.md5">MD5</a>]
+                </td>
+            </tr>
+        </table>
+    </div>
+</p>
+
+<h2>TAR.GZ Sources Archive</h2>
+
+<p>
+    <div class="download">
+        <table width="100%" class="noBorder">
+            <tr>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}-src.tar.gz">
+                        <img src="{{base}}images/download.png" width="32" height="32"
border="0"/>
+                    </a>
+                </td>
+                <td>&nbsp;</td>
+                <td>
+                    <a href="[preferred]/directory/api/{{version}}/apache-ldap-api-{{version}}-src.tar.gz">
+                        <strong>
+                            [preferred]/&#91;...&#93;/apache-ldap-api-{{version}}-src.tar.gz
+                        </strong>
+                    </a>
+                </td>
+                <td align="right">
+                    [<a href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}-src.tar.gz.asc">ASC</a>-<a
href="http://archive.apache.org/dist/directory/api/{{version}}/apache-ldap-api-{{version}}-src.tar.gz.md5">MD5</a>]
+                </td>
+            </tr>
+        </table>
+    </div>
+</p>
+
+<p>&nbsp;</p>
+
+{% include "download-change-mirror.html" %}
+
+<p>&nbsp;</p>
+
+    {% extends "download-verify-file-integrity.html" %}
+        {% block filename %}apache-ldap-api-{{version}}-src.zip{% endblock %}
+    {% endextends %}
+    {% endblock %}
+{% endextends %}
\ No newline at end of file



Mime
View raw message