Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
merging default -> production for bug 684086
Browse files Browse the repository at this point in the history
--HG--
branch : production-0.8
  • Loading branch information
escapewindow committed Sep 1, 2011
2 parents ad8f2fd + 25623c9 commit bc4dc08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 1 addition & 3 deletions bin/try_mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ def formatMessage(msgdict, from_, to):
# else default is failures only
msgdict = None
# Generate the message
if tm_options.silence:
print "No email going out for this result: %s (silence=%s)" % (result, tm_options.silence)
else:
if not tm_options.silence:
if tm_options.all_emails:
msgdict = makeTryMessage(build, log_url)
else:
Expand Down
13 changes: 1 addition & 12 deletions process/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,11 +1072,6 @@ def addBuildInfoSteps(self):
description=['getting', 'sourcestamp'],
descriptionDone=['got', 'sourcestamp']
))
self.addStep(SetBuildProperty(
name='set_comments',
property_name="comments",
value=lambda build:(build.source.changes[-1].comments),
))
self._gotBuildInfo = True

def addBuildAnalysisSteps(self):
Expand Down Expand Up @@ -1942,7 +1937,6 @@ def doUpload(self, postUploadBuildDir=None, uploadMulti=False):
revision=WithProperties('%(got_revision)s'),
files=[WithProperties('%(packageUrl)s')],
user=WithProperties('%(who)s'),
comments=WithProperties('%(comments)s'),
sendchange_props=sendchange_props,
))
for master, warn, retries in self.unittestMasters:
Expand All @@ -1956,7 +1950,6 @@ def doUpload(self, postUploadBuildDir=None, uploadMulti=False):
files=[WithProperties('%(packageUrl)s'),
WithProperties('%(testsUrl)s')],
user=WithProperties('%(who)s'),
comments=WithProperties('%(comments)s'),
sendchange_props=sendchange_props,
))

Expand Down Expand Up @@ -2518,7 +2511,6 @@ def doUpload(self, postUploadBuildDir=None, uploadMulti=False):
revision=WithProperties("%(got_revision)s"),
files=[WithProperties('%(packageUrl)s')],
user="sendchange",
comments=WithProperties('%(comments)s'),
sendchange_props=sendchange_props,
))

Expand All @@ -2536,7 +2528,6 @@ def doUpload(self, postUploadBuildDir=None, uploadMulti=False):
revision=WithProperties("%(got_revision)s"),
files=files,
user="sendchange-unittest",
comments=WithProperties('%(comments)s'),
sendchange_props=sendchange_props,
))

Expand Down Expand Up @@ -2697,7 +2688,6 @@ def doUpload(self, postUploadBuildDir=None, uploadMulti=False):
revision=WithProperties("%(got_revision)s"),
files=[WithProperties('%(packageUrl)s')],
user="sendchange",
comments=WithProperties('%(comments)s'),
sendchange_props=sendchange_props,
))

Expand All @@ -2712,7 +2702,6 @@ def doUpload(self, postUploadBuildDir=None, uploadMulti=False):
files=[WithProperties('%(packageUrl)s'),
WithProperties('%(testsUrl)s')],
user="sendchange-unittest",
comments=WithProperties('%(comments)s'),
sendchange_props=sendchange_props,
))

Expand Down Expand Up @@ -5538,7 +5527,7 @@ def doUpload(self):
revision=WithProperties('%(got_revision)s'),
branch=self.unittestBranch,
files=[WithProperties('%(packageUrl)s')],
user=WithProperties('%(who)s')),
user=WithProperties('%(who)s'))
)

class CCUnittestBuildFactory(MozillaBuildFactory):
Expand Down

0 comments on commit bc4dc08

Please sign in to comment.