Skip to content

Instantly share code, notes, and snippets.

View rail's full-sized avatar

Rail Aliiev rail

View GitHub Profile
steps/signing.py | 40 +++++++++++++++++++++++++++++-----------
1 files changed, 29 insertions(+), 11 deletions(-)
diff --git a/steps/signing.py b/steps/signing.py
index a12dcee..c540133 100644
--- a/steps/signing.py
+++ b/steps/signing.py
@@ -3,16 +3,17 @@ from urllib import urlencode
from OpenSSL.SSL import Context, TLSv1_METHOD, VERIFY_PEER,\
VERIFY_FAIL_IF_NO_PEER_CERT, OP_NO_SSLv2
process/factory.py | 8 ++------
steps/signing.py | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/process/factory.py b/process/factory.py
index 18131a5..61e5ac3 100644
--- a/process/factory.py
+++ b/process/factory.py
@@ -1125,31 +1125,27 @@ class MercurialBuildFactory(MozillaBuildFactory):
name='cat_mozconfig',
diff --git a/__init__.py b/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/scheduler.py b/scheduler.py
index 978dc9e..e119891 100644
--- a/scheduler.py
+++ b/scheduler.py
@@ -14,7 +14,7 @@ from buildbot.schedulers.timed import Nightly
from buildbot.schedulers.triggerable import Triggerable
from buildbot.sourcestamp import SourceStamp
scheduler.py | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/scheduler.py b/scheduler.py
index 5b82e9d..d4af29a 100644
--- a/scheduler.py
+++ b/scheduler.py
@@ -16,17 +16,16 @@ from buildbot.sourcestamp import SourceStamp
from buildbot.process.properties import Properties
from buildbot.status.builder import SUCCESS, WARNINGS
diff --git a/steps/misc.py b/steps/misc.py
--- a/steps/misc.py
+++ b/steps/misc.py
@@ -409,16 +409,17 @@ class SendChangeStep(ShellCommand):
if re.search('try: ', comments, re.MULTILINE):
comments = 'try: ' + ' '.join(processMessage(comments))
else:
try:
comments = comments.splitlines()[0]
except IndexError:
commit 7e07c66ed7cbd983e0588d88cd95f8b3d7b43dc3
Author: Rail Aliiev <rail@mozilla.com>
Date: Thu Jan 12 10:29:28 2012 -0500
don't query env from classes
diff --git a/scripts/partner-repacks.py b/scripts/partner-repacks.py
index 148b083..d8d8fd2 100755
--- a/scripts/partner-repacks.py
+++ b/scripts/partner-repacks.py
diff -u b/lib/python/release/download.py b/lib/python/release/download.py
--- b/lib/python/release/download.py
+++ b/lib/python/release/download.py
@@ -65,21 +65,22 @@
url = '/'.join([p.strip('/') for p in [
candidatesDir, 'update', platformDir, locale, fileName]])
log.info("Downloading %s to %s", url, destFileName)
+ remote_f = urlopen(url)
+ local_f = open(destFileName, "wb")
+ local_f.write(remote_f.read())
diff -u b/process/factory.py b/process/factory.py
--- b/process/factory.py
+++ b/process/factory.py
@@ -380,7 +380,7 @@
clobberURL=None, clobberTime=None, buildsBeforeReboot=None,
branchName=None, baseWorkDir='build', hashType='sha512',
baseMirrorUrls=None, baseBundleUrls=None, signingServers=None,
- enableSigning=False, env={}, **kwargs):
+ enableSigning=True, env={}, **kwargs):
BuildFactory.__init__(self, **kwargs)
diff -u b/MozAUSLib.pm b/MozAUSLib.pm
--- b/MozAUSLib.pm
+++ b/MozAUSLib.pm
@@ -44,6 +44,7 @@
use Cwd;
use File::Path;
+use File::Basename;
use File::Copy qw(move copy);
use English;
mozilla/config.py | 76 ++++++++++++++++++++
mozilla/project_branches.py | 8 +-
.../linux-clang/mozilla-central/nightly/mozconfig | 37 ++++++++++
3 files changed, 117 insertions(+), 4 deletions(-)
diff --git a/mozilla/config.py b/mozilla/config.py
index 42cead6..cf1308d 100644
--- a/mozilla/config.py
+++ b/mozilla/config.py
@@ -57,20 +57,22 @@ GLOBAL_VARS = {