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

Unified Diff: sitescripts/extensions/bin/updateUpdateManifests.py

Issue 6270530592178176: Issue 1144 - Generate IE update manifests (Closed)
Patch Set: Created July 25, 2014, 1:06 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sitescripts/extensions/bin/updateUpdateManifests.py
===================================================================
--- a/sitescripts/extensions/bin/updateUpdateManifests.py
+++ b/sitescripts/extensions/bin/updateUpdateManifests.py
@@ -65,6 +65,11 @@
minVersion, maxVersion = metadata.get('compat', key).split('/')
result['compat'].append({'id': value, 'minVersion': minVersion, 'maxVersion': maxVersion})
return result
+ elif repo.type == 'ie':
+ return {
+ 'name': repo.name,
+ 'version': version
+ }
else:
raise Exception('unknown repository type %r' % repo.type)
@@ -73,7 +78,7 @@
writes an update manifest for all extensions and Android apps
"""
- extensions = {'gecko': [], 'android': [], 'safari': []}
+ extensions = {'gecko': [], 'android': [], 'safari': [], 'ie': []}
for repo in Configuration.getRepositoryConfigurations():
if repo.type not in extensions or not links.has_section(repo.repositoryName):
continue

Powered by Google App Engine
This is Rietveld