diff options
author | Helmut Grohne <helmut@subdivi.de> | 2019-05-10 17:10:08 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2019-05-10 17:10:08 +0200 |
commit | 330fe08852dd954f60f17fa04a06d00d3a15be74 (patch) | |
tree | b19c3ca491e4746e707beba5582872bfd1e95534 | |
parent | 8cae99420db70579173ff52f8a30956a0f9e7e3c (diff) | |
download | crossqa-330fe08852dd954f60f17fa04a06d00d3a15be74.tar.gz |
webapp: use a package-specific debcheck link
Reported-by: Paul Wise <pabs@debian.org>
-rw-r--r-- | webapp.py | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -146,17 +146,19 @@ footer { {%- endif -%} </tbody> </table> - <h5>See also</h5> - <ul> - {%- if show_bootstrapdn -%} + {%- if show_debcheck -%} + <h5>See also</h5> + <ul> + {%- if show_bootstrapdn -%} + <li> + <a href="https://bootstrap.debian.net/cross_all/{{ sourcepackage|e }}.html">bootstrap.debian.net</a> + </li> + {%- endif -%} <li> - <a href="https://bootstrap.debian.net/cross_all/{{ sourcepackage|e }}.html">bootstrap.debian.net</a> + <a href="https://qa.debian.org/dose/debcheck/cross_unstable_main_amd64/latest/packages/{{ sourcepackage|e }}.html">debcheck</a> </li> - {%- endif -%} - <li> - <a href="https://qa.debian.org/dose/debcheck/cross_unstable_main_amd64/">debcheck</a> - </li> - </ul> + </ul> + {%- endif -%} </section> <section> <h3>Cross builds</h3> @@ -305,6 +307,8 @@ def show_source(source): context["show_bootstrapdn"] = \ any(reason and not reason.startswith("skew ") for reason in context["depresult"].keys()) + context["show_debcheck"] = \ + any(context["depresult"].keys()) return flask.render_template_string(src_template, **context) @app.route("/build/<path:filename>") |