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

Delta Between Two Patch Sets: sitescripts/extensions/utils.py

Issue 29345508: Issue 4098 - Get rid of special build setup for development builds (Closed)
Left Patch Set: Addressed comments Created June 3, 2016, 1:46 p.m.
Right Patch Set: Improved ensure_dependencies call Created June 6, 2016, 11:49 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 | « sitescripts/extensions/bin/createNightlies.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # This file is part of the Adblock Plus web scripts, 1 # This file is part of the Adblock Plus web scripts,
2 # Copyright (C) 2006-2016 Eyeo GmbH 2 # Copyright (C) 2006-2016 Eyeo GmbH
3 # 3 #
4 # Adblock Plus is free software: you can redistribute it and/or modify 4 # Adblock Plus is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License version 3 as 5 # it under the terms of the GNU General Public License version 3 as
6 # published by the Free Software Foundation. 6 # published by the Free Software Foundation.
7 # 7 #
8 # Adblock Plus is distributed in the hope that it will be useful, 8 # Adblock Plus is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 Creates a property corresponding with a key in the nightly config file 126 Creates a property corresponding with a key in the nightly config file
127 """ 127 """
128 return property(lambda self: self.nightlyConfig.get(self.repositoryName, key), 128 return property(lambda self: self.nightlyConfig.get(self.repositoryName, key),
129 lambda self, value: self.nightlyConfig.set(self.reposito ryName, key, value)) 129 lambda self, value: self.nightlyConfig.set(self.reposito ryName, key, value))
130 130
131 config = None 131 config = None
132 nightlyConfig = None 132 nightlyConfig = None
133 repositoryName = None 133 repositoryName = None
134 repository = None 134 repository = None
135 135
136 spiderMonkeyBinary = _defineProperty('spiderMonkeyBinary', default='')
136 nightliesDirectory = _defineProperty('nightliesDirectory') 137 nightliesDirectory = _defineProperty('nightliesDirectory')
137 nightliesURL = _defineProperty('nightliesURL') 138 nightliesURL = _defineProperty('nightliesURL')
138 downloadsRepo = _defineProperty('downloadsRepo') 139 downloadsRepo = _defineProperty('downloadsRepo')
139 downloadsURL = _defineProperty('downloadsURL') 140 downloadsURL = _defineProperty('downloadsURL')
140 docsDirectory = _defineProperty('docsDirectory') 141 docsDirectory = _defineProperty('docsDirectory')
141 signtool = _defineProperty('signtool') 142 signtool = _defineProperty('signtool')
142 certname = _defineProperty('signtool_certname') 143 certname = _defineProperty('signtool_certname')
143 dbdir = _defineProperty('signtool_dbdir') 144 dbdir = _defineProperty('signtool_dbdir')
144 dbpass = _defineProperty('signtool_dbpass') 145 dbpass = _defineProperty('signtool_dbpass')
145 146
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 if not extensions: 371 if not extensions:
371 return 372 return
372 373
373 updates = {} 374 updates = {}
374 for extension in extensions: 375 for extension in extensions:
375 updates[extension['basename']] = { 376 updates[extension['basename']] = {
376 'url': extension['updateURL'], 377 'url': extension['updateURL'],
377 'version': extension['version'] 378 'version': extension['version']
378 } 379 }
379 writeLibabpUpdateManifest(path, updates) 380 writeLibabpUpdateManifest(path, updates)
LEFTRIGHT

Powered by Google App Engine
This is Rietveld