directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r512038 - in /directory/ldapstudio/trunk/ldapstudio-updatesite: README htaccess site--xml.cgi site--xml.html
Date Mon, 26 Feb 2007 22:17:37 GMT
Author: seelmann
Date: Mon Feb 26 14:17:36 2007
New Revision: 512038

URL: http://svn.apache.org/viewvc?view=rev&rev=512038
Log:
Added dynamic updatesite files and a README to version control.

Added:
    directory/ldapstudio/trunk/ldapstudio-updatesite/README
    directory/ldapstudio/trunk/ldapstudio-updatesite/htaccess
    directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.cgi   (with props)
    directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.html   (with props)

Added: directory/ldapstudio/trunk/ldapstudio-updatesite/README
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-updatesite/README?view=auto&rev=512038
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-updatesite/README (added)
+++ directory/ldapstudio/trunk/ldapstudio-updatesite/README Mon Feb 26 14:17:36 2007
@@ -0,0 +1,30 @@
+LDAP Studio Update Site:
+------------------------
+The update site is located under https://directory.apache.org/ldapstudio/udpate. 
+
+The main update site consists of the following files:
+
+ +--directory.apache.org
+    |
+    +--ldapstudio
+       |
+       +--update
+          |
+          +--.htaccess
+          +--site--xml.html
+          +--site--xml.cgi
+
+The update manager of Eclipse and the RCP application automatically tries to 
+access the site.xml to get new updates or features. Our .htacces contains
+a rewrite rule to forward from site.xml to site--xml.cgi. Ensure to rename
+htaccess to .htaccess!
+
+The site--xml.cgi just calls Apache's mirrors.cgi to get a list of available
+mirrors.
+
+The site--xml.html is a template of the real site.xml. The url of the 
+preferred mirror determined by the cgi script is applied to this template.
+
+With this trick the update manager always gets an URL to another mirror.
+The update manager loads the features and plugins from these mirrors. So
+the mirrors must contain the features and the plugins directories.

Added: directory/ldapstudio/trunk/ldapstudio-updatesite/htaccess
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-updatesite/htaccess?view=auto&rev=512038
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-updatesite/htaccess (added)
+++ directory/ldapstudio/trunk/ldapstudio-updatesite/htaccess Mon Feb 26 14:17:36 2007
@@ -0,0 +1,6 @@
+RewriteEngine on
+
+RewriteBase /ldapstudio/update
+
+RewriteRule ^site.xml$ site--xml.cgi [L]
+

Added: directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.cgi
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.cgi?view=auto&rev=512038
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.cgi (added)
+++ directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.cgi Mon Feb 26 14:17:36 2007
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Wrapper script around mirrors.cgi script
+# (we must change to that directory in order for python to pick up the
+#  python includes correctly)
+cd /www/www.apache.org/dyn/mirrors
+/www/www.apache.org/dyn/mirrors/mirrors.cgi $* 

Propchange: directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.cgi
------------------------------------------------------------------------------
    svn:executable = *

Added: directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.html
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.html?view=auto&rev=512038
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.html (added)
+++ directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.html Mon Feb 26 14:17:36 2007
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<site>
+   <feature url="[preferred]/directory/ldapstudio/update/features/org.apache.directory.ldapstudio.rcp.feature_0.6.0.jar"
id="org.apache.directory.ldapstudio.rcp.feature" version="0.6.0" os="linux,macosx,win32" ws="carbon,gtk,win32"
arch="ppc,x86">
+      <category name="LDAP Studio RCP"/>
+   </feature>
+   <feature url="[preferred]/directory/ldapstudio/update/features/org.apache.directory.ldapstudio.browser.feature_0.6.1.jar"
id="org.apache.directory.ldapstudio.browser.feature" version="0.6.1">
+      <category name="LDAP Studio Browser"/>
+   </feature>
+   <feature url="[preferred]/directory/ldapstudio/update/features/org.apache.directory.ldapstudio.schemas.feature_0.6.0.jar"
id="org.apache.directory.ldapstudio.schemas.feature" version="0.6.0">
+      <category name="LDAP Studio Schemas Editor"/>
+   </feature>
+   <archive path="plugins/org.apache.directory.ldapstudio_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.help_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.help_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.jars_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.jars_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.browser.core_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.browser.core_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.browser.ui_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.browser.ui_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.browser.help_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.browser.help_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.schemas_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.schemas_0.6.0.jar"/>
+   <archive path="plugins/org.apache.directory.ldapstudio.schemas.help_0.6.0.jar" url="[preferred]/directory/ldapstudio/update/plugins/org.apache.directory.ldapstudio.schemas.help_0.6.0.jar"/>
+   <category-def name="LDAP Studio RCP" label="LDAP Studio RCP">
+      <description>
+         The LDAP Studio RCP category contains all features related to the LDAP Studio RCP
Application.
+      </description>
+   </category-def>
+   <category-def name="LDAP Studio Browser" label="LDAP Studio Browser">
+      <description>
+         The LDAP Studio Browser category contains all features related to the LDAP Studio
Browser.
+      </description>
+   </category-def>
+   <category-def name="LDAP Studio Schemas Editor" label="LDAP Studio Schemas Editor">
+      <description>
+         The LDAP Studio Schemas category contains all features related to the LDAP Studio
Schemas Editor.
+      </description>
+   </category-def>
+</site>

Propchange: directory/ldapstudio/trunk/ldapstudio-updatesite/site--xml.html
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message