~ubuntu-archive/ubuntu-archive-scripts/trunk

238.1.11 by Michael Hudson-Doyle
make html a bit nicer
1
<!DOCTYPE HTML>
2
<html>
3
  <head>
4
    <meta charset="utf-8">
5
    <title>rcbuggy problem packages</title>
6
    <style>
238.1.12 by Michael Hudson-Doyle
MOAR CSS
7
      body {
8
          font-family: ubuntu;
9
          background-color: #ffd;
10
      }
238.1.11 by Michael Hudson-Doyle
make html a bit nicer
11
      .package {
238.1.12 by Michael Hudson-Doyle
MOAR CSS
12
          margin: 0.5em;
13
          padding: 0.5em;
14
      }
15
      .removal-ok {
16
          background-color: #dfd;
17
      }
18
      .removal-not-ok {
19
          background-color: #ddd;
20
      }
21
      h2 {
22
          margin: 0em;
23
      }
238.1.14 by Michael Hudson-Doyle
more css tweakery
24
      .rdeps {
238.1.12 by Michael Hudson-Doyle
MOAR CSS
25
          margin-left: 1em;
26
      }
27
      .commands {
238.1.11 by Michael Hudson-Doyle
make html a bit nicer
28
          white-space: pre-wrap;
238.1.14 by Michael Hudson-Doyle
more css tweakery
29
          display: inline-block;
30
          margin: 0em;
31
          padding: 0.2em;
238.1.12 by Michael Hudson-Doyle
MOAR CSS
32
          border: solid;
33
      }
34
      .removal-ok .commands {
35
          border-color: #afa;
36
          background-color: #cfc;
37
      }
38
      .removal-not-ok .commands {
39
          border-color: #aaa;
40
          background-color: #ccc;
238.1.11 by Michael Hudson-Doyle
make html a bit nicer
41
      }
42
    </style>
43
  </head>
44
  <body lang="en">
45
    <h1>rcbuggy problem packages</h1>
46
    <p>
47
      Generated: {{ now }}
48
    </p>
49
    {% for package in packages %}
238.1.12 by Michael Hudson-Doyle
MOAR CSS
50
    <div class="package {{ package.css_class }}">
51
      <h2 id="{{ package.source_package_name }}">{{ package.source_package_name }}</h2>
52
      <div class="details">
53
        <p>
54
          Kept out of Debian testing by Debian bug{% if package.bugs|length > 1 %}s{% endif %}
55
          {% for bug in package.bugs %}
238.1.14 by Michael Hudson-Doyle
more css tweakery
56
          <a href="https://bugs.debian.org/{{bug}}">#{{bug}}</a>{% if not loop.last %},{% endif %}{% endfor %}.
238.1.12 by Michael Hudson-Doyle
MOAR CSS
57
        </p>
58
        {% if package.block_by_regression %}
59
        <p>
60
          The failures of this package's autopkgtests block migration of {{ package.block_by_regression|join(", ") }}.
61
        </p>
62
        {% endif %}
63
        {% if package.block_by_uninstallability %}
64
        <p>
65
          At least one binary from this package is made uninstallable by the versions of {{ package.block_by_uninstallability|join(", ") }} in -proposed.
66
        </p>
67
        {% endif %}
68
        {% if package.rdeps_lines %}
69
        <pre class="rdeps">
238.1.11 by Michael Hudson-Doyle
make html a bit nicer
70
{{ package.rdeps_text_short }}
71
{% if package.rdeps_text_more -%}
72
<details><summary>more...</summary>
73
{{ package.rdeps_text_more }}
74
</details>
75
{% endif -%}
238.1.12 by Michael Hudson-Doyle
MOAR CSS
76
        </pre>
77
        {% endif %}
78
        <p>
79
          Suggested removal commands:
80
        </p>
81
        <pre class="commands">
238.1.11 by Michael Hudson-Doyle
make html a bit nicer
82
{% for cmd in package.removal_commands -%}
83
{{ cmd }}
84
{% endfor -%}
238.1.12 by Michael Hudson-Doyle
MOAR CSS
85
        </pre>
86
      </div>
238.1.11 by Michael Hudson-Doyle
make html a bit nicer
87
    </div>
88
    {% endfor %}
89
  </body>
90
</html>