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

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

Issue 29358368: Issue 4540 - Add Platform Specific Branch Support to createNightlies.py (Closed)
Left Patch Set: Adressing comments adds single unit test Created Oct. 24, 2016, 5:24 p.m.
Right Patch Set: Created Oct. 26, 2016, 5:53 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « sitescripts/extensions/test/test_updateManifests.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
(no file at all)
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 """ 126 """
127 Creates a property corresponding with a key in the nightly config file 127 Creates a property corresponding with a key in the nightly config file
128 """ 128 """
129 return property(lambda self: self.nightlyConfig.get(self.repositoryName, key), 129 return property(lambda self: self.nightlyConfig.get(self.repositoryName, key),
130 lambda self, value: self.nightlyConfig.set(self.reposito ryName, key, value)) 130 lambda self, value: self.nightlyConfig.set(self.reposito ryName, key, value))
131 131
132 config = None 132 config = None
133 nightlyConfig = None 133 nightlyConfig = None
134 repositoryName = None 134 repositoryName = None
135 repository = None 135 repository = None
136 revision = _defineProperty('revision', default='master')
136 137
137 spiderMonkeyBinary = _defineProperty('spiderMonkeyBinary', default='') 138 spiderMonkeyBinary = _defineProperty('spiderMonkeyBinary', default='')
138 nightliesDirectory = _defineProperty('nightliesDirectory') 139 nightliesDirectory = _defineProperty('nightliesDirectory')
139 nightliesURL = _defineProperty('nightliesURL') 140 nightliesURL = _defineProperty('nightliesURL')
140 downloadsRepo = _defineProperty('downloadsRepo') 141 downloadsRepo = _defineProperty('downloadsRepo')
141 downloadsURL = _defineProperty('downloadsURL') 142 downloadsURL = _defineProperty('downloadsURL')
142 docsDirectory = _defineProperty('docsDirectory') 143 docsDirectory = _defineProperty('docsDirectory')
143 signtool = _defineProperty('signtool') 144 signtool = _defineProperty('signtool')
144 certname = _defineProperty('signtool_certname') 145 certname = _defineProperty('signtool_certname')
145 dbdir = _defineProperty('signtool_dbdir') 146 dbdir = _defineProperty('signtool_dbdir')
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 if not extensions: 375 if not extensions:
375 return 376 return
376 377
377 updates = {} 378 updates = {}
378 for extension in extensions: 379 for extension in extensions:
379 updates[extension['basename']] = { 380 updates[extension['basename']] = {
380 'url': extension['updateURL'], 381 'url': extension['updateURL'],
381 'version': extension['version'] 382 'version': extension['version']
382 } 383 }
383 writeLibabpUpdateManifest(path, updates) 384 writeLibabpUpdateManifest(path, updates)
LEFTRIGHT

Powered by Google App Engine
This is Rietveld