Closed Bug 614388 Opened 14 years ago Closed 14 years ago

please update AUS2 to AUS2_PRODUCTION tag

Categories

(mozilla.org Graveyard :: Server Operations, task)

x86
macOS
task
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: jlaz)

References

Details

You should end up with rev 1.110 of config-dist.php.

Blocks ongoing release of 3.5.16/3.6.13 to beta channel, marking as blocker.
AUS2 updated
[root@mradm02 app]# cvs -q up -dP -r AUS2_PRODUCTION
? inc/config.php
? inc/config.php.2009102000
? inc/config.php.20100316
? inc/config.php.2010040500
P inc/config-dist.php
[root@mradm02 app]# cd inc/
[root@mradm02 inc]# ls
aus.class.php    config-dist.php~  config.php.2009102000  config.php.2010040500  config-test.php  init.php        patch.class.php   xml.class.php
config-dist.php  config.php        config.php.20100316    config.php.bak         CVS              memcaching.php  update.class.php
[root@mradm02 inc]# diff config-dist.php config.php
90,91c90
<          '3.5.15' => 0,
<          '3.6.12' => 25
---
>          '3.5.15' => 0
110,114d108
<         'releasetest',
<         'beta'
<     ),
<     '3.6.12' => array (
<         'betatest',
[root@mradm02 inc]# cat config-dist.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.  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):
//
// $productThrottling = array(
//     'Firefox' => array(
//         '3.0' => 10,
//         '3.1' => 10
//     )
// );
$productThrottling = array(
     'Firefox' => array(
         '3.5.15' => 0,
         '3.6.12' => 25
     )
);

// 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(
    '3.5.15' => array (
        'betatest',
        'releasetest',
        'beta'
    ),
    '3.6.12' => array (
        'betatest',
        'releasetest'
    )
);

// 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',
    'nightly-tracemonkey',
    'nightly-electrolysis',
    'nightly-mozilla-2.0',
);

// 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.
$productBranchVersions = array(
    'Firefox'     =>  array(
        '2.0*'    =>  '2.0',
        '3.0*'   =>  'trunk',
        '3.1*'    => 'mozilla-1.9.1',
        '3.5*'    => 'mozilla-1.9.1',
        '3.6*plugin*' => 'firefox-lorentz',
        '3.6*'    => 'mozilla-1.9.2',
        '3.2*'    => 'mozilla-central',
        '3.7*'    => array(
           'nightly'                 => 'mozilla-central',
           'nightly-tracemonkey'     => 'tracemonkey',
           'nightly-electrolysis'    => 'electrolysis'
        ),
        '4.0*'    => array(
           'nightly'                 => 'mozilla-central',
           'nightly-tracemonkey'     => 'tracemonkey',
           'nightly-electrolysis'    => 'electrolysis'
        )
    ),
    'Thunderbird' =>  array(
        '1.5.0.*' =>  '1.5.0.x',
        '2.0*'    =>  '2.0',
        '3.0*'    =>  'trunk'
    ),
    'Sunbird'     =>  array(
        '0.4a1'   =>  'branch',
        '0.5*'    =>  'branch',
        '0.7*'    =>  'branch',
        '0.8*'    =>  'branch',
        '0.9*'    =>  'branch',
        '0.6a1'   =>  'trunk'
    ),
    'Fennec'      =>  array(
        '2.0*'    =>  array(
           'nightly'                 => 'mozilla-central',
           'nightly-mozilla-2.0'     => 'mozilla-2.0'
        ),
        '4.0*'    =>  array(
           'nightly'                 => 'mozilla-central',
           'nightly-mozilla-2.0'     => 'mozilla-2.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.
 * For incoming URIs containing these as their platformVersion, no updates
 * will be offered.  As of bug 418129, this has to be branch-specific and aware
 * of whether or not an update is major.  Use of this array is in
 * inc/patch.class.php.  
 *
 * Array format has changed, and is considered to be:

 * array(
 *      $Product => array(
 *          $Version => array(
 *              $OS_VERSION
 *          )
 *      )
 *  )
 *
 * $Product is the product name (Firefox, Thunderbird, etc. - %PRODUCT%).
 *
 * $Version is the client version in the URL (%VERSION%).
 *
 * $OS_VERSION is used in a string match (existence anywhere in passed
 * %OS_VERSION% triggers blocklisting of that OS).
 */
$unsupportedPlatforms = array(
    'Firefox'     =>  array( // Change to Synthetic for tests
        '2.0*' => array( // Change to 1.0* for tests
            '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.'
        )
    ),
    'Thunderbird'     =>  array(
        '2.0*' => 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.'
        )
    )
);
?>
[root@mradm02 inc]# cat config-dist.php |grep cookie
// Define cookie parameters
[root@mradm02 inc]# vim config-dist.php
[root@mradm02 inc]# ls -la
total 188
drwxr-xr-x 3 root root  4096 Nov 23 14:00 .
drwxr-xr-x 5 root root  4096 Oct 12 10:20 ..
-rw-r--r-- 1 root root  3541 Jul 14  2009 aus.class.php
-rw-r--r-- 1 root root  8117 Nov 23 13:59 config-dist.php
-rw-r--r-- 1 root root  7291 Jan 13  2010 config-dist.php~
-rw-r--r-- 1 root root  6918 Jul 21  2009 .#config-dist.php.1.42
-rw-r--r-- 1 root root  6861 Jul 21  2009 .#config-dist.php.1.43
-rw-r--r-- 1 root root  6749 Jul 21  2009 .#config-dist.php.1.44
-rw-r--r-- 1 root root  6827 Jul 31  2009 .#config-dist.php.1.45
-rw-r--r-- 1 root root  6843 Aug  1  2009 .#config-dist.php.1.46
-rw-r--r-- 1 root root  6731 Aug  3  2009 .#config-dist.php.1.47
-rw-r--r-- 1 root root  6768 Aug 13  2009 .#config-dist.php.1.48
-rw-r--r-- 1 root root  6787 Aug 13  2009 .#config-dist.php.1.49
-rw-r--r-- 1 root root  8003 Nov  3 12:21 config.php
-rw-r--r-- 1 root root  6787 Oct 20  2009 config.php.2009102000
-rw-r--r-- 1 root root  7477 Mar 16  2010 config.php.20100316
-rw-r--r-- 1 root root  7841 Apr  5  2010 config.php.2010040500
-rw-r--r-- 1 root root  6843 Aug  3  2009 config.php.bak
-rw-r--r-- 1 root root  5904 Jun  3 17:24 config-test.php
drwxr-xr-x 2 root root  4096 Nov 23 13:59 CVS
-rw-r--r-- 1 root root  2302 Aug 20  2008 init.php
-rw-r--r-- 1 root root  5379 Mar 27  2008 memcaching.php
-rw-r--r-- 1 root root 18447 Jun  3 17:24 patch.class.php
-rw-r--r-- 1 root root  3574 Sep 19  2006 update.class.php
-rw-r--r-- 1 root root  5040 Jun  3 17:24 xml.class.php
[root@mradm02 inc]# cp config.php config.php.20101123
[root@mradm02 inc]# mv config-dist.php config.php
mv: overwrite `config.php'? y
[root@mradm02 inc]#
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee: server-ops → jlazaro
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.