openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1340207 - /incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js
Date Fri, 18 May 2012 18:49:51 GMT
Author: marcus
Date: Fri May 18 18:49:50 2012
New Revision: 1340207

URL: http://svn.apache.org/viewvc?rev=1340207&view=rev
Log:
Reworked the DL scripts regarding some points like language, schema, deprecated code

Added:
    incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js   (with props)

Added: incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js?rev=1340207&view=auto
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js (added)
+++ incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js Fri May 18 18:49:50
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;
+

Propchange: incubator/ooo/ooo-site/trunk/content/download/globalvars_new_dl_aoo.js
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message