summaryrefslogtreecommitdiffstats
path: root/mustache-templates
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-27 11:27:39 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-28 14:06:26 -0400
commitc6ac981c4c0eec62aca518fb74845a505701c211 (patch)
tree631c4f599353a581a1902f3e4b52e145990e7fb4 /mustache-templates
parent28e9066f2f5269c65a6936bebc3ba1e8cc0cfb2f (diff)
downloadjenkins.debian.net-c6ac981c4c0eec62aca518fb74845a505701c211.tar.xz
reproducible debian: add link for diffoscope results to every suite/arch
Direct links to diffoscope results for every suite and arch on the package pages now exist. In order to do this, we publish a page that displays the diffoscope results in the iframe by default for each suite and arch (where diffoscope results exist). These pages can be found at: DEBIAN_URL/rb-pkg/{suite}/{arch}/{package}/diffoscope.html The default iframe, when navigating to the package page, remains the same (DEBIAN_URL/rb-pkg/{suite}/{arch}/{package}.html). Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'mustache-templates')
-rw-r--r--mustache-templates/reproducible/package_suitearch_details.mustache8
-rw-r--r--mustache-templates/reproducible/package_suitearch_section.mustache5
2 files changed, 9 insertions, 4 deletions
diff --git a/mustache-templates/reproducible/package_suitearch_details.mustache b/mustache-templates/reproducible/package_suitearch_details.mustache
index ac74be56..90a760a7 100644
--- a/mustache-templates/reproducible/package_suitearch_details.mustache
+++ b/mustache-templates/reproducible/package_suitearch_details.mustache
@@ -8,13 +8,13 @@
{{#dbd}}
<li>
<div>
- <a href="{{dbd_url}}" title="Show: formatted diffoscope results" target="main">
+ <a href="{{dbd_page_uri}}" title="Show: formatted diffoscope results">
<img src="/static/diffoscope-logo.png" alt="diffoscope logo" />
differences
</a>
- {{#dbdtxt_url}}
- <a href="{{dbdtxt_url}}" target="main">(txt)</a>
- {{/dbdtxt_url}}
+ {{#dbdtxt_uri}}
+ <a href="{{dbdtxt_uri}}" target="main">(txt)</a>
+ {{/dbdtxt_uri}}
</div>
</li>
{{/dbd}}
diff --git a/mustache-templates/reproducible/package_suitearch_section.mustache b/mustache-templates/reproducible/package_suitearch_section.mustache
index d8ac5304..d98c5792 100644
--- a/mustache-templates/reproducible/package_suitearch_section.mustache
+++ b/mustache-templates/reproducible/package_suitearch_section.mustache
@@ -21,6 +21,11 @@
{{#current_suitearch}}
{{version}} in <a href="/debian/{{suite}}/{{arch}}/" title="Go to: summary of all tests for {{arch}}/{{suite}}" target="_parent">{{suite}}</a>
{{/current_suitearch}}
+ {{#dbd_page_uri}}{{^current_suitearch}}
+ <a href="{{dbd_page_uri}}" class="diff-link" title="Show: formatted diffoscope results">
+ <img src="/static/diffoscope-logo.png" alt="diffoscope logo" />
+ </a>
+ {{/current_suitearch}}{{/dbd_page_uri}}
{{{suitearch_details_html}}}
</li>
{{/suites}}