You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2012/05/18 20:50:20 UTC

svn commit: r818213 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/globalvars_new_dl_aoo.js

Author: buildbot
Date: Fri May 18 18:50:20 2012
New Revision: 818213

Log:
Staging update by buildbot for openofficeorg

Added:
    websites/staging/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js
Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri May 18 18:50:20 2012
@@ -1 +1 @@
-1340206
+1340207

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri May 18 18:50:20 2012
@@ -1 +1 @@
-1340206
+1340207

Added: websites/staging/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js (added)
+++ websites/staging/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js Fri May 18 18:50:20 2012
@@ -0,0 +1,56 @@
+/* This file is to maintain version information that can be used
+   on all websites via JavaScript when including this file.
+
+   Instead of hard coded version data please use these variables.
+   Example:
+
+   Wrong:   "We are proud to announce the availability of our new
+             OpenOffice.org 3.0.0 release."
+   Correct: "We are proud to announce the availability of our new
+             OpenOffice.org " + VERSION + " release."
+
+   MIRROR:  set default mirror site
+   SCHEMA:  reflects the download-set naming-schema with "old" or "new"
+*/
+
+// The supported mirror hosts, 0 means not ready to receive load
+// The mirror ratio in percent
+var MIRROR_ASF_ACTIVE		= 1;
+var MIRROR_SF_ACTIVE		= 1;
+var MIRROR_MB_ACTIVE		= 0;
+var MIRROR_RATIO_1		= 75;
+var MIRROR_RATIO_2		= 33;
+var MIRROR_HOSTS		= [ "Apache", "MirrorBrain", "SourceForge" ];
+var MIRROR_HOSTS_WEIGHT		= [ 1, 2, 3 ];
+var MIRROR_HOSTS_WEIGHTED	= [ "Apache", "MirrorBrain", "MirrorBrain", "SourceForge", "SourceForge", "SourceForge" ];
+
+// Exchange the variables resp. its content to switch the MirrorBrain server
+var MIRROR_BOUNCER_URL		= "http://openoffice.bouncer.osuosl.org/";
+var MIRROR_MIRRORBRAIN_URL	= "http://openoffice.mirrorbrain.org/";
+// var MIRROR_MIRRORBRAIN_URL	= "http://download.services.openoffice.org/";
+var MIRROR_SOURCEFORGE_URL	= "http://sourceforge.net/projects/openofficeorg.mirror/";
+var MIRROR_APACHE_URL		= "http://www.apache.org/dyn/closer.cgi/incubator/ooo/";
+
+// Don't add these on, they're alredy supplied by mirrobrarin_getLink, reference only
+var SOURCEFORGE_SUFFIX		= "files/stable/3.4/";
+var APACHE_SUFFIX		= "files/stable/3.4/";
+var MIRROR_SOURCEFORGE_REF	= MIRROR_SOURCEFORGE_URL + SOURCEFORGE_SUFFIX;
+var MIRROR_APACHE_REF		= MIRROR_APACHE_URL + APACHE_SUFFIX;
+
+// Variables to shortcut long URLs
+//var MIRROR_EXT_URL		= MIRROR_MIRRORBRAIN_URL + "files/extended/";
+//var MIRROR_LOC_URL		= MIRROR_MIRRORBRAIN_URL + "files/localized/";
+//var MIRROR_STABLE_URL		= MIRROR_MIRRORBRAIN_URL + "files/stable/";
+var MIRROR_EXT_URL		= MIRROR_SOURCEFORGE_URL + "files/extended/";
+var MIRROR_LOC_URL		= MIRROR_SOURCEFORGE_URL + "files/localized/";
+var MIRROR_STABLE_URL		= MIRROR_SOURCEFORGE_URL + "files/stable/";
+
+//The most recent stable release
+var VERSION			= "3.4.0";
+//var MIRROR			= "sourceforge";
+var MIRROR			= MIRROR_SOURCEFORGE_URL;
+var SCHEMA			= "aoo";
+
+//The maximal available number of languages
+var LANG_MAX			= 133;
+