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

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

Issue 29337988: Issue 382 - Removed support for Chrome devbuilds using the experimental API (Closed)
Patch Set: Created March 8, 2016, 5:38 p.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/template/nightlies.html ('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 # 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-2016 Eyeo GmbH 4 # Copyright (C) 2006-2016 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 signtool = _defineProperty('signtool') 141 signtool = _defineProperty('signtool')
142 certname = _defineProperty('signtool_certname') 142 certname = _defineProperty('signtool_certname')
143 dbdir = _defineProperty('signtool_dbdir') 143 dbdir = _defineProperty('signtool_dbdir')
144 dbpass = _defineProperty('signtool_dbpass') 144 dbpass = _defineProperty('signtool_dbpass')
145 145
146 keyFile = _defineProperty('key', local=True, default='') 146 keyFile = _defineProperty('key', local=True, default='')
147 name = _defineProperty('name', local=True) 147 name = _defineProperty('name', local=True)
148 galleryID = _defineProperty('galleryID', local=True, default='') 148 galleryID = _defineProperty('galleryID', local=True, default='')
149 devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default=' ') 149 devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default=' ')
150 downloadPage = _defineProperty('downloadPage', local=True, default='') 150 downloadPage = _defineProperty('downloadPage', local=True, default='')
151 experimental = _defineProperty('experimental', local=True, default='')
152 clientID = _defineProperty('clientID', local=True, default='') 151 clientID = _defineProperty('clientID', local=True, default='')
153 clientSecret = _defineProperty('clientSecret', local=True, default='') 152 clientSecret = _defineProperty('clientSecret', local=True, default='')
154 refreshToken = _defineProperty('refreshToken', local=True, default='') 153 refreshToken = _defineProperty('refreshToken', local=True, default='')
155 154
156 latestRevision = _defineNightlyProperty('latestRevision') 155 latestRevision = _defineNightlyProperty('latestRevision')
157 156
158 def __init__(self, config, nightlyConfig, repositoryName, repository): 157 def __init__(self, config, nightlyConfig, repositoryName, repository):
159 """ 158 """
160 Creates a new Configuration instance that is bound to a particular 159 Creates a new Configuration instance that is bound to a particular
161 repository. 160 repository.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 if not extensions: 360 if not extensions:
362 return 361 return
363 362
364 updates = {} 363 updates = {}
365 for extension in extensions: 364 for extension in extensions:
366 updates[extension['basename']] = { 365 updates[extension['basename']] = {
367 "url": extension['updateURL'], 366 "url": extension['updateURL'],
368 "version": extension['version'] 367 "version": extension['version']
369 } 368 }
370 writeLibabpUpdateManifest(path, updates) 369 writeLibabpUpdateManifest(path, updates)
OLDNEW
« no previous file with comments | « sitescripts/extensions/template/nightlies.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld