Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: sitescripts/extensions/bin/createNightlies.py

Issue 29322523: Issue 2796 - Moved logic to extract Safari Developer ID to buildtools (Closed)
Left Patch Set: Removed obsolete import Created July 16, 2015, 3:46 p.m.
Right Patch Set: Updated dependency Created July 17, 2015, 11:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « dependencies ('k') | sitescripts/extensions/bin/updateUpdateManifests.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # coding: utf-8 1 # coding: utf-8
2 2
3 # This file is part of the Adblock Plus web scripts, 3 # This file is part of the Adblock Plus web scripts,
4 # Copyright (C) 2006-2015 Eyeo GmbH 4 # Copyright (C) 2006-2015 Eyeo GmbH
5 # 5 #
6 # Adblock Plus is free software: you can redistribute it and/or modify 6 # Adblock Plus is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 3 as 7 # it under the terms of the GNU General Public License version 3 as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
9 # 9 #
10 # Adblock Plus is distributed in the hope that it will be useful, 10 # Adblock Plus is distributed in the hope that it will be useful,
(...skipping 13 matching lines...) Expand all
24 with changelogs and documentation. 24 with changelogs and documentation.
25 25
26 """ 26 """
27 27
28 import sys, os, os.path, subprocess, ConfigParser, traceback, json, hashlib 28 import sys, os, os.path, subprocess, ConfigParser, traceback, json, hashlib
29 import tempfile, shutil, urlparse, pipes, time, urllib2, struct 29 import tempfile, shutil, urlparse, pipes, time, urllib2, struct
30 from datetime import datetime 30 from datetime import datetime
31 from urllib import urlencode 31 from urllib import urlencode
32 from xml.dom.minidom import parse as parseXml 32 from xml.dom.minidom import parse as parseXml
33 from sitescripts.utils import get_config, setupStderr, get_template 33 from sitescripts.utils import get_config, setupStderr, get_template
34 from sitescripts.extensions.utils import compareVersions, Configuration, writeAn droidUpdateManifest 34 from sitescripts.extensions.utils import (
Wladimir Palant 2015/07/16 20:47:08 This line is still too long - please break it into
Sebastian Noack 2015/07/17 11:10:59 Done.
35 compareVersions, Configuration,
36 writeAndroidUpdateManifest
37 )
35 38
36 MAX_BUILDS = 50 39 MAX_BUILDS = 50
37 40
38 41
39 class NightlyBuild(object): 42 class NightlyBuild(object):
40 """ 43 """
41 Performs the build process for an extension, 44 Performs the build process for an extension,
42 generating changelogs and documentation. 45 generating changelogs and documentation.
43 """ 46 """
44 47
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 except Exception, ex: 512 except Exception, ex:
510 print >>sys.stderr, "The build for %s failed:" % repo 513 print >>sys.stderr, "The build for %s failed:" % repo
511 traceback.print_exc() 514 traceback.print_exc()
512 515
513 file = open(nightlyConfigFile, 'wb') 516 file = open(nightlyConfigFile, 'wb')
514 nightlyConfig.write(file) 517 nightlyConfig.write(file)
515 518
516 519
517 if __name__ == '__main__': 520 if __name__ == '__main__':
518 main() 521 main()
LEFTRIGHT

Powered by Google App Engine
This is Rietveld