Permalink
Browse files

merge to production

changeset:   2497:125fb8df2570
parent:      2495:27f1f4e637e7
user:        Rail Aliiev <rail@mozilla.com>
date:        Thu Aug 02 18:06:38 2012 -0400
summary:     Bug 779907 - xulrunner builds don't pass configure on mac. r=bhearsum

changeset:   2498:c36aa753df85
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Thu Aug 02 15:11:50 2012 -0700
summary:     bug 780004: remove CodeCoverage and CC stuff from buildbotcustom. r=catlee

changeset:   2499:4488e93a55c9
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Thu Aug 02 15:31:09 2012 -0700
summary:     Kill UnittestBuildFactory too. r=catlee

changeset:   2500:2a3ea74b1a7a
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Thu Aug 02 16:27:14 2012 -0700
summary:     Kill unused code. r=catlee

--HG--
branch : production-0.8
  • Loading branch information...
2 parents 2432c12 + 5b62abc commit 4b331d86b35ce161e2df28f4724351d6b7a84cb6 Justin Wood committed Aug 3, 2012
Showing with 4 additions and 3,805 deletions.
  1. +0 −46 l10n.py
  2. +2 −1,287 misc.py
  3. +2 −1,560 process/factory.py
  4. +0 −157 steps/misc.py
  5. +0 −13 steps/release.py
  6. +0 −79 steps/test.py
  7. +0 −366 steps/transfer.py
  8. +0 −297 steps/unittest.py
View
46 l10n.py
@@ -193,49 +193,3 @@ def __init__(self, name, builderNames, **kwargs):
def trigger(self, ss, set_props=None):
reason = "This build was triggered by the successful completion of the en-US nightly."
self.createL10nBuilds(revision=ss.revision, reason=reason, set_props=set_props)
-
-
-class DependentL10n(Dependent, L10nMixin):
- """
- This scheduler runs some set of 'downstream' builds when the
- 'upstream' scheduler has completed successfully.
- """
-
- compare_attrs = Dependent.compare_attrs[:]
-
- def __init__(self, name, upstream, builderNames, **kwargs):
- Dependent.__init__(self, name, upstream, builderNames)
- L10nMixin.__init__(self, **kwargs)
-
- def run(self):
- d = self.parent.db.runInteraction(self._run)
-
- def _createBuilds(sses):
- # This gets called with a list of SourceStamps to do builds for
- l = []
- for ss in sses:
- d1 = self.createL10nBuilds(ss.revision)
- l.append(d1)
- return defer.gatherResults(l)
-
- d.addCallback(_createBuilds)
- # Return None here since we don't need to be woken up in a specific
- # amount of time.
- d.addCallback(lambda ign: None)
-
- return d
-
- def _run(self, t):
- db = self.parent.db
- res = db.scheduler_get_subscribed_buildsets(self.schedulerid, t)
- # this returns bsid,ssid,results for all of our active subscriptions.
- # We ignore the ones that aren't complete yet. This leaves the
- # subscription in place until the buildset is complete.
- sses = []
- for (bsid,ssid,complete,results) in res:
- if complete:
- if results in (SUCCESS, WARNINGS):
- ss = db.getSourceStampNumberedNow(ssid, t)
- sses.append(ss)
- db.scheduler_unsubscribe_buildset(self.schedulerid, bsid, t)
- return sses
View
1,289 misc.py

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 4b331d8

Please sign in to comment.