summaryrefslogtreecommitdiff
path: root/templates/package_vers.html
blob: 536aed05ae1289e14814671e864d2f902ed491e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{% extends "base.html" %}
{% block title %}
debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
{% endblock %}
{% block content %}
 <h1>
  debian specific patch information for {{ pkg.name }} / {{ pkg.version }}
 </h1>
 <div class="diffsummary">
  <a name="diff-summary"></a>
  <h2> Summary </h2>
  <table class="summary">
   <tr>
    <th>Package Version</th>
    <th>Package Type</th>
    <th>Source Package Format</th>
   </tr>
   <tr>
    <td>{{ pkg.version }}</td>
    <td>{{ pkg.type }}</td>
    <td>{{ pkg.format }}</td>
   </tr>
  </table>
 </div> <!-- diffsummary -->

{% if pkg.debtar_name %}
  <div class="debdiff">
   <a name="debian-tarball"></a>
   <h2> Debian packaging Information </h2>
   <table class="patchlisting">
    <tr>
     <th>Debian changes tarfile</th>
     <td colspan="2">
      <a href="{{ conf.archive_root_url }}/{{ pkg.loc }}/{{ pkg.debtar_name }}">
       {{ pkg.debtar_name }}
      </a>
     </td>
    </tr>
    <tr>
     <th>Size</th><td colspan="2">{{ pkg.debtar_size }}</td>
    </tr>
    <tr>
     <th>MD5sum</th><td colspan="2">{{ pkg.debtar_md5sum }}</td>
    </tr>
   </table>
  </div> <!-- debdiff -->
{% endif %}
{% if pkg.diffgz_name %}
  <div class="debdiff">
   <a name="debian-patches"></a>
   <h2> Debian packaging Information </h2>
   <table class="patchlisting">
    <tr>
     <th>Diff file</th>
     <td colspan="2">
      <a href="{{ conf.archive_root_url }}/{{ pkg.loc }}/{{ pkg.diffgz_name }}">
       {{ pkg.diffgz_name }}
      </a>
     </td>
    </tr>
    <tr>
     <th>Size</th><td colspan="2">{{ pkg.diffgz_size }}</td>
    </tr>
    <tr>
     <th>MD5sum</th><td colspan="2">{{ pkg.diffgz_md5sum }}</td>
    </tr>
    <tr>
     <th>./debian only changes</th>
     <td>
      <a href="{{ conf.root_url }}/patch/debianonly/view/{{ pkg.name }}/{{ pkg.version }}">view</a>
     </td>
     <td>
      <a href="{{ conf.root_url }}/patch/debianonly/dl/{{ pkg.name }}/{{ pkg.version }}">download</a>
     </td>
    </tr>
 {% if pkg.diffgz_name and diffhandler.nondebiandir.lines %}
    <tr>
     <th>non packaging (i.e. not ./debian) changes</th>
     <td>
      <a href="{{ conf.root_url }}/patch/nondebian/view/{{ pkg.name }}/{{ pkg.version }}">view</a>
     </td>
     <td>
      <a href="{{ conf.root_url }}/patch/nondebian/dl/{{ pkg.name }}/{{ pkg.version }}">download</a>
     </td>
    </tr>
 {% endif %}
   </table>
  </div> <!-- debdiff -->
{% endif %}

{% if pkg.diffgz_name or pkg.debtar_name %}
 {% if diffhandler.series %}
  <div class="debseries">
   <a name="series-patches"></a>
   <h2> "series" style patches </h2>
   <table class="patchlisting">
    <tr>
     <th>patch</th>
     <th>summary</th>
     <th>view</th>
     <th>raw</th>
    </tr>
  {% for name,patch in diffhandler.series.iterpatches %}
    <tr>
     <td>{{ name }}</td>
     <td class="diffstat"><pre>{{ patch.diffstat }}</pre></td>
     <td>
      <a href="{{ conf.root_url }}/patch/series/view/{{ pkg.name }}/{{ pkg.version }}/{{ name }}">view</a>
     </td>
     <td>
      <a href="{{ conf.root_url }}/patch/series/dl/{{ pkg.name }}/{{ pkg.version }}/{{ name }}">download</a>
     </td>
    </tr>
  {% endfor %}
   </table>
  </div> <!-- debseries -->
 {% endif %}
{% endif %}


{% endblock %}