forked from mozilla/zamboni
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add <addon_compatibility> to the guid search API (bug 692971)
- Loading branch information
Jeff Balogh
committed
Oct 14, 2011
1 parent
5fcf72e
commit 69c6f14
Showing
6 changed files
with
98 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{% for c in compat %} | ||
<addon_compatibility | ||
hosted="{{ c.is_hosted()|json }}" | ||
{% if c.addon_id %}id="{{ c.addon_id }}"{% endif %}> | ||
<guid>{{ c.guid }}</guid> | ||
<name>{{ c.name }}</name> | ||
<version_ranges> | ||
{% for vr in c.collapsed_ranges() %} | ||
<version_range> | ||
<min_version>{{ vr.min }}</min_version> | ||
<max_version>{{ vr.max }}</max_version> | ||
<compatible_applications> | ||
{% for app in vr.apps %} | ||
<application> | ||
<name>{{ app.app.pretty }}</name> | ||
<application_id>{{ app.app.id }}</application_id> | ||
<min_version>{{ app.min }}</min_version> | ||
<max_version>{{ app.max }}</max_version> | ||
<appID>{{ app.app.guid }}</appID> | ||
</application> | ||
{% endfor %} | ||
</compatible_applications> | ||
</version_range> | ||
{% endfor %} | ||
</version_ranges> | ||
</addon_compatibility> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters