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

Side by Side Diff: sitescripts/extensions/utils.py

Issue 29751598: Issue 6291 - Use client certificate for Windows Store uploads (Closed) Base URL: https://hg.adblockplus.org/abpssembly/file/a67d8f0e66b2
Patch Set: NO CHANGE rebase against https://codereview.adblockplus.org/29756646/ Created April 20, 2018, 7:23 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sitescripts/extensions/bin/createNightlies.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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-present eyeo GmbH 2 # Copyright (C) 2006-present 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 dbdir = _defineProperty('signtool_dbdir') 148 dbdir = _defineProperty('signtool_dbdir')
149 dbpass = _defineProperty('signtool_dbpass') 149 dbpass = _defineProperty('signtool_dbpass')
150 150
151 keyFile = _defineProperty('key', local=True, default='') 151 keyFile = _defineProperty('key', local=True, default='')
152 name = _defineProperty('name', local=True) 152 name = _defineProperty('name', local=True)
153 galleryID = _defineProperty('galleryID', local=True, default='') 153 galleryID = _defineProperty('galleryID', local=True, default='')
154 devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default ='') 154 devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default ='')
155 downloadPage = _defineProperty('downloadPage', local=True, default='') 155 downloadPage = _defineProperty('downloadPage', local=True, default='')
156 clientID = _defineProperty('clientID', local=True, default='') 156 clientID = _defineProperty('clientID', local=True, default='')
157 clientSecret = _defineProperty('clientSecret', local=True, default='') 157 clientSecret = _defineProperty('clientSecret', local=True, default='')
158 privateKey = _defineProperty('privateKey', local=True, default='')
159 thumbprint = _defineProperty('thumbprint', local=True, default='')
158 refreshToken = _defineProperty('refreshToken', local=True, default='') 160 refreshToken = _defineProperty('refreshToken', local=True, default='')
159 tenantID = _defineProperty('tenantID', local=True, default='') 161 tenantID = _defineProperty('tenantID', local=True, default='')
160 revision = _defineProperty('revision', local=True, default='master') 162 revision = _defineProperty('revision', local=True, default='master')
161 163
162 latestRevision = _defineNightlyProperty('latestRevision') 164 latestRevision = _defineNightlyProperty('latestRevision')
163 165
164 def __init__(self, config, nightlyConfig, repositoryName, repository): 166 def __init__(self, config, nightlyConfig, repositoryName, repository):
165 """ 167 """
166 Creates a new Configuration instance that is bound to a particular 168 Creates a new Configuration instance that is bound to a particular
167 repository. 169 repository.
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 if not extensions: 397 if not extensions:
396 return 398 return
397 399
398 updates = {} 400 updates = {}
399 for extension in extensions: 401 for extension in extensions:
400 updates[extension['basename']] = { 402 updates[extension['basename']] = {
401 'url': extension['updateURL'], 403 'url': extension['updateURL'],
402 'version': extension['version'], 404 'version': extension['version'],
403 } 405 }
404 writeLibabpUpdateManifest(path, updates) 406 writeLibabpUpdateManifest(path, updates)
OLDNEW
« no previous file with comments | « sitescripts/extensions/bin/createNightlies.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld