Remove all updates on SeaMonkey 2.1* for PPC

RESOLVED FIXED in seamonkey2.1b1

Status

SeaMonkey
Release Engineering
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: Robert Kaiser, Assigned: Robert Kaiser)

Tracking

Trunk
seamonkey2.1b1
PowerPC
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
As PPC is broken now on trunk and we don't want people to get upgraded to broken stuff but don't have the infrastructure to safely de-support PPC, we need to care that those users don't get any updates on 2.1* builds any more.

This requires us to do something like bug 588412, we'll need to look into updating aus2-community for this.
(Assignee)

Comment 1

7 years ago
Applied this patch to aus2-community:

Index: index.php
===================================================================
RCS file: /cvsroot/mozilla/webtools/aus/xml/index.php,v
retrieving revision 1.31
diff -u -8 -r1.31 index.php
--- index.php   4 Oct 2010 20:41:40 -0000       1.31
+++ index.php   6 Oct 2010 00:42:54 -0000
@@ -89,16 +89,25 @@
 // doesn't work on PPC.  See bug 588412.
 if ( $clean['product'] == 'Firefox'
      && (preg_match('/^4\.0.*$/', $clean['version']) || preg_match('/^3\.7.*$/', $clean['version']))
      && strpos($_SERVER['HTTP_USER_AGENT'], 'PPC')) {
         $xml->printXml();
         exit;
 }
 
+// Check to see if we have a 2.1 build on PPC, and if so don't update since beta 1
+// doesn't work on PPC.  See bug 601919.
+if ( $clean['product'] == 'SeaMonkey'
+     && preg_match('/^2\.1.*$/', $clean['version'])
+     && strpos($_SERVER['HTTP_USER_AGENT'], 'PPC')) {
+        $xml->printXml();
+        exit;
+}
+
  
 // Check to see if the user is explicitly requesting an update.  If they are,
 // skip throttling.  If they aren't, and throttling is enabled, first check
 // explicit throttling.  If no specific rules exist, fallback to global rules.
 // In either case, updates will be served based on the configured random seed.
 if ( (empty($_GET['force']) || $_GET['force']!=1) ) {
 
     // Default to false.  If conditions are met, flip it.
Assignee: nobody → kairo
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1b1
You need to log in before you can comment on or make changes to this bug.