summaryrefslogtreecommitdiff
path: root/templates/package_vers.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/package_vers.html')
-rw-r--r--templates/package_vers.html148
1 files changed, 148 insertions, 0 deletions
diff --git a/templates/package_vers.html b/templates/package_vers.html
new file mode 100644
index 0000000..7e4c1cb
--- /dev/null
+++ b/templates/package_vers.html
@@ -0,0 +1,148 @@
+{% 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 pkg.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 pkg.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 pkg.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 %}
+
+{% if pkg.diffgz_name and pkg.diffhandler.nondebiandir.lines %}
+ <div class="nondebdiff">
+ <a name="direct-patches"></a>
+ <h2> Misc. Non-packaging "direct" style patches </h2>
+ <table class="patchlisting">
+ <tr>
+ <th>file</th>
+ <th>inserted</th>
+ <th>deleted</th>
+ <th>modified</th>
+ <th>view</th>
+ <th>download</th>
+ </tr>
+ {% for insd,deld,modd,f in pkg.diffhandler.nondebiandir.diffstat.stats %}
+ <tr>
+ <td>{{ f }}</td><td>{{ insd }}</td><td>{{ deld }}</td><td>{{ modd }}</td>
+ <td>
+ <a href="{{ conf.root_url }}/patch/misc/view/{{ pkg.name }}/{{ pkg.version }}/{{ f }}">view</a>
+ </td>
+ <td>
+ <a href="{{ conf.root_url }}/patch/misc/dl/{{ pkg.name }}/{{ pkg.version }}/{{ f }}">download</a>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div> <!-- nondebdiff -->
+{% endif %}
+
+{% endblock %}