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

Unified Diff: sitescripts/extensions/template/ie-update.json

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/template/ie-update.json
===================================================================
new file mode 100644
--- /dev/null
+++ b/sitescripts/extensions/template/ie-update.json
@@ -0,0 +1,12 @@
+{
+ {%- for extension in extensions %}
+ "{{extension.name}}/msie32": {
Wladimir Palant 2014/07/29 11:25:18 At the very least this needs proper escaping (json
Felix Dahlke 2014/07/29 11:37:17 The same could be said for XML, does that mean you
+ "url": "{{extension.updateURL|replace('.exe', '-x64.msi')}}",
+ "version": "{{extension.version}}"
+ },
+ "{{extension.name}}/msie64": {
+ "url": "{{extension.updateURL|replace('.exe', '-x86.msi')}}",
+ "version": "{{extension.version}}"
+ },
+ {%- endfor %}
+}

Powered by Google App Engine
This is Rietveld