Mozilla/mozilla/webtools/aus/xml/inc/config-dist.php
hwine%mozilla.com 5d958e5c20 bug 1118476 - offer FF 35.0 to all; r=jlund
git-svn-id: svn://10.0.0.236/trunk@265786 18797224-902f-48f8-a5cc-f745e15eee43
2015-01-17 00:06:35 +00:00

805 lines
21 KiB
PHP

<?php
// ***** BEGIN LICENSE BLOCK *****
//
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS" basis,
// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
// for the specific language governing rights and limitations under the
// License.
//
// The Original Code is AUS.
//
// The Initial Developer of the Original Code is Mike Morgan.
//
// Portions created by the Initial Developer are Copyright (C) 2006
// the Initial Developer. All Rights Reserved.
//
// Contributor(s):
// Mike Morgan <morgamic@mozilla.com>
//
// Alternatively, the contents of this file may be used under the terms of
// either the GNU General Public License Version 2 or later (the "GPL"), or
// the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
// in which case the provisions of the GPL or the LGPL are applicable instead
// of those above. If you wish to allow use of your version of this file only
// under the terms of either the GPL or the LGPL, and not to allow others to
// use your version of this file under the terms of the MPL, indicate your
// decision by deleting the provisions above and replace them with the notice
// and other provisions required by the GPL or the LGPL. If you do not delete
// the provisions above, a recipient may use your version of this file under
// the terms of any one of the MPL, the GPL or the LGPL.
//
// ***** END LICENSE BLOCK *****
/**
* Configuration file.
* @package aus
* @subpackage inc
* @author Mike Morgan
*/
// define('SOURCE_DIR','/home/morgamic/public_html/auslite/source');
define('SOURCE_DIR',getcwd().'/data');
// This is the directory containin channel-specific updates.
// Snippets in this directory override normal updates.
define('OVERRIDE_DIR',getcwd().'/data/3');
// Uncomment this line in order to echo text debug information.
define('DEBUG',false);
// Define default for Update blocks.
define('UPDATE_TYPE','minor');
define('UPDATE_VERSION','1.0+');
define('UPDATE_EXTENSION_VERSION','1.0+');
// Define cookie parameters
define('COOKIE_NAME', 'aus2a');
define('COOKIE_DOMAIN', 'aus2.mozilla.org');
// Turns global throttling on and off.
define('THROTTLE_GLOBAL',false);
// Define the throttle -- think gas pedal. This determines how much the AUS application will
// stagger updates. Pedal to the floor means we're serving all updates. Examples:
// 10 = Updates offered only 10% of the time.
// 80 = Updates offered 80% of the time.
// 100 = Updates always offered.
define('THROTTLE_LEVEL',100);
// Turns logging throttled hits on and off.
define('THROTTLE_LOGGING',false);
// This defines explicit throttling levels per locale. It overrides global and
// product throttling only for the specified locales.
$localeThrottling = array(
);
// This defines explicit throttling levels. If global throttling is on, these
// override global levels. If it is off, this still works. For example, this
// is 10% throttling (only 10% of the time updates are offered):
//
// NOTE: "FULLY THROTTLED" == 0
// "UNTHROTTLED" == 100 (or remove the entry)
$productThrottling = array(
'Firefox' => array(
'10.0' => 100,
'10.0.1' => 100,
'10.0.2' => 100,
'11.0' => 100,
'12.0' => 100,
'13.0' => 100,
'13.0.1' => 100,
'14.0.1' => 100,
'15.0' => 100,
'15.0.1' => 100,
'16.0' => 100,
'16.0.1' => 100,
'16.0.2' => 100,
'17.0' => 100,
'17.0.1' => 100,
'18.0' => 100,
'18.0.1' => 100,
'18.0.2' => 100,
'19.0' => 100,
'19.0.1' => 100,
'19.0.2' => 100,
'20.0' => 100,
'20.0.1' => 100,
'21.0' => 100,
'22.0' => 100,
'23.0' => 100,
'23.0.1' => 100,
'24.0' => 100,
'25.0' => 100,
'25.0.1' => 100,
'26.0' => 100,
'27.0' => 100,
'27.0.1' => 100,
'28.0' => 100,
'29.0' => 100,
'29.0.1' => 100,
'30.0' => 100,
'31.0' => 100,
'32.0' => 100,
'32.0.1' => 100,
'32.0.2' => 100,
'32.0.3' => 100,
'33.0' => 100,
'33.0.1' => 100,
'33.0.2' => 100,
'33.0.3' => 100,
'33.1' => 100,
'33.1.1' => 100,
'34.0' => 100,
'34.0.5' => 100,
),
'Thunderbird' => array(
'10.0' => 100,
'10.0.1' => 100,
'10.0.2' => 100,
'11.0' => 100,
'11.0.1' => 100,
'12.0' => 100,
'12.0.1' => 100,
'13.0' => 100,
'13.0.1' => 100,
'14.0' => 100,
'15.0' => 100,
'15.0.1' => 100,
'16.0' => 100,
'16.0.1' => 100,
'16.0.2' => 100,
'17.0' => 100,
'17.0.2' => 100,
'17.0.3' => 100,
'17.0.4' => 100,
'17.0.5' => 100,
'17.0.6' => 100,
'17.0.7' => 100,
'17.0.8' => 100,
'24.0' => 100,
'24.0.1' => 100,
'24.1.0' => 100,
'24.1.1' => 100,
'24.2.0' => 100,
'24.3.0' => 100,
'24.4.0' => 100,
'24.5.0' => 100,
'24.6.0' => 100,
),
);
// List of exceptions for throttling.
//
// $throttleExceptions = array(
// '3.0.11' => array(
// 'betatest',
// 'releasetest',
// 'beta'
// )
// );
//
// In this example, 3.0.11 with channel names that match these channels will not
// be throttled unless there is a global throttle enabled.
$throttleExceptions = array(
'10.0' => array(
'betatest',
'releasetest',
'esrtest',
'esrreleasetest',
'beta',
'esr'
),
'10.0.1' => array(
'betatest',
'releasetest',
'esrtest',
'esrreleasetest',
'beta',
'esr'
),
'10.0.2' => array(
'betatest',
'releasetest',
'esrtest',
'esrreleasetest',
'beta',
'esr'
),
'11.0' => array(
'betatest',
'releasetest',
'beta'
),
'12.0' => array(
'betatest',
'releasetest',
'beta'
),
'13.0' => array(
'betatest',
'releasetest',
'beta'
),
'13.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'14.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'15.0' => array(
'betatest',
'releasetest',
'beta'
),
'15.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'16.0' => array(
'betatest',
'releasetest',
'beta'
),
'16.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'16.0.2' => array(
'betatest',
'releasetest',
'beta'
),
'17.0' => array(
'betatest',
'releasetest',
'esrtest',
'esrreleasetest',
'esr',
'beta'
),
'17.0.1' => array(
'betatest',
'releasetest',
'esrtest',
'esrreleasetest',
'esr',
'beta'
),
'17.0.2' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'17.0.3' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'17.0.4' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'17.0.5' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'17.0.6' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'17.0.7' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'17.0.8' => array(
'esrtest',
'esrreleasetest',
'esr'
),
'18.0' => array(
'betatest',
'releasetest',
'beta'
),
'18.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'18.0.2' => array(
'betatest',
'releasetest',
'beta'
),
'19.0' => array(
'betatest',
'releasetest',
'beta'
),
'19.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'19.0.2' => array(
'betatest',
'releasetest',
'beta'
),
'20.0' => array(
'betatest',
'releasetest',
'beta'
),
'20.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'21.0' => array(
'betatest',
'releasetest',
'beta'
),
'22.0' => array(
'betatest',
'releasetest',
'beta'
),
'23.0' => array(
'betatest',
'releasetest',
'beta'
),
'23.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'24.0' => array(
'betatest',
'releasetest',
'beta',
'esrtest',
'esrreleasetest',
'esr',
),
'24.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'24.1.0' => array(
'betatest',
'releasetest',
'beta'
),
'24.1.1' => array(
'betatest',
'releasetest',
'beta'
),
'24.2.0' => array(
'betatest',
'releasetest',
'beta'
),
'24.3.0' => array(
'betatest',
'releasetest',
'beta'
),
'24.4.0' => array(
'betatest',
'releasetest',
'beta'
),
'24.5.0' => array(
'betatest',
'releasetest',
'beta'
),
'24.6.0' => array(
'betatest',
'releasetest',
'beta'
),
'25.0' => array(
'betatest',
'releasetest',
'beta'
),
'25.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'26.0' => array(
'betatest',
'releasetest',
'beta'
),
'27.0' => array(
'betatest',
'releasetest',
'beta'
),
'27.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'28.0' => array(
'betatest',
'releasetest',
'beta'
),
'29.0' => array(
'betatest',
'releasetest',
'beta'
),
'29.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'30.0' => array(
'betatest',
'releasetest',
'beta'
),
'31.0' => array(
'betatest',
'releasetest',
'beta'
),
'32.0' => array(
'betatest',
'releasetest',
'beta'
),
'32.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'32.0.2' => array(
'betatest',
'releasetest',
'beta'
),
'32.0.3' => array(
'betatest',
'releasetest',
'beta'
),
'33.0' => array(
'betatest',
'releasetest',
'beta'
),
'33.0.1' => array(
'betatest',
'releasetest',
'beta'
),
'33.0.2' => array(
'betatest',
'releasetest',
'beta'
),
'33.0.3' => array(
'betatest',
'releasetest',
'beta'
),
'33.1' => array(
'betatest',
'releasetest',
'beta'
),
'33.1.1' => array(
'betatest',
'releasetest',
'beta'
),
'34.0' => array(
'betatest',
'releasetest',
'beta'
),
'34.0.5' => array(
'betatest',
'releasetest',
'beta'
),
);
// These are channels that have access to nightly updates.
// All other channels only have access to the OVERRIDE_DIR for update info.
$nightlyChannels = array(
'nightly',
'nightlytest',
'nightly-alder',
'nightly-tracemonkey',
'nightly-electrolysis',
'nightly-mozilla-2.1',
'nightly-jaegermonkey',
'nightly-ux',
'nightly-maple',
'nightly-birch',
'nightly-ash',
'nightly-elm',
'nightly-fig',
'nightly-ionmonkey',
'nightly-oak',
'nightly-profiling',
'nightly-esr10',
'nightly-esr17',
'nightly-esr24',
'nightly-esr31',
'aurora',
'auroratest'
);
// This hash defines the product->version->patch relationships for nightlies
// It determines which patches are associated to which incoming client versions.
// @todo replace this with a better datasource that can be easily managed via a GUI.
// The ordering is !important!, given the wildcard block at the bottom.
$productBranchVersions = array(
'MetroFirefox' => array(
'*' => array(
'nightly' => 'mozilla-central',
'nightlytest' => 'mozilla-central-test',
'nightly-alder' => 'alder',
'nightly-oak' => 'oak',
'aurora' => 'mozilla-aurora',
'auroratest' => 'mozilla-aurora-test'
)
),
'Firefox' => array(
'*' => array(
'nightly' => 'mozilla-central',
'nightlytest' => 'mozilla-central-test',
'nightly-alder' => 'alder',
'nightly-tracemonkey' => 'tracemonkey',
'nightly-electrolysis' => 'electrolysis',
'nightly-jaegermonkey' => 'jaegermonkey',
'nightly-ux' => 'ux',
'nightly-maple' => 'maple',
'nightly-birch' => 'birch',
'nightly-ash' => 'ash',
'nightly-elm' => 'elm',
'nightly-ionmonkey' => 'ionmonkey',
'nightly-oak' => 'oak',
'nightly-profiling' => 'mozilla-central',
'nightly-esr10' => 'mozilla-esr24',
'nightly-esr17' => 'mozilla-esr24',
'nightly-esr24' => 'mozilla-esr31',
'nightly-esr31' => 'mozilla-esr31',
'aurora' => 'mozilla-aurora',
'auroratest' => 'mozilla-aurora-test'
)
),
'Fennec' => array(
'4.0*' => array(
'nightly-mozilla-2.1' => 'mozilla-2.1'
),
'*' => array(
'nightly' => 'mozilla-central',
'aurora' => 'mozilla-aurora',
'nightly-birch' => 'mozilla-central',
'nightly-ash' => 'ash',
'nightly-maple' => 'maple',
'nightly-oak' => 'oak',
'nightly-fig' => 'fig'
)
),
'Thunderbird' => array(
'*' => array(
'nightly' => 'comm-central',
'nightlytest' => 'comm-central-test',
'nightly-esr10' => 'comm-esr10',
'nightly-esr17' => 'comm-esr17',
'nightly-esr24' => 'comm-esr24',
'nightly-esr31' => 'comm-esr31',
'aurora' => 'comm-aurora',
'auroratest' => 'comm-aurora-test'
),
),
);
// Specify which release should be used for channel-changers wanting to go to
// release or beta channels.
$latestRelease = array(
'Firefox' => array(
'beta' => '5.0',
'release' => '5.0'
)
);
// Config for memcache.
define('MEMCACHE_NAMESPACE', 'aus'); // set memcache namespace. Keep this string as short and simple as possible.
define('MEMCACHE_EXPIRE', 1800); // how long items are stored in memcache
define('MEMCACHE_ON', false); // whether or not to cache ever
/**
* Memcache configuration.
* See http://php.oregonstate.edu/memcache for info.
*/
$memcache_config = array(
'localhost' => array(
'port' => '11211',
'persistent' => true,
'weight' => '1',
'timeout' => '1',
'retry_interval' => 15
)
);
/*
* Array that defines which %OS_VERSION% values are no longer supported.
* Applies to all updates and uses the version of the update to be
* served to determine blocking (bug 666735). Previously only applied to
* major updates, and used the version from the incoming URI (bug 418129)
* Use of this array is in inc/patch.class.php.
*
* The Array format is considered to be:
* array(
* $Product => array(
* $Version => array(
* $OS_VERSION
* )
* )
* )
*
* $Product is the product name (Firefox, Thunderbird, etc. - %PRODUCT%).
*
* $Version is a string which identifies some set of releases
* '1.0.2' - an exact version
* '1.0*' - all versions starting '1.0' (via a regexp)
* '1.0b3+' - all versions from 1.0b3 onwards (via php's version_compare)
*
* $OS_VERSION is used in a string match (existence anywhere in passed
* %OS_VERSION% triggers blocklisting of that OS).
*/
$unsupportedPlatforms = array(
'Firefox' => array(
// Mac 10.2/10.3, Win < 2k, GTK < 2.10 - bug 418129
'3.0b1+' => array(
'Darwin 6',
'Darwin 7',
'Windows_95',
'Windows_98',
'Windows_NT 4',
'GTK 2.0.',
'GTK 2.1.',
'GTK 2.2.',
'GTK 2.3.',
'GTK 2.4.',
'GTK 2.5.',
'GTK 2.6.',
'GTK 2.7.',
'GTK 2.8.',
'GTK 2.9.'
),
// Mac 10.4 - bug 640044
// See index.php for PPC
'4.0b1+' => array(
'Darwin 8'
),
// RHEL5 has too old libstdc++ - bug 655917
// Fx6 will ship with --enable-stdcxx-compat
'4.0*' => array(
'.el5'
),
'5.0*' => array(
'.el5'
),
// Too old freetype - bug 666735
'7.0a2+' => array(
'GTK 2.10.'
),
// Block Win2000, XP RTM & SP1 after switching to MSVC2010
'13.0a1+' => array (
'Windows_NT 5.0',
'Windows_NT 5.1.0',
'Windows_NT 5.1.1',
),
// Mac 10.5 - bug 772735
'17.0a1+' => array (
'Darwin 9'
),
// Move to newer build platform
// block glib < 2.22 by blocking gtk < 2.18, bug 772563/772446/793634
'17.0a2+' => array(
'GTK 2.11.',
'GTK 2.12.',
'GTK 2.13.',
'GTK 2.14.',
'GTK 2.15.',
'GTK 2.16.',
'GTK 2.17.',
)
),
'Thunderbird' => array(
// Mac 10.2/10.3, Win < 2k, GTK < 2.10 - bug 418129
'3.0a1+' => array(
'Darwin 6',
'Darwin 7',
'Windows_95',
'Windows_98',
'Windows_NT 4',
'GTK 2.0.',
'GTK 2.1.',
'GTK 2.2.',
'GTK 2.3.',
'GTK 2.4.',
'GTK 2.5.',
'GTK 2.6.',
'GTK 2.7.',
'GTK 2.8.',
'GTK 2.9.'
),
// Mac 10.4 - bug 640044
// See index.php for PPC
'4.0b1+' => array(
'Darwin 8'
),
// RHEL5 has too old libstdc++ - bug 655917
'4.0*' => array(
'.el5'
),
'5.0*' => array(
'.el5'
),
// Too old freetype - bug 666735
'7.0a1+' => array(
'GTK 2.10.'
),
// Block Win2000, XP RTM & SP1 after switching to MSVC2010
'13.0a1+' => array (
'Windows_NT 5.0',
'Windows_NT 5.1.0',
'Windows_NT 5.1.1',
),
// Mac 10.5 - bug 772735
'17.0a1+' => array (
'Darwin 9'
),
// Move to newer build platform
// block glib < 2.22 by blocking gtk < 2.18, bug 794378
'17.0a2+' => array(
'GTK 2.11.',
'GTK 2.12.',
'GTK 2.13.',
'GTK 2.14.',
'GTK 2.15.',
'GTK 2.16.',
'GTK 2.17.',
),
)
);
?>