summaryrefslogtreecommitdiff
path: root/templates/package-vers.tmpl
blob: 17689c7820b84592d10e46093b76f92bb5426bb8 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
  <title>debian specific patch information for $src.name / $suite</title>
  <link rel="stylesheet" type="text/css" href="$conf.root_url/css/patches.css"/>
 </head>

 <body>
  <h1>debian specific patch information for $src.name / $suite</h1>
  <h2> Summary </h2>
  <table class="summary">
   <tr>
    <th>Package Version</th>
    <td>$src.version</td>
   </tr>
   <tr>
    <th>Package Type</th>
    <td>$src.type</td>
   </tr>
   <tr>
    <th>Source Package Format</th>
    <td>$src.format</td>
   </tr>
#if $src.diffgz
   <tr>
    <th>Diff.gz</th>
    <td>$src.loc / $src.diffgz['name']</td>
   </tr>
#end if
  </table>

#if $src.diffgz
  <h2> "Debian diff" Information </h2>
  <table class="patchlisting">
   <tr>
    <th>Diff file</th>
    <td colspan="2">
     <a href="$conf.archive_root_url/$src.loc/$src.diffgz['name']">
      $src.diffgz['name']
     </a>
    </td>
   </tr>
   <tr>
    <th>Size</th><td colspan="2">$src.diffgz['size']</td>
   </tr>
   <tr>
    <th>MD5sum</th><td colspan="2">$src.diffgz['md5sum']</td>
   </tr>
   <tr>
    <th>./debian only changes</th>
    <td><a href="$conf.root_url/packages/$src.name/$src.version/${src.debianonlydiff}.html">view</a></td>
    <td><a href="$conf.root_url/packages/$src.name/$src.version/$src.debianonlydiff">download</a></td>
   </tr>
   <tr>
    <th>non packaging (i.e. not ./debian) changes</th>
    <td><a href="$conf.root_url/packages/$src.name/$src.version/${src.nondebiandiff}.html">view</a></td>
    <td><a href="$conf.root_url/packages/$src.name/$src.version/$src.nondebiandiff">download</a></td>
   </tr>
  </table>
#end if

#if $src.directpatches
  <h2> Non-packaging "direct" style patches </h2>
  <table class="patchlisting">
   <tr>
    <th>file</th>
    <th>inserted</th>
    <th>deleted</th>
    <th>modified</th>
    <th>download</th>
   </tr>
  </table>
#end if

#if $src.seriespatches
  <h2> "series" style patches </h2>
  <table class="patchlisting">
   <tr>
    <th>patch</th>
    <th>summary</th>
    <th>view</th>
    <th>raw</th>
   </tr>
#for $p,$d in $src.seriespatches.iteritems()
   <tr>
    <td>$p</td>
    <td class="diffstat"><pre><code>$d</code></pre></td>
    <td><a href="$conf.root_url/packages/$src.name/$src.version/series/${p}.html">view</a></td>
    <td><a href="$conf.root_url/packages/$src.name/$src.version/series/${p}">download</a></td>
   </tr>
#end for
  </table>
#end if
 </body>
</html>