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

Side by Side Diff: install.rdf.tmpl

Issue 29323478: Issue 2897 - Don`t add updateURL to Firefox development builds (Closed)
Patch Set: Created Aug. 12, 2015, 11:53 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 | « no previous file | 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 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 6
7 {%- macro meta() -%} 7 {%- macro meta() -%}
8 <em:creator>{{metadata.get('general', 'author')}}</em:creator> 8 <em:creator>{{metadata.get('general', 'author')}}</em:creator>
9 9
10 {%- for contributor in contributors -%} 10 {%- for contributor in contributors -%}
11 <em:contributor>{{contributor}}</em:contributor> 11 <em:contributor>{{contributor}}</em:contributor>
12 {%- endfor -%} 12 {%- endfor -%}
13 {%- endmacro %} 13 {%- endmacro %}
14 14
15 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 15 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
16 xmlns:em="http://www.mozilla.org/2004/em-rdf#"> 16 xmlns:em="http://www.mozilla.org/2004/em-rdf#">
17 17
18 <Description about="urn:mozilla:install-manifest"> 18 <Description about="urn:mozilla:install-manifest">
19 <em:id>{{metadata.get('general', 'id')}}</em:id> 19 <em:id>{{metadata.get('general', 'id')}}</em:id>
20 <em:version>{{version}}</em:version> 20 <em:version>{{version}}</em:version>
21 <em:name>{{localeMetadata[defaultLocale].name}}</em:name> 21 <em:name>{{localeMetadata[defaultLocale].name}}</em:name>
22 <em:description>{{localeMetadata[defaultLocale].description}}</em:descriptio n> 22 <em:description>{{localeMetadata[defaultLocale].description}}</em:descriptio n>
23 {{ meta() }} 23 {{ meta() }}
24 {%- if metadata.has_option('homepage', 'default') %} 24 {%- if metadata.has_option('homepage', 'default') %}
25 <em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL> 25 <em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL>
26 {%- endif %} 26 {%- endif %}
27 <em:type>2</em:type> 27 <em:type>2</em:type>
28 <em:bootstrap>true</em:bootstrap> 28 <em:bootstrap>true</em:bootstrap>
29 29
30 {%- if not releaseBuild or metadata.has_option('general', 'updateURL') %} 30 {%- if metadata.has_option('general', 'updateURL') %}
31 <em:updateURL> 31 <em:updateURL>
32 {{- metadata.get('general', 'updateURL') if releaseBuild else 'https://adb lockplus.org/devbuilds/%s/update.rdf' % metadata.get('general', 'basename') -}} 32 {{- metadata.get('general', 'updateURL') -}}
33 {{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppV ersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_ VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=% CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}} 33 {{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppV ersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_ VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=% CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}}
34 </em:updateURL> 34 </em:updateURL>
35 {%- endif %} 35 {%- endif %}
36 36
37 {%- if metadata.has_option('general', 'icon') %} 37 {%- if metadata.has_option('general', 'icon') %}
38 <em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL> 38 <em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL>
39 {%- endif %} 39 {%- endif %}
40 40
41 {%- if metadata.has_option('general', 'about') %} 41 {%- if metadata.has_option('general', 'about') %}
42 <em:aboutURL>{{metadata.get('general', 'about')}}</em:aboutURL> 42 <em:aboutURL>{{metadata.get('general', 'about')}}</em:aboutURL>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 <!-- {{appName}} --> 94 <!-- {{appName}} -->
95 <em:id>{{KNOWN_APPS[appName]}}</em:id> 95 <em:id>{{KNOWN_APPS[appName]}}</em:id>
96 <em:minVersion>{{metadata.get('compat', appName).split('/')[0]}}</em:min Version> 96 <em:minVersion>{{metadata.get('compat', appName).split('/')[0]}}</em:min Version>
97 <em:maxVersion>{{metadata.get('compat', appName).split('/')[1]}}</em:max Version> 97 <em:maxVersion>{{metadata.get('compat', appName).split('/')[1]}}</em:max Version>
98 </Description> 98 </Description>
99 </em:targetApplication> 99 </em:targetApplication>
100 {%- endif %} 100 {%- endif %}
101 {%- endfor %} 101 {%- endfor %}
102 </Description> 102 </Description>
103 </RDF> 103 </RDF>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld