summaryrefslogtreecommitdiff
path: root/templates/package_vers.tmpl
blob: e1f63502a088f711a252cf4820e4345ce4481424 (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
#import templates
#extends templates.skeleton
#def title
debian specific patch information for $src.name / $suite
#end def
#def body
 #set $u = $conf.root_url
  <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_name
   <tr>
    <th>Diff.gz</th>
    <td>$src.loc / $src.diffgz_name</td>
   </tr>
#end if
  </table>

#if $src.diffgz_name
  <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="$u/patch/debianonly/view/$src.name/$src.version">view</a>
    </td>
    <td>
     <a href="$u/patch/debianonly/dl/$src.name/$src.version">download</a>
    </td>
   </tr>
#if $src.diffgz_name and $diffhandler.nondebiandir.lines
   <tr>
    <th>non packaging (i.e. not ./debian) changes</th>
    <td>
     <a href="$u/patch/nondebian/view/$src.name/$src.version">view</a>
    </td>
    <td>
     <a href="$u/patch/nondebian/dl/$src.name/$src.version">download</a>
    </td>
   </tr>
#end if
  </table>
#end if

#if $src.diffgz_name and $diffhandler.nondebiandir.lines
  <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>download</th>
   </tr>
  </table>
#end if

#if $src.diffgz_name
#set $series = $diffhandler.series
#if $series
  <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 $series.iterpatches()
   <tr>
    <td>$name</td>
    <td class="diffstat"><pre><code>$patch.diffstat</code></pre></td>
    <td>
     <a href="$u/patch/series/view/$src.name/$src.version/$name">view</a>
    </td>
    <td>
     <a href="$u/patch/series/dl/$src.name/$src.version/$name">download</a>
    </td>
   </tr>
#end for
  </table>
#end if
#end if
#end def