summaryrefslogtreecommitdiff
path: root/templates/package_vers.tmpl
blob: 7601d0920bc2b9d8db2dd9411e210acc4cf85add (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
122
123
124
125
126
127
128
129
130
#import templates
#extends templates.skeleton
#def title
debian specific patch information for $src.name / $src.version
#end def
#def body
  #set $u = $conf.root_url
  <h1>debian specific patch information for $src.name / $src.version</h1>
  <div class="diffsummary">
   <a name="diff-summary">
    <h2> Summary </h2>
   </a>
   <table class="summary">
    <tr>
     <th>Package Version</th>
     <th>Package Type</th>
     <th>Source Package Format</th>
    </tr>
    <tr>
     <td>$src.version</td>
     <td>$src.type</td>
     <td>$src.format</td>
    </tr>
   </table>
  </div> <!-- diffsummary -->

#if $src.diffgz_name
  <div class="debdiff">
   <a name="debian-patches">
    <h2> "Debian diff" Information </h2>
   </a>
   <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
  </div> <!-- debdiff -->

#if $src.diffgz_name and $diffhandler.nondebiandir.lines
  <div class="nondebdiff">
   <a name="direct-patches">
    <h2> Misc. Non-packaging "direct" style patches </h2>
   </a>
   <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 $diffhandler.nondebiandir.diffstat.stats
    <tr>
     <td>$f</td><td>$insd</td><td>$deld</td><td>$modd</td>
     <td>
      <a href="$u/patch/misc/view/$src.name/$src.version/$f">view</a>
     </td>
     <td>
      <a href="$u/patch/misc/dl/$src.name/$src.version/$f">download</a>
     </td>
    </tr>
 #end for
   </table>
  </div> <!-- nondebdiff -->
#end if

#if $src.diffgz_name
#set $series = $diffhandler.series
#if $series
  <div class="debseries">
   <a name="series-patches">
    <h2> "series" style patches </h2>
   </a>
   <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>$patch.diffstat</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>
  </div> <!-- debseries -->
#end if
#end if
#end def