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

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

Issue 5764619314397184: Issue 1048 - Generate devbuild update manifests for Android (Closed)
Patch Set: Created Sept. 19, 2014, 3:52 a.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
« no previous file with comments | « sitescripts/extensions/bin/createNightlies.py ('k') | sitescripts/extensions/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/bin/updateUpdateManifests.py
===================================================================
--- a/sitescripts/extensions/bin/updateUpdateManifests.py
+++ b/sitescripts/extensions/bin/updateUpdateManifests.py
@@ -30,7 +30,7 @@
from sitescripts.utils import get_config, get_template
from sitescripts.extensions.utils import (
Configuration, getDownloadLinks, getSafariCertificateID,
- writeIEUpdateManifest, writeLibabpUpdateManifest)
+ writeIEUpdateManifest, writeAndroidUpdateManifest)
from sitescripts.extensions.android import get_min_sdk_version
def readMetadata(repo, version):
@@ -106,13 +106,7 @@
if repoType == 'android':
newManifestPath = get_config().get("extensions",
"androidNewUpdateManifestPath")
- updates = {}
- for extension in extensions[repoType]:
- updates[extension['basename']] = {
- 'version': extension['version'],
- 'url': extension['updateURL']
- }
- writeLibabpUpdateManifest(newManifestPath, updates)
+ writeAndroidUpdateManifest(newManifestPath, extensions[repoType])
template = get_template(get_config().get('extensions', '%sUpdateManifest' % repoType))
template.stream({'extensions': extensions[repoType]}).dump(manifestPath)
« no previous file with comments | « sitescripts/extensions/bin/createNightlies.py ('k') | sitescripts/extensions/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld