/[qa]/trunk/pts/www/xsl/pts.xsl
ViewVC logotype

Contents of /trunk/pts/www/xsl/pts.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1798 - (show annotations) (download) (as text)
Wed Dec 19 14:47:16 2007 UTC (5 years, 5 months ago) by zack
File MIME type: application/xml
File size: 44568 byte(s)
new layout for the PTS: switch to 3 column layout and new CSS with "social colors"
1 <?xml version="1.0" encoding="utf-8" ?>
2
3 <!--
4 # Copyright 2002-2007 Raphaël Hertzog and others
5 # This file is distributed under the terms of the General Public License
6 # version 2 or (at your option) any later version.
7 -->
8
9 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
10
11 <xsl:output encoding="UTF-8" method="html"/>
12
13 <xsl:param name="package"/>
14 <xsl:param name="dir"/>
15 <xsl:param name="date"/>
16 <xsl:param name="hasoldstable" select="''"/>
17 <xsl:param name="hasstable" select="''"/>
18 <xsl:param name="hastesting" select="''"/>
19 <xsl:param name="hasunstable" select="''"/>
20 <xsl:param name="hasexperimental" select="''"/>
21 <xsl:param name="hasother" select="''"/>
22 <xsl:param name="hass-p-u" select="''"/>
23 <xsl:param name="hast-p-u" select="''"/>
24 <xsl:param name="hasoldstable-security" select="''"/>
25 <xsl:param name="hasstable-security" select="''"/>
26 <xsl:param name="hastesting-security" select="''"/>
27 <xsl:param name="hassecure-testing" select="''"/>
28 <xsl:param name="hasvolatile" select="''"/>
29 <xsl:param name="hasnews" select="''"/>
30 <xsl:param name="hasexcuse" select="''"/>
31
32 <xsl:variable name="other"
33 select="document(concat('../base/', $dir, '/other.xml'))/other"/>
34 <xsl:variable name="low-nmu-emails"
35 select="document('../base/low_threshold_nmu.emails.xml')/emails"/>
36
37 <!-- Those variables controls the todo and problem item concerning
38 standards-version not being up to date -->
39 <xsl:variable name="lastsv" select="'3.7.3'"/>
40 <xsl:variable name="lastmajorsv" select="'3.'"/>
41
42 <!-- Named templates aka functions -->
43 <xsl:template name="mirror">
44 <xsl:text>http://ftp.debian.org/debian</xsl:text>
45 </xsl:template>
46
47 <xsl:template name="outputitem">
48 <xsl:choose>
49 <xsl:when test="@url">
50 <li><xsl:if test="@date">
51 <xsl:text>[</xsl:text>
52 <xsl:value-of select="@date"/>
53 <xsl:text>] </xsl:text>
54 </xsl:if><a href="{@url}">
55 <xsl:value-of select="text()"/></a><xsl:if test="@from">
56 <xsl:text> (</xsl:text>
57 <xsl:value-of select="@from"/>
58 <xsl:text>)</xsl:text></xsl:if></li>
59 </xsl:when>
60 <xsl:otherwise>
61 <li><xsl:if test="@date">
62 <xsl:text>[</xsl:text>
63 <xsl:value-of select="@date"/>
64 <xsl:text>] </xsl:text>
65 </xsl:if><xsl:value-of select="text()"/></li>
66 </xsl:otherwise>
67 </xsl:choose>
68 </xsl:template>
69
70 <!-- Convert + in %2b for URL escaping. Should actually first also do
71 other-to-%xx, especially % to %25... Fortunately, that's rare -->
72 <xsl:template name="escape-name">
73 <xsl:param name="text"/>
74 <xsl:if test="contains($text,'+')">
75 <xsl:value-of select="substring-before($text,'+')"/>
76 <xsl:text>%2b</xsl:text>
77 <xsl:call-template name="escape-name">
78 <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
79 </xsl:call-template>
80 </xsl:if>
81 <xsl:if test="not(contains($text,'+'))">
82 <xsl:value-of select="$text"/>
83 </xsl:if>
84 </xsl:template>
85
86 <!-- Strip epoch -->
87 <xsl:template name="strip-epoch">
88 <xsl:param name="version"/>
89 <xsl:if test="contains($version,':')">
90 <xsl:value-of select="substring-after($version,':')"/>
91 </xsl:if>
92 <xsl:if test="not(contains($version,':'))">
93 <xsl:value-of select="$version"/>
94 </xsl:if>
95 </xsl:template>
96
97 <xsl:template name="add-vcs-info">
98 <xsl:if test="repository">
99 <tr>
100 <td class="labelcell">
101 <xsl:text>Version Control</xsl:text>
102 </td>
103 <td class="contentcell">
104 <xsl:if test="repository/vcs[@kind='browser']">
105 <a href="{repository/vcs[@kind='browser']/@url}">
106 <xsl:text>browser</xsl:text>
107 </a>
108 <br />
109 </xsl:if>
110 <xsl:if test="repository/vcs[@kind!='browser']">
111 <xsl:text>raw: </xsl:text>
112 <xsl:for-each select="repository/vcs[@kind!='browser']">
113 <xsl:sort select="@kind" />
114 <a href="{@url}">
115 <xsl:value-of select="@kind" />
116 </a>
117 <xsl:if test="position()!=last()">
118 <xsl:text>, </xsl:text>
119 </xsl:if>
120 </xsl:for-each>
121 </xsl:if>
122 </td>
123 </tr>
124 </xsl:if>
125 </xsl:template>
126
127 <xsl:template name="add-maintenance-info">
128 <xsl:param name="email" />
129 <xsl:variable name="dm">
130 <xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">
131 <xsl:text>true</xsl:text>
132 </xsl:if>
133 </xsl:variable>
134 <xsl:variable name="lownmu">
135 <xsl:if test="$low-nmu-emails/email[text()=$email]">
136 <xsl:text>true</xsl:text>
137 </xsl:if>
138 </xsl:variable>
139
140 <xsl:if test="string($dm)!='' or string($lownmu)!=''">
141 <tr>
142 <td class="labelcell">
143 <xsl:text>Maintenance info</xsl:text>
144 </td>
145 <td class="contentcell">
146
147 <xsl:if test="string($dm)!=''">
148 <span class="dm-tag">
149 <a href="http://www.debian.org/vote/2007/vote_003"><acronym title="Debian Maintainer Upload Allowed: can be uploaded by Debian Maintainers">DMUA</acronym></a>
150 </span>
151 </xsl:if>
152
153 <xsl:if test="string($lownmu)!=''">
154 <span class="lownmu-tag">
155 <a href="http://wiki.debian.org/LowThresholdNmu"><acronym
156 title="maintainer agrees with Low Threshold NMU, see wiki page for details">LowNMU</acronym></a>
157 </span>
158 </xsl:if>
159 </td>
160 </tr>
161 </xsl:if>
162 </xsl:template>
163
164 <xsl:template name="output-news">
165 <xsl:param name="news" />
166
167 <xsl:if test="count($news)>0 and string($news)!=''">
168 <tr class="titlerow">
169 <td class="titlecell">
170 Latest news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a>
171 </td></tr>
172 <tr class="normalrow">
173 <td class="contentcell2">
174 <ul id="news-list"><xsl:copy-of select="$news"/></ul>
175 </td>
176 </tr>
177 </xsl:if>
178 </xsl:template>
179
180 <xsl:template name="output-static">
181 <xsl:param name="static" />
182
183 <xsl:if test="count($static)>0 and string($static)!=''">
184 <tr class="titlerow">
185 <td class="titlecell">
186 Static Information
187 </td></tr>
188 <tr class="normalrow">
189 <td class="contentcell2">
190 <ul><xsl:copy-of select="$static"/></ul>
191 </td>
192 </tr>
193 </xsl:if>
194 </xsl:template>
195
196 <xsl:template name="categorize-srcfile">
197 <!-- used to recognize (and tag afterwards) well-known type of source package
198 components: dsc, diff, orig -->
199 <xsl:choose>
200 <xsl:when test="substring(filename,string-length(filename)-2, 3)='dsc'">
201 <xsl:text>dsc</xsl:text>
202 </xsl:when>
203 <xsl:when test="substring(filename,string-length(filename)-6, 7)='diff.gz'">
204 <xsl:text>diff</xsl:text>
205 </xsl:when>
206 <xsl:when test="substring(filename,string-length(filename)-5, 3)='tar'">
207 <xsl:text>orig</xsl:text>
208 </xsl:when>
209 <xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>
210 </xsl:choose>
211 </xsl:template>
212
213 <xsl:template name="maintainer-email">
214 <xsl:param name="email" />
215 <a class="email" href="mailto:{$email}">
216 <img alt="[email]" src="../common/email.png" title="email" />
217 </a>
218 </xsl:template>
219
220 <xsl:template name="general-information">
221 <tr class="titlerow">
222 <td class="titlecell" colspan="2">
223 General information
224 </td>
225 </tr>
226 <tr class="normalrow">
227 <td class="labelcell">Latest version</td>
228 <td class="contentcell"><xsl:value-of select="version"/></td>
229 </tr>
230 <xsl:if test="@release!='unstable'">
231 <tr class="normalrow">
232 <td class="labelcell">Distribution</td>
233 <td class="contentcell"><xsl:value-of select="@release"/></td>
234 </tr>
235 </xsl:if>
236 <tr class="normalrow">
237 <td class="labelcell">Maintainer</td>
238 <td class="contentcell">
239 <xsl:element name="a">
240 <xsl:attribute name="href">
241 <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
242 <xsl:call-template name="escape-name">
243 <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
244 </xsl:call-template>
245 </xsl:attribute>
246 <xsl:value-of select="maintainer/name"/>
247 </xsl:element>
248 <xsl:text> </xsl:text>
249 <xsl:call-template name="maintainer-email">
250 <xsl:with-param name="email" select="maintainer/email" />
251 </xsl:call-template>
252 </td>
253 </tr>
254 <tr class="normalrow">
255 <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Uploaders</a></td>
256 <td class="contentcell">
257 <xsl:if test="uploaders">
258 <xsl:for-each select="uploaders/item">
259 <xsl:element name="a">
260 <xsl:attribute name="href">
261 <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
262 <xsl:call-template name="escape-name">
263 <xsl:with-param name="text"><xsl:value-of select="email"/></xsl:with-param>
264 </xsl:call-template>
265 </xsl:attribute>
266 <xsl:value-of select="name"/>
267 </xsl:element>
268 <xsl:text> </xsl:text>
269 <xsl:call-template name="maintainer-email">
270 <xsl:with-param name="email" select="email" />
271 </xsl:call-template>
272 <br />
273 </xsl:for-each>
274 </xsl:if>
275 <xsl:if test="not(uploaders)">
276 <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>
277 </xsl:if>
278 <xsl:call-template name='add-maintenance-info'>
279 <xsl:with-param name="email" select="maintainer/email" />
280 </xsl:call-template>
281 </td></tr>
282 <tr class="normalrow">
283 <td class="labelcell">Standards version</td>
284 <td class="contentcell"><xsl:value-of select="standards-version"/></td>
285 </tr>
286 <tr class="normalrow">
287 <td class="labelcell">Priority</td>
288 <td class="contentcell"> <xsl:value-of select="priority"/> </td>
289 </tr>
290 <tr class="normalrow">
291 <td class="labelcell">Section</td>
292 <td class="contentcell"> <xsl:value-of select="section"/> </td>
293 </tr>
294 <xsl:call-template name='add-vcs-info' />
295 <xsl:if test="architecture!='any' and architecture!='all'">
296 <tr class="normalrow">
297 <td class="labelcell">Architecture</td>
298 <td class="contentcell"><xsl:value-of select="architecture"/></td>
299 </tr>
300 </xsl:if>
301 </xsl:template>
302
303 <xsl:template name="bugs-count">
304 <tr class="titlerow">
305 <td class="titlecell" colspan="2">
306 Bugs count
307 </td>
308 </tr>
309 <tr class="normalrow" id="bugs_all">
310 <td class="labelcell">All bugs</td>
311 <td class="contentcell">
312 <xsl:element name="a">
313 <xsl:attribute name="href">
314 <xsl:text>http://bugs.debian.org/src:</xsl:text>
315 <xsl:call-template name="escape-name">
316 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
317 </xsl:call-template>
318 </xsl:attribute>
319 <xsl:if test="$hasother">
320 <xsl:value-of select="$other/bugs/@all"/>
321 </xsl:if>
322 </xsl:element>
323 </td>
324 </tr>
325 <tr class="normalrow" id="bugs_rc">
326 <td class="labelcell"><span class="indented"><acronym title="Release Critical">RC</acronym> bugs</span></td>
327 <td class="contentcell">
328 <xsl:element name="a">
329 <xsl:attribute name="href">
330 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
331 <xsl:call-template name="escape-name">
332 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
333 </xsl:call-template>
334 <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious</xsl:text>
335 </xsl:attribute>
336 <xsl:if test="$hasother">
337 <xsl:value-of select="$other/bugs/@rc"/>
338 </xsl:if>
339 </xsl:element>
340 </td>
341 </tr>
342 <tr class="normalrow" id="bugs_in">
343 <td class="labelcell"><span class="indented"><acronym title="Important and Normal">I&amp;N</acronym> bugs</span></td>
344 <td class="contentcell">
345 <xsl:element name="a">
346 <xsl:attribute name="href">
347 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
348 <xsl:call-template name="escape-name">
349 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
350 </xsl:call-template>
351 <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal</xsl:text>
352 </xsl:attribute>
353 <xsl:if test="$hasother">
354 <xsl:value-of select="$other/bugs/@normal"/>
355 </xsl:if>
356 </xsl:element>
357 </td>
358 </tr>
359 <tr class="normalrow" id="bugs_mw">
360 <td class="labelcell"><span class="indented"><acronym title="Minor and Wishlist">M&amp;W</acronym> bugs</span></td>
361 <td class="contentcell">
362 <xsl:element name="a">
363 <xsl:attribute name="href">
364 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
365 <xsl:call-template name="escape-name">
366 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
367 </xsl:call-template>
368 <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist</xsl:text>
369 </xsl:attribute>
370 <xsl:if test="$hasother">
371 <xsl:value-of select="$other/bugs/@wishlist"/>
372 </xsl:if>
373 </xsl:element>
374 </td>
375 </tr>
376 <tr class="normalrow" id="bugs_fp">
377 <td class="labelcell"><span class="indented"><acronym title="Fixed and Pending">F&amp;P</acronym> bugs</span></td>
378 <td class="contentcell">
379 <xsl:element name="a">
380 <xsl:attribute name="href">
381 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
382 <xsl:call-template name="escape-name">
383 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
384 </xsl:call-template>
385 <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
386 </xsl:attribute>
387 <xsl:if test="$hasother">
388 <xsl:value-of select="$other/bugs/@fixed"/>
389 </xsl:if>
390 </xsl:element>
391 </td>
392 </tr>
393 </xsl:template>
394
395 <xsl:template name="pts-subscription">
396 <tr class="titlerow">
397 <td class="titlecell" colspan="2">
398 <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system"><acronym title="Package Tracking System">PTS</acronym></a> subscription
399 </td></tr>
400 <tr class="normalrow">
401 <td class="labelcell">Subscribers count</td>
402 <td class="contentcell"><xsl:if test="$hasother">
403 <xsl:value-of select="$other/pts/@count"/>
404 </xsl:if></td>
405 </tr>
406 <tr class="normalrow">
407 <td class="contentcell" colspan="2">
408 <form method="post" action="/cgi-bin/pts.cgi">
409 <p>
410 <input type="hidden" name="package" value="{$package}"/>
411 <select name="what">
412 <option value="subscribe">Subscribe</option>
413 <option value="unsubscribe">Unsubscribe</option>
414 <option value="advanced">Advanced mode</option>
415 </select>
416 <input type="text" name="email" size="15" value="your email" onFocus="if(email.value=='your email'){{email.value=''}}"/>
417 <input type="submit" name="submit" value="Send"/>
418 </p>
419 </form>
420 </td>
421 </tr>
422 </xsl:template>
423
424 <xsl:template name="binary-packages">
425 <tr class="titlerow">
426 <td class="titlecell" colspan="2">
427 Binary package(s)
428 </td></tr>
429 <tr class="normalrow">
430 <td class="normalcell" colspan="2" style="text-align: left">
431 <ul>
432 <xsl:for-each select="binary/item">
433 <xsl:sort select="text()"/>
434 <xsl:variable name="pkg" select="text()"/>
435 <li class="binpkg">
436 <a class="binpkg" href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
437 <span style="font-size: 70%">
438 (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
439
440 <xsl:element name="a">
441 <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
442 <xsl:attribute name="href">
443 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
444 <xsl:call-template name="escape-name">
445 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
446 </xsl:call-template>
447 <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=critical&amp;sev-inc=grave&amp;sev-inc=serious</xsl:text>
448 </xsl:attribute>
449 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
450 </xsl:element>,
451
452 <xsl:element name="a">
453 <xsl:attribute name="title">important and normal</xsl:attribute>
454 <xsl:attribute name="href">
455 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
456 <xsl:call-template name="escape-name">
457 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
458 </xsl:call-template>
459 <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=important&amp;sev-inc=normal</xsl:text>
460 </xsl:attribute>
461 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
462 </xsl:element>,
463
464 <xsl:element name="a">
465 <xsl:attribute name="title">wishlist and minor</xsl:attribute>
466 <xsl:attribute name="href">
467 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
468 <xsl:call-template name="escape-name">
469 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
470 </xsl:call-template>
471 <xsl:text>&amp;archive=no&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done&amp;sev-inc=minor&amp;sev-inc=wishlist</xsl:text>
472 </xsl:attribute>
473 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
474 </xsl:element>,
475
476 <xsl:element name="a">
477 <xsl:attribute name="title">pending and fixed</xsl:attribute>
478 <xsl:attribute name="href">
479 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
480 <xsl:call-template name="escape-name">
481 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
482 </xsl:call-template>
483 <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
484 </xsl:attribute>
485 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
486 </xsl:element>)
487 </span>
488 </li>
489 </xsl:for-each>
490 </ul></td></tr>
491 </xsl:template>
492
493 <xsl:template name="available-versions">
494 <tr class="titlerow">
495 <td class="titlecell" colspan="2">
496 Available versions
497 </td></tr>
498
499 <!-- oldstable -->
500 <xsl:if test="$hasoldstable">
501 <tr class="normalrow">
502 <td class="labelcell"><a href="http://www.debian.org/releases/sarge/">Oldstable</a></td>
503 <td class="contentcell">
504 <xsl:value-of select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/>
505 </td>
506 </tr>
507 </xsl:if>
508 <xsl:if test="$hasoldstable-security">
509 <tr class="normalrow">
510 <td class="labelcell"><small>Oldstable Security Updates</small></td>
511 <td class="contentcell">
512 <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
513 </td>
514 </tr>
515 </xsl:if>
516
517 <!-- stable -->
518 <xsl:if test="$hasstable">
519 <tr class="normalrow">
520 <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
521 <td class="contentcell">
522 <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
523 </td>
524 </tr>
525 </xsl:if>
526 <xsl:if test="$hasstable-security">
527 <tr class="normalrow">
528 <td class="labelcell"><small>Stable Security Updates</small></td>
529 <td class="contentcell">
530 <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
531 </td>
532 </tr>
533 </xsl:if>
534 <xsl:if test="$hass-p-u">
535 <tr class="normalrow">
536 <td class="labelcell"><small>Stable Proposed Updates</small></td>
537 <td class="contentcell">
538 <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>
539 </td>
540 </tr>
541 </xsl:if>
542
543 <!-- testing -->
544 <xsl:if test="$hastesting">
545 <tr class="normalrow">
546 <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
547 <td class="contentcell">
548 <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
549 </td>
550 </tr>
551 </xsl:if>
552 <xsl:if test="$hastesting-security">
553 <tr class="normalrow">
554 <td class="labelcell"><small>Testing Security Updates</small></td>
555 <td class="contentcell">
556 <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
557 </td>
558 </tr>
559 </xsl:if>
560 <xsl:if test="$hast-p-u">
561 <tr class="normalrow">
562 <td class="labelcell"><small>Testing Proposed Updates</small></td>
563 <td class="contentcell">
564 <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>
565 </td>
566 </tr>
567 </xsl:if>
568
569 <!-- unstable -->
570 <xsl:if test="$hasunstable">
571 <tr class="normalrow">
572 <td class="labelcell">Unstable</td>
573 <td class="contentcell">
574 <xsl:value-of select="document(concat('../base/', $dir, '/unstable.xml'))/source/version"/>
575 </td>
576 </tr>
577 </xsl:if>
578
579 <!-- experimental -->
580 <xsl:if test="$hasexperimental">
581 <tr class="normalrow">
582 <td class="labelcell">Experimental</td>
583 <td class="contentcell">
584 <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>
585 </td>
586 </tr>
587 </xsl:if>
588
589 <!-- secure-testing -->
590 <xsl:if test="$hassecure-testing">
591 <tr class="normalrow">
592 <td class="labelcell">Secure testing</td>
593 <td class="contentcell">
594 <xsl:value-of select="document(concat('../base/', $dir, '/secure-testing.xml'))/source/version"/>
595 </td>
596 </tr>
597 </xsl:if>
598
599 <!-- volatile -->
600 <xsl:if test="$hasvolatile">
601 <tr class="normalrow">
602 <td class="labelcell">Volatile</td>
603 <td class="contentcell">
604 <xsl:value-of select="document(concat('../base/', $dir, '/volatile.xml'))/source/version"/>
605 </td>
606 </tr>
607 </xsl:if>
608 </xsl:template>
609
610 <xsl:template name="patches">
611 <!-- Patches list [FG] -->
612 <xsl:if test="$other/@patches='yes'">
613 <tr class="titlerow">
614 <td class="titlecell" colspan="2">
615 Patches
616 </td></tr>
617 <tr>
618 <td class="contentcell" colspan="2" style="text-align: left">
619 <ul>
620 <xsl:for-each select="$other/patches/item">
621 <li>
622 <a href="{$other/patches/item/@url}">Patch from <xsl:value-of select="$other/patches/item/@distro"/> for version <xsl:value-of select="$other/patches/item/@version"/></a>
623 </li>
624 </xsl:for-each>
625 <xsl:if test="$other/bugs/@patch!='0'">
626 <li>
627 <xsl:element name="a">
628 <xsl:attribute name="href">
629 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
630 <xsl:call-template name="escape-name">
631 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
632 </xsl:call-template>
633 <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>
634 </xsl:attribute>
635 Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)
636 </xsl:element>
637 </li>
638 </xsl:if>
639 </ul>
640 </td>
641 </tr>
642 </xsl:if>
643 </xsl:template>
644
645 <xsl:template name="other-links">
646 <tr class="titlerow">
647 <td class="titlecell" colspan="2">
648 Other links
649 </td></tr>
650 <tr>
651 <td class="contentcell" colspan="2" style="text-align: left">
652 <ul>
653 <xsl:if test="homepage">
654 <li> <a href="{homepage}">Upstream homepage</a> </li>
655 </xsl:if>
656 <li>
657 <xsl:element name="a">
658 <xsl:attribute name="href">
659 <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
660 <xsl:value-of select="directory"/>
661 <xsl:text>/current/changelog</xsl:text>
662 </xsl:attribute>
663 <xsl:text>Changelog</xsl:text>
664 </xsl:element>
665 /
666 <xsl:element name="a">
667 <xsl:attribute name="href">
668 <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
669 <xsl:value-of select="directory"/>
670 <xsl:text>/current/copyright</xsl:text>
671 </xsl:attribute>
672 <xsl:text>Copyright</xsl:text>
673 </xsl:element>
674 </li>
675 <xsl:if test="architecture!='all'">
676 <li>
677 <xsl:element name="a">
678 <xsl:attribute name="href">
679 <xsl:text>http://buildd.debian.org/pkg.cgi?pkg=</xsl:text>
680 <xsl:call-template name="escape-name">
681 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
682 </xsl:call-template>
683 </xsl:attribute>
684 <xsl:text>Buildd logs</xsl:text>
685 </xsl:element>
686 <xsl:text> (</xsl:text>
687 <xsl:element name="a">
688 <xsl:attribute name="href">
689 <xsl:text>http://experimental.debian.net/build.php?pkg=</xsl:text>
690 <xsl:call-template name="escape-name">
691 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
692 </xsl:call-template>
693 </xsl:attribute>
694 <xsl:text>more</xsl:text>
695 </xsl:element>
696 <xsl:text>)</xsl:text>
697 </li>
698 </xsl:if>
699 <!-- DISABLED until ddtp.debian.org is back up
700 <li>
701 <xsl:element name="a">
702 <xsl:attribute name="href">
703 <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
704 <xsl:call-template name="escape-name">
705 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
706 </xsl:call-template>
707 <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
708 </xsl:attribute>
709 Description's translations (DDTP)
710 </xsl:element>
711 </li>
712 <xsl:if test="$other/@debconf='yes'">
713 <li>
714 <xsl:element name="a">
715 <xsl:attribute name="href">
716 <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
717 <xsl:call-template name="escape-name">
718 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
719 </xsl:call-template>
720 </xsl:attribute>
721 Debconf templates's translations (DDTP)
722 </xsl:element>
723 </li>
724 </xsl:if>
725 -->
726 <xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
727 or ($hastesting and $other/debcheck/@testing='yes')
728 or ($hasstable and $other/debcheck/@stable='yes')">
729 <li>
730 Debcheck on:
731 <xsl:if test="$hasunstable">
732 <xsl:text> </xsl:text>
733 <xsl:element name="a">
734 <xsl:attribute name="href">
735 <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
736 <xsl:call-template name="escape-name">
737 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
738 </xsl:call-template>
739 </xsl:attribute>
740 <xsl:text>unstable</xsl:text>
741 </xsl:element>
742 </xsl:if>
743 <xsl:if test="$hastesting">
744 <xsl:text> </xsl:text>
745 <xsl:element name="a">
746 <xsl:attribute name="href">
747 <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
748 <xsl:call-template name="escape-name">
749 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
750 </xsl:call-template>
751 </xsl:attribute>
752 <xsl:text>testing</xsl:text>
753 </xsl:element>
754 </xsl:if>
755 <xsl:if test="$hasstable">
756 <xsl:text> </xsl:text>
757 <xsl:element name="a">
758 <xsl:attribute name="href">
759 <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
760 <xsl:call-template name="escape-name">
761 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
762 </xsl:call-template>
763 </xsl:attribute>
764 <xsl:text>stable</xsl:text>
765 </xsl:element>
766 </xsl:if>
767 </li>
768 </xsl:if>
769 <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
770 <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-~/()&#34; ', &quot;'&quot;)"/>
771 <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '_____________________')"/>
772 <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>
773 <li>
774 <xsl:element name="a">
775 <xsl:attribute name="href">
776 <xsl:text>http://qa.debian.org/developer.php?popcon=</xsl:text>
777 <xsl:call-template name="escape-name">
778 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
779 </xsl:call-template>
780 </xsl:attribute>
781 <xsl:text>Popcon stats</xsl:text>
782 </xsl:element>
783 </li>
784 <li>
785 <xsl:element name="a">
786 <xsl:attribute name="href">
787 <xsl:text>http://svnbuildstat.debian.net/packages/info/</xsl:text>
788 <xsl:call-template name="escape-name">
789 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
790 </xsl:call-template>
791 </xsl:attribute>
792 <xsl:text>Svnbuildstat</xsl:text>
793 </xsl:element>
794 </li>
795 </ul>
796 </td>
797 </tr>
798 </xsl:template>
799
800 <xsl:template name="package-files">
801 <tr class="titlerow">
802 <td class="titlecell" colspan="2">
803 Source package
804 </td></tr>
805 <tr class="titlerow">
806 <td class="labelcell">
807 <xsl:element name="a">
808 <xsl:attribute name="href">
809 <xsl:call-template name="mirror"/>
810 <xsl:text>/</xsl:text>
811 <xsl:value-of select="directory"/>
812 <xsl:text>/</xsl:text>
813 </xsl:attribute>
814 <xsl:text>Files</xsl:text>
815 </xsl:element>
816 </td>
817 <td class="contentcell" id="src_files">
818 <ul>
819 <xsl:for-each select="files/item">
820 <xsl:variable name="filetype">
821 <xsl:call-template name="categorize-srcfile" />
822 </xsl:variable>
823 <xsl:element name="li">
824 <xsl:attribute name="class">srcfile</xsl:attribute>
825 <xsl:if test="string($filetype)!=''">
826 <xsl:attribute name="id">
827 <xsl:text>srcfile_</xsl:text>
828 <xsl:value-of select="$filetype" />
829 </xsl:attribute>
830 </xsl:if>
831 <xsl:element name="a">
832 <xsl:attribute name="class">srcfile</xsl:attribute>
833 <xsl:attribute name="href">
834 <xsl:call-template name="mirror"/>
835 <xsl:text>/</xsl:text>
836 <xsl:value-of select="../../directory"/>
837 <xsl:text>/</xsl:text>
838 <xsl:value-of select="filename"/>
839 </xsl:attribute>
840 <xsl:attribute name="title">
841 <xsl:value-of select="filename" />
842 <xsl:text>: </xsl:text>
843 <xsl:value-of select="size"/>
844 <xsl:text> bytes</xsl:text>
845 </xsl:attribute>
846 <xsl:text>.</xsl:text>
847 <xsl:value-of select="$filetype"/>
848 </xsl:element>
849 </xsl:element>
850 </xsl:for-each>
851 </ul>
852 </td>
853 </tr>
854 </xsl:template>
855
856 <xsl:template name="todo-list">
857 <xsl:variable name="todo">
858 <xsl:if test="@nmu">
859 <li>Incorporate and acknowledge the changes from the non maintainer upload.</li>
860 </xsl:if>
861 <xsl:if test="not(uploaders)and(priority='standard' or priority='required' or priority='important')">
862 <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
863 </xsl:if>
864 <xsl:if test="not(starts-with(standards-version, $lastsv))">
865 <li>The package should be updated to follow the last version of
866 <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
867 <xsl:value-of select="$lastsv"/> instead of
868 <xsl:value-of select="standards-version"/>).</li>
869 </xsl:if>
870 <xsl:if test="$hasother">
871 <xsl:for-each select="$other/todo/item">
872 <xsl:call-template name="outputitem"/>
873 </xsl:for-each>
874 <!-- new upstream version goes in todo [FG] -->
875 <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
876 <li>A new upstream version was found:
877 (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
878 </xsl:if>
879 <xsl:if test="$other/bugs/@patch!='0'">
880 <li>The Bug Tracking System contains
881 <xsl:element name="a">
882 <xsl:attribute name="href">
883 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
884 <xsl:call-template name="escape-name">
885 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
886 </xsl:call-template>
887 <xsl:text>&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done</xsl:text>
888 </xsl:attribute>
889 <xsl:value-of select="$other/bugs/@patch"/> patch<xsl:if test="$other/bugs/@patch!='1'">es</xsl:if>
890 </xsl:element>, you should include
891 <xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>
892 <xsl:if test="$other/bugs/@patch='1'">it</xsl:if>.
893 </li>
894 </xsl:if>
895 </xsl:if>
896 </xsl:variable>
897 <xsl:if test="count($todo)>0 and string($todo)!=''">
898 <tr class="titlerow">
899 <td class="titlecell" id="todo">
900 Todo
901 </td></tr>
902 <tr class="normalrow">
903 <td class="contentcell2">
904 <ul>
905 <xsl:copy-of select="$todo"/>
906 </ul>
907 </td>
908 </tr>
909 </xsl:if>
910 </xsl:template>
911
912 <xsl:template name="problems">
913 <xsl:variable name="problems">
914 <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
915 <li>The package has not yet entered <a
916 href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
917 even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
918 delay is over.
919 <xsl:element name="a">
920 <xsl:attribute name="href">
921 <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>
922 <xsl:call-template name="escape-name">
923 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
924 </xsl:call-template>
925 </xsl:attribute>
926 Check why
927 </xsl:element>
928 .</li>
929 </xsl:if>
930 <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
931 <li>The package is severly out of date with respect to the Debian
932 Policy. Latest version is <xsl:value-of select="$lastsv"/>
933 and your package only follows
934 <xsl:value-of select="standards-version"/>...</li>
935 </xsl:if>
936 <xsl:if test="@release!='unstable' and @release!='experimental'">
937 <li>This package is neither part of unstable nor experimental. This
938 probably means that the package <a
939 href="http://ftp-master.debian.org/removals.txt">has been removed</a> (or
940 has been renamed). Thus the information here is of little interest ...
941 the package is going to disappear unless someone takes it over and
942 reintroduces it into unstable.</li>
943 </xsl:if>
944 <xsl:if test="$hasother">
945
946 <!-- Override disparity handling. [JvW] -->
947 <xsl:if test="$other/@override='yes'">
948 <xsl:for-each select="$other/override/group">
949 <li>There were override disparities found in suite <xsl:value-of
950 select="@suite"/>:
951 <ul>
952 <xsl:for-each select="disparity">
953 <li><xsl:value-of select="text()"/></li>
954 </xsl:for-each>
955 </ul>
956 </li>
957 </xsl:for-each>
958 </xsl:if>
959
960 <!-- Wnpp handling. [PvR] -->
961 <xsl:if test="$other/@wnpp='yes'">
962 <li>
963 <xsl:choose>
964 <xsl:when test="$other/wnpp/@type='O'">
965 <xsl:choose>
966 <xsl:when test="@release!='unstable' and @release!='experimental'">
967 The WNPP database contains an O (Orphaned) entry for
968 this package. This is probably an error, as it is neither part of
969 unstable nor experimental.
970 </xsl:when>
971 <xsl:otherwise>
972 <span style="font-weight: bold">This package has been orphaned</span>.
973 This means that it does not have a real maintainer at the
974 moment. Please consider adopting this package if you are interested in it.
975 </xsl:otherwise>
976 </xsl:choose>
977 </xsl:when>
978 <xsl:when test="$other/wnpp/@type='ITA'">
979 <xsl:choose>
980 <xsl:when test="@release!='unstable' and @release!='experimental'">
981 The WNPP database contains an ITA (Intent To Adopt) entry for
982 this package. This is probably an error, as it is neither part of
983 unstable nor experimental.
984 </xsl:when>
985 <xsl:otherwise>
986 This package has been orphaned, but someone intends to maintain it.
987 </xsl:otherwise>
988 </xsl:choose>
989 </xsl:when>
990 <xsl:when test="$other/wnpp/@type='RFA'">
991 <xsl:choose>
992 <xsl:when test="@release!='unstable' and @release!='experimental'">
993 The WNPP database contains an RFA (Request For Adoption) entry for
994 this package. This is probably an error, as it is neither part of
995 unstable nor experimental.
996 </xsl:when>
997 <xsl:otherwise>
998 The current maintainer is looking for someone who can take over
999 maintenance of this package. If you are interested in this package,
1000 please consider taking it over. Alternatively you may
1001 want to be co-maintainer in order to help the actual maintainer.
1002 </xsl:otherwise>
1003 </xsl:choose>
1004 </xsl:when>
1005 <xsl:when test="$other/wnpp/@type='RFH'">
1006 <xsl:choose>
1007 <xsl:when test="@release!='unstable' and @release!='experimental'">
1008 The WNPP database contains an RFH (Request For Help) entry for
1009 this package. This is probably an error, as it is neither part of
1010 unstable nor experimental.
1011 </xsl:when>
1012 <xsl:otherwise>
1013 The current maintainer is looking for someone who can help with the
1014 maintenance of this package. If you are interested in this package,
1015 please consider helping out. One way you can help is offer to be a
1016 co-maintainer or triage bugs in the bts.
1017 </xsl:otherwise>
1018 </xsl:choose>
1019 </xsl:when>
1020 <xsl:when test="$other/wnpp/@type='ITP'">
1021 <xsl:choose>
1022 <xsl:when test="@release!='unstable' and @release!='experimental'">
1023 The WNPP database contains an ITP (Intent To Package). This probably
1024 means that somebody is going to reintroduce this package into unstable.
1025 </xsl:when>
1026 <xsl:otherwise>
1027 The WNPP database contains an ITP (Intent To Package) entry for
1028 this package. This is probably an error, as it has already been
1029 packaged.
1030 </xsl:otherwise>
1031 </xsl:choose>
1032 </xsl:when>
1033 <xsl:when test="$other/wnpp/@type='RFP'">
1034 <xsl:choose>
1035 <xsl:when test="@release!='unstable' and @release!='experimental'">
1036 The WNPP database contains an RFP (Request For Package). This probably
1037 means that somebody would like to see this package reintroduced into
1038 unstable by a volunteer.
1039 </xsl:when>
1040 <xsl:otherwise>
1041 The WNPP database contains an RFP (Request For Package) entry
1042 for this package. This is probably an error, as it has already
1043 been packaged.
1044 </xsl:otherwise>
1045 </xsl:choose>
1046 </xsl:when>
1047 <xsl:when test="$other/wnpp/@type='RM'">
1048 <span style="font-weight: bold">This package has been requested to be
1049 removed</span>.
1050 This means that, when this request gets processed by an ftp-master, this
1051 package will no longer be in unstable, and will automatically be removed
1052 from testing too afterwards. If for some reason you want keep this
1053 package in unstable, please discuss so in the bug.
1054 </xsl:when>
1055 <xsl:otherwise>
1056 The WNPP database contains an entry for this package,
1057 but it is unclear what kind of entry it is. This is probably an error.
1058 </xsl:otherwise>
1059 </xsl:choose>
1060 <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
1061 Please see bug number <a href="http://bugs.debian.org/{$bn}">
1062 #<xsl:value-of select="$bn"/></a> for more information.
1063 </li>
1064 </xsl:if>
1065
1066 <!-- uscan output if present [FG] -->
1067 <xsl:if test="$other/@watch='yes'">
1068 <li>
1069 <xsl:if test="$other/watch/@warning!=''">
1070 uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
1071 </xsl:if>
1072 </li>
1073 </xsl:if>
1074
1075 <!-- Misc problems reported -->
1076 <xsl:for-each select="$other/problems/item">
1077 <xsl:call-template name="outputitem"/>
1078 </xsl:for-each>
1079 </xsl:if>
1080 </xsl:variable>
1081 <xsl:if test="count($problems)>0 and string($problems)!=''">
1082 <tr class="titlerow">
1083 <td class="titlecell" id="problems">
1084 Problems
1085 </td></tr>
1086 <tr class="normalrow">
1087 <td class="contentcell2">
1088 <ul><xsl:copy-of select="$problems"/></ul>
1089 </td>
1090 </tr>
1091 </xsl:if>
1092 </xsl:template>
1093
1094 <xsl:template name="testing-status">
1095 <xsl:if test="$hasexcuse">
1096 <tr class="titlerow">
1097 <td class="titlecell">
1098 Testing status
1099 </td></tr>
1100 <tr class="normalrow">
1101 <td class="contentcell2" style="text-align: left">
1102 <ul>
1103 <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
1104 <xsl:call-template name="outputitem"/>
1105 </xsl:for-each>
1106 </ul>
1107 </td>
1108 </tr>
1109 </xsl:if>
1110 </xsl:template>
1111
1112 <xsl:template name="static-info">
1113 <xsl:call-template name="output-static">
1114 <xsl:with-param name="static" select="$static" />
1115 </xsl:call-template>
1116 </xsl:template>
1117
1118 <xsl:template name="latest-news">
1119 <xsl:call-template name="output-news">
1120 <xsl:with-param name="news" select="$news" />
1121 </xsl:call-template>
1122 </xsl:template>
1123
1124 <xsl:variable name="static">
1125 <xsl:if test="$hasnews">
1126 <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
1127 <xsl:call-template name="outputitem"/>
1128 </xsl:for-each>
1129 </xsl:if>
1130 </xsl:variable>
1131
1132 <xsl:variable name="news">
1133 <xsl:if test="$hasnews">
1134 <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
1135 <xsl:call-template name="outputitem"/>
1136 </xsl:for-each>
1137 </xsl:if>
1138 </xsl:variable>
1139
1140 <!-- All the work is done in a single template -->
1141 <xsl:template match="source">
1142
1143 <!-- Start of html -->
1144 <xsl:text disable-output-escaping="yes">
1145 &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt;
1146 </xsl:text>
1147 <html>
1148 <head>
1149 <meta name="ROBOTS" content="NOFOLLOW"/>
1150 <link type="text/css" title="Revamped PTS" rel="stylesheet" href="../common/revamp.css"/>
1151 <link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
1152 <link type="text/css" title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
1153 <link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
1154 <xsl:if test="count($news)>0 and string($news)!=''">
1155 <link rel="alternate" type="application/rss+xml" title="RSS"
1156 href="{$package}/news.rss20.xml" />
1157 </xsl:if>
1158 <title>Overview of <xsl:value-of select="$package"/> source package</title>
1159 </head>
1160 <body>
1161
1162 <form method="get" action="/common/index.html" style="float: right;">
1163 <!-- this link should make lynx/links happy [FG] -->
1164 <p>Jump to package (<a href="/">home page</a>): <br/>
1165 <input type="text" name="src" value=""/></p>
1166 </form>
1167 <h1>Overview of
1168 <xsl:element name="a">
1169 <xsl:attribute name="href">
1170 <xsl:text>http://packages.debian.org/src:</xsl:text>
1171 <xsl:value-of select="$package"/>
1172 </xsl:attribute>
1173 <xsl:value-of select="$package"/>
1174 </xsl:element>
1175 source package</h1>
1176
1177 <div id="body">
1178 <xsl:choose>
1179 <xsl:when test="$removed='yes'">
1180 <!-- REMOVED PACKAGE -->
1181 <p>This package is not part of any Debian distribution. Thus you won't
1182 find much information here. The package is either very new and hasn't
1183 appeared on mirrors yet, or it's an old package that eventually got removed.
1184 The old news are kept for historic purpose only.</p>
1185
1186 <table class="righttable">
1187 <xsl:call-template name="static-info" />
1188 <xsl:call-template name="latest-news" />
1189 </table>
1190
1191 <!-- END REMOVED PACKAGE -->
1192 </xsl:when>
1193 <xsl:otherwise>
1194 <!-- NON REMOVED PACKAGE -->
1195
1196 <table class="containertable">
1197 <tr class="containerrow" valign="top">
1198 <td class="containercell">
1199 <!-- LEFT SIDE -->
1200 <table class="lefttable">
1201 <xsl:call-template name="general-information" />
1202 <xsl:call-template name="available-versions" />
1203 </table>
1204 <table class="lefttable">
1205 <xsl:call-template name="package-files" />
1206 <xsl:call-template name="binary-packages" />
1207 </table>
1208 <!-- END LEFT SIDE -->
1209 </td><td class="containercell">
1210 <!-- RIGHT SIDE -->
1211 <table class="righttable">
1212 <xsl:call-template name="todo-list" />
1213 <xsl:call-template name="problems" />
1214 </table>
1215 <table class="righttable">
1216 <xsl:call-template name="testing-status" />
1217 <xsl:call-template name="static-info" />
1218 <xsl:call-template name="latest-news" />
1219 </table>
1220 <!-- END RIGHT SIDE -->
1221 </td><td class="containercell">
1222 <table class="lefttable">
1223 <xsl:call-template name="bugs-count" />
1224 <xsl:call-template name="pts-subscription" />
1225 </table>
1226 <table class="lefttable">
1227 <xsl:call-template name="patches" />
1228 </table>
1229 <table class="lefttable">
1230 <xsl:call-template name="other-links" />
1231 </table>
1232 </td></tr>
1233 </table>
1234
1235 <!-- END NON REMOVED PACKAGE -->
1236 </xsl:otherwise>
1237 </xsl:choose>
1238
1239 <hr/>
1240 <div class="footer">
1241 <p>
1242 <a href="http://www.debian.org">Debian</a> Package Tracking System -
1243 Copyright 2002-2007 Raphaël Hertzog and others.<br/>
1244 Report problems to the <a href="http://bugs.debian.org/qa.debian.org"
1245 ><tt>qa.debian.org</tt> pseudopackage</a> in the <a
1246 href="http://bugs.debian.org">Debian <acronym title="Bug Tracking
1247 System">BTS</acronym></a>.<br/>
1248 Last modified : <xsl:value-of select="$date"/>.
1249 </p>
1250 </div>
1251 </div>
1252 </body>
1253 </html>
1254 </xsl:template>
1255
1256 </xsl:stylesheet>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5