Author: hibou
Date: Sun Nov 6 19:00:01 2011
New Revision: 1198533
URL: http://svn.apache.org/viewvc?rev=1198533&view=rev
Log:
Try to generate proper mirror xml file for the p2 repositories
Added:
ant/site/ivyde/production/updatesite/p2-mirrors--xml.cgi (with props)
ant/site/ivyde/production/updatesite/p2-mirrors--xml.html (with props)
ant/site/ivyde/sources/updatesite/p2-mirrors--xml.cgi (with props)
ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html (with props)
Added: ant/site/ivyde/production/updatesite/p2-mirrors--xml.cgi
URL:
http://svn.apache.org/viewvc/ant/site/ivyde/production/updatesite/p2-mirrors--xml.cgi?rev=1198533&view=auto
==============================================================================
--- ant/site/ivyde/production/updatesite/p2-mirrors--xml.cgi (added)
+++ ant/site/ivyde/production/updatesite/p2-mirrors--xml.cgi Sun Nov 6
19:00:01 2011
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# 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.
+
+# 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: ant/site/ivyde/production/updatesite/p2-mirrors--xml.cgi
------------------------------------------------------------------------------
svn:executable = *
Added: ant/site/ivyde/production/updatesite/p2-mirrors--xml.html
URL:
http://svn.apache.org/viewvc/ant/site/ivyde/production/updatesite/p2-mirrors--xml.html?rev=1198533&view=auto
==============================================================================
--- ant/site/ivyde/production/updatesite/p2-mirrors--xml.html (added)
+++ ant/site/ivyde/production/updatesite/p2-mirrors--xml.html Sun Nov 6
19:00:01 2011
@@ -0,0 +1,16 @@
+<mirrors>
+<mirror url="[preferred]/ant/ivyde/updatesite/[path_info]"
+label="Recommended mirror: [preferred]"/>
+[if-any http]
+ [for http]
+ <mirror url="[http]/ant/ivyde/updatesite/[path_info]"
+ label="[http]"/>
+ [end]
+[end]
+[if-any backup]
+ [for backup]
+ <mirror url="[backup]/ant/ivyde/updatesite/[path_info]"
+ label="Backup mirror: [backup]"/>
+ [end]
+[end]
+</mirrors>
Propchange: ant/site/ivyde/production/updatesite/p2-mirrors--xml.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/site/ivyde/production/updatesite/p2-mirrors--xml.html
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/site/ivyde/production/updatesite/p2-mirrors--xml.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: ant/site/ivyde/sources/updatesite/p2-mirrors--xml.cgi
URL:
http://svn.apache.org/viewvc/ant/site/ivyde/sources/updatesite/p2-mirrors--xml.cgi?rev=1198533&view=auto
==============================================================================
--- ant/site/ivyde/sources/updatesite/p2-mirrors--xml.cgi (added)
+++ ant/site/ivyde/sources/updatesite/p2-mirrors--xml.cgi Sun Nov 6 19:00:01
2011
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# 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.
+
+# 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: ant/site/ivyde/sources/updatesite/p2-mirrors--xml.cgi
------------------------------------------------------------------------------
svn:executable = *
Added: ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html
URL:
http://svn.apache.org/viewvc/ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html?rev=1198533&view=auto
==============================================================================
--- ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html (added)
+++ ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html Sun Nov 6 19:00:01
2011
@@ -0,0 +1,16 @@
+<mirrors>
+<mirror url="[preferred]/ant/ivyde/updatesite/[path_info]"
+label="Recommended mirror: [preferred]"/>
+[if-any http]
+ [for http]
+ <mirror url="[http]/ant/ivyde/updatesite/[path_info]"
+ label="[http]"/>
+ [end]
+[end]
+[if-any backup]
+ [for backup]
+ <mirror url="[backup]/ant/ivyde/updatesite/[path_info]"
+ label="Backup mirror: [backup]"/>
+ [end]
+[end]
+</mirrors>
Propchange: ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: ant/site/ivyde/sources/updatesite/p2-mirrors--xml.html
------------------------------------------------------------------------------
svn:mime-type = text/html