/[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 1021 - (show annotations) (download) (as text)
Mon Jun 6 00:36:39 2005 UTC (8 years ago) by jeroen
File MIME type: application/xml
File size: 28769 byte(s)
Add oldstable and oldstable-security
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2
3 <!--
4 # Copyright 2002-2003 Raphaël Hertzog
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="hasnews" select="''"/>
28 <xsl:param name="hasexcuse" select="''"/>
29
30 <xsl:variable name="other" select="document(concat('../base/', $dir, '/other.xml'))/other"/>
31
32 <!-- Those variables controls the todo and problem item concerning
33 standards-version not being up to date -->
34 <xsl:variable name="lastsv" select="'3.6.1'"/>
35 <xsl:variable name="lastmajorsv" select="'3.'"/>
36
37 <!-- Named templates aka functions -->
38 <xsl:template name="mirror">
39 <xsl:choose>
40 <xsl:when test="contains(/source/section, 'non-US')">
41 <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>
42 </xsl:when>
43 <xsl:otherwise>
44 <xsl:text>http://http.us.debian.org/debian</xsl:text>
45 </xsl:otherwise>
46 </xsl:choose>
47 </xsl:template>
48
49 <xsl:template name="outputitem">
50 <xsl:choose>
51 <xsl:when test="@url">
52 <li><xsl:if test="@date">
53 <xsl:text>[</xsl:text>
54 <xsl:value-of select="@date"/>
55 <xsl:text>] </xsl:text>
56 </xsl:if><a href="{@url}">
57 <xsl:value-of select="text()"/></a><xsl:if test="@from">
58 <xsl:text> (</xsl:text>
59 <xsl:value-of select="@from"/>
60 <xsl:text>)</xsl:text></xsl:if></li>
61 </xsl:when>
62 <xsl:otherwise>
63 <li><xsl:if test="@date">
64 <xsl:text>[</xsl:text>
65 <xsl:value-of select="@date"/>
66 <xsl:text>] </xsl:text>
67 </xsl:if><xsl:value-of select="text()"/></li>
68 </xsl:otherwise>
69 </xsl:choose>
70 </xsl:template>
71
72 <!-- Convert + in %2b for URL escaping ... -->
73 <xsl:template name="escape-name">
74 <xsl:param name="text"/>
75 <xsl:if test="contains($text,'+')">
76 <xsl:value-of select="substring-before($text,'+')"/>
77 <xsl:text>%2b</xsl:text>
78 <xsl:call-template name="escape-name">
79 <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
80 </xsl:call-template>
81 </xsl:if>
82 <xsl:if test="not(contains($text,'+'))">
83 <xsl:value-of select="$text"/>
84 </xsl:if>
85 </xsl:template>
86
87
88 <!-- All the work is done in a single template -->
89 <xsl:template match="source">
90
91 <!-- Start of html -->
92 <html>
93 <head>
94 <meta name="ROBOTS" content="NOFOLLOW"/>
95 <link title="Default" rel="stylesheet" href="../common/pts.css"/>
96 <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
97 <title>Overview of <xsl:value-of select="$package"/> source package</title>
98 </head>
99 <body>
100
101 <form method="get" action="/common/index.html" style="float: right;">
102 <!-- this link should make lynx/links happy [FG] -->
103 Jump to package (<a href="/">home page</a>): <br/>
104 <input type="text" name="src" value=""/>
105 </form>
106 <h1>Overview of <xsl:value-of select="$package"/> source package</h1>
107
108 <table class="containertable">
109 <tr class="containerrow" valign="top">
110 <td class="containercell">
111 <!-- LEFT SIDE -->
112 <table class="lefttable">
113 <tr class="titlerow">
114 <td class="titlecell" colspan="2">
115 General Information
116 </td></tr>
117 <tr class="normalrow">
118 <td class="labelcell">Last version</td>
119 <td class="contentcell"><xsl:value-of select="version"/></td>
120 </tr>
121 <xsl:if test="@release!='unstable'">
122 <tr class="normalrow">
123 <td class="labelcell">Distribution</td>
124 <td class="contentcell"><xsl:value-of select="@release"/></td>
125 </tr>
126 </xsl:if>
127 <tr class="normalrow">
128 <td class="labelcell">Maintainer</td>
129 <td class="contentcell">
130 <xsl:element name="a">
131 <xsl:attribute name="href">
132 <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
133 <xsl:call-template name="escape-name">
134 <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
135 </xsl:call-template>
136 </xsl:attribute>
137 <xsl:value-of select="maintainer/name"/>
138 </xsl:element>
139 [<a class="email" href="mailto:{maintainer/email}">mail</a>]
140 </td>
141 </tr>
142 <tr class="normalrow">
143 <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>
144 <td class="contentcell">
145 <xsl:if test="uploaders">
146 <xsl:for-each select="uploaders/item">
147 <a class="email" href="http://qa.debian.org/developer.php?login={email}"><xsl:value-of select="name"/></a> [<a class="email" href="mailto:{email}">mail</a>]<br/>
148 </xsl:for-each>
149 </xsl:if>
150 <xsl:if test="not(uploaders)">
151 <a class="none" title="You should find some co-maintainers ..." name="fake">None</a>
152 </xsl:if>
153 </td></tr>
154 <tr class="normalrow">
155 <td class="labelcell">Standards-Version</td>
156 <td class="contentcell"><xsl:value-of select="standards-version"/></td>
157 </tr>
158 <tr class="normalrow">
159 <td class="labelcell">Priority &amp; Section</td>
160 <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>
161 </tr>
162 <xsl:if test="architecture!='any' and architecture!='all'">
163 <tr class="normalrow">
164 <td class="labelcell">Architecture</td>
165 <td class="contentcell"><xsl:value-of select="architecture"/></td>
166 </tr>
167 </xsl:if>
168
169 <tr class="titlerow">
170 <td class="titlecell" colspan="2">
171 Bugs Count
172 </td></tr>
173 <tr class="normalrow">
174 <td class="labelcell">All bugs</td>
175 <td class="contentcell">
176 <xsl:element name="a">
177 <xsl:attribute name="href">
178 <xsl:text>http://bugs.debian.org/src:</xsl:text>
179 <xsl:call-template name="escape-name">
180 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
181 </xsl:call-template>
182 </xsl:attribute>
183 <xsl:if test="$hasother">
184 <xsl:value-of select="$other/bugs/@all"/>
185 </xsl:if>
186 </xsl:element>
187 </td>
188 </tr>
189 <tr class="normalrow">
190 <td class="labelcell">Release Critical</td>
191 <td class="contentcell">
192 <xsl:element name="a">
193 <xsl:attribute name="href">
194 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
195 <xsl:call-template name="escape-name">
196 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
197 </xsl:call-template>
198 <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>
199 </xsl:attribute>
200 <xsl:if test="$hasother">
201 <xsl:value-of select="$other/bugs/@rc"/>
202 </xsl:if>
203 </xsl:element>
204 </td>
205 </tr>
206 <tr class="normalrow">
207 <td class="labelcell">Important and Normal</td>
208 <td class="contentcell">
209 <xsl:element name="a">
210 <xsl:attribute name="href">
211 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
212 <xsl:call-template name="escape-name">
213 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
214 </xsl:call-template>
215 <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>
216 </xsl:attribute>
217 <xsl:if test="$hasother">
218 <xsl:value-of select="$other/bugs/@normal"/>
219 </xsl:if>
220 </xsl:element>
221 </td>
222 </tr>
223 <tr class="normalrow">
224 <td class="labelcell">Minor and Wishlist</td>
225 <td class="contentcell">
226 <xsl:element name="a">
227 <xsl:attribute name="href">
228 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
229 <xsl:call-template name="escape-name">
230 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
231 </xsl:call-template>
232 <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>
233 </xsl:attribute>
234 <xsl:if test="$hasother">
235 <xsl:value-of select="$other/bugs/@wishlist"/>
236 </xsl:if>
237 </xsl:element>
238 </td>
239 </tr>
240 <tr class="normalrow">
241 <td class="labelcell">Fixed and Pending</td>
242 <td class="contentcell">
243 <xsl:element name="a">
244 <xsl:attribute name="href">
245 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
246 <xsl:call-template name="escape-name">
247 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
248 </xsl:call-template>
249 <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
250 </xsl:attribute>
251 <xsl:if test="$hasother">
252 <xsl:value-of select="$other/bugs/@fixed"/>
253 </xsl:if>
254 </xsl:element>
255 </td>
256 </tr>
257
258 <tr class="titlerow">
259 <td class="titlecell" colspan="2">
260 Subscription - <a class="titlelink" href="http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pkg-tracking-system">Package Tracking System</a>
261 </td></tr>
262 <tr class="normalrow">
263 <td class="labelcell">Subscribers count</td>
264 <td class="contentcell"><xsl:if test="$hasother">
265 <xsl:value-of select="$other/pts/@count"/>
266 </xsl:if></td>
267 </tr>
268 <tr class="normalrow">
269 <td class="contentcell" colspan="2">
270 <form method="post" action="/cgi-bin/pts.cgi">
271 <input type="hidden" name="package" value="{$package}"/>
272 <select name="what">
273 <option value="subscribe">Subscribe</option>
274 <option value="unsubscribe">Unsubscribe</option>
275 <option value="advanced">Advanced mode</option>
276 </select>
277 <input type="text" name="email" size="15" value="your email" onFocus="if(email.value=='your email'){{email.value=''}}"/>
278 <input type="submit" name="submit" value="Send"/>
279 </form>
280 </td>
281 </tr>
282
283 <tr class="titlerow">
284 <td class="titlecell" colspan="2">
285 Binary Package(s)
286 </td></tr>
287 <tr class="normalrow">
288 <td class="normalcell" colspan="2" style="text-align: left">
289 <xsl:for-each select="binary/item">
290 <xsl:sort select="text()"/>
291 <xsl:variable name="pkg" select="text()"/>
292 <li>
293 <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
294 <span style="font-size: 70%">
295 (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
296
297 <xsl:element name="a">
298 <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
299 <xsl:attribute name="href">
300 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
301 <xsl:call-template name="escape-name">
302 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
303 </xsl:call-template>
304 <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>
305 </xsl:attribute>
306 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
307 </xsl:element>,
308
309 <xsl:element name="a">
310 <xsl:attribute name="title">important and normal</xsl:attribute>
311 <xsl:attribute name="href">
312 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
313 <xsl:call-template name="escape-name">
314 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
315 </xsl:call-template>
316 <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>
317 </xsl:attribute>
318 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
319 </xsl:element>,
320
321 <xsl:element name="a">
322 <xsl:attribute name="title">wishlist and minor</xsl:attribute>
323 <xsl:attribute name="href">
324 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
325 <xsl:call-template name="escape-name">
326 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
327 </xsl:call-template>
328 <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>
329 </xsl:attribute>
330 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
331 </xsl:element>,
332
333 <xsl:element name="a">
334 <xsl:attribute name="title">pending and fixed</xsl:attribute>
335 <xsl:attribute name="href">
336 <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
337 <xsl:call-template name="escape-name">
338 <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
339 </xsl:call-template>
340 <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
341 </xsl:attribute>
342 <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
343 </xsl:element>)
344 </span>
345 </li>
346 </xsl:for-each>
347 </td></tr>
348
349 <tr class="titlerow">
350 <td class="titlecell" colspan="2">
351 Other available versions
352 </td></tr>
353 <xsl:if test="$hasexperimental">
354 <tr class="normalrow">
355 <td class="labelcell">Experimental</td>
356 <td class="contentcell">
357 <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>
358 </td>
359 </tr>
360 </xsl:if>
361 <xsl:if test="$hasoldstable-security">
362 <tr class="normalrow">
363 <td class="labelcell">Security Updates (oldstable)</td>
364 <td class="contentcell">
365 <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
366 </td>
367 </tr>
368 </xsl:if>
369 <xsl:if test="$hasstable-security">
370 <tr class="normalrow">
371 <td class="labelcell">Security Updates (stable)</td>
372 <td class="contentcell">
373 <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
374 </td>
375 </tr>
376 </xsl:if>
377 <xsl:if test="$hastesting-security">
378 <tr class="normalrow">
379 <td class="labelcell">Security Updates (testing)</td>
380 <td class="contentcell">
381 <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
382 </td>
383 </tr>
384 </xsl:if>
385 <xsl:if test="$hastesting">
386 <tr class="normalrow">
387 <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
388 <td class="contentcell">
389 <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
390 </td>
391 </tr>
392 </xsl:if>
393 <xsl:if test="$hast-p-u">
394 <tr class="normalrow">
395 <td class="labelcell">Testing Proposed Updates</td>
396 <td class="contentcell">
397 <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>
398 </td>
399 </tr>
400 </xsl:if>
401 <xsl:if test="$hasoldstable">
402 <tr class="normalrow">
403 <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
404 <td class="contentcell">
405 <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
406 </td>
407 </tr>
408 </xsl:if>
409 <xsl:if test="$hasstable">
410 <tr class="normalrow">
411 <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
412 <td class="contentcell">
413 <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
414 </td>
415 </tr>
416 </xsl:if>
417 <xsl:if test="$hass-p-u">
418 <tr class="normalrow">
419 <td class="labelcell">Stable Proposed Updates</td>
420 <td class="contentcell">
421 <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>
422 </td>
423 </tr>
424 </xsl:if>
425
426 <tr class="titlerow">
427 <td class="titlecell" colspan="2">
428 Other links
429 </td></tr>
430 <tr>
431 <td class="contentcell" colspan="2" style="text-align: left">
432 <xsl:if test="architecture!='all'">
433 <li>
434 <xsl:element name="a">
435 <xsl:attribute name="href">
436 <xsl:text>http://buildd.debian.org/build.php?pkg=</xsl:text>
437 <xsl:call-template name="escape-name">
438 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
439 </xsl:call-template>
440 </xsl:attribute>
441 <xsl:text>Buildd logs</xsl:text>
442 </xsl:element>
443 </li>
444 </xsl:if>
445 <!-- DISABLED until ddtp.debian.org is back up
446 <li>
447 <xsl:element name="a">
448 <xsl:attribute name="href">
449 <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
450 <xsl:call-template name="escape-name">
451 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
452 </xsl:call-template>
453 <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
454 </xsl:attribute>
455 Description's translations (DDTP)
456 </xsl:element>
457 </li>
458 <xsl:if test="$other/@debconf='yes'">
459 <li>
460 <xsl:element name="a">
461 <xsl:attribute name="href">
462 <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
463 <xsl:call-template name="escape-name">
464 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
465 </xsl:call-template>
466 </xsl:attribute>
467 Debconf templates's translations (DDTP)
468 </xsl:element>
469 </li>
470 </xsl:if>
471 -->
472 <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
473 <li>
474 <xsl:element name="a">
475 <xsl:attribute name="href">
476 <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
477 <xsl:call-template name="escape-name">
478 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
479 </xsl:call-template>
480 </xsl:attribute>
481 <xsl:text>Debcheck on unstable</xsl:text>
482 </xsl:element>
483 </li>
484 </xsl:if>
485 <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
486 <li>
487 <xsl:element name="a">
488 <xsl:attribute name="href">
489 <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
490 <xsl:call-template name="escape-name">
491 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
492 </xsl:call-template>
493 </xsl:attribute>
494 <xsl:text>Debcheck on testing</xsl:text>
495 </xsl:element>
496 </li>
497 </xsl:if>
498 <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
499 <li>
500 <xsl:element name="a">
501 <xsl:attribute name="href">
502 <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
503 <xsl:call-template name="escape-name">
504 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
505 </xsl:call-template>
506 </xsl:attribute>
507 <xsl:text>Debcheck on stable</xsl:text>
508 </xsl:element>
509 </li>
510 </xsl:if>
511 <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
512 <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-/()&#34; ', &quot;'&quot;)"/>
513 <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '____________________')"/>
514 <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>
515
516 </td>
517 </tr>
518
519 <tr class="titlerow">
520 <td class="titlecell" colspan="2">
521 <xsl:element name="a">
522 <xsl:attribute name="class">
523 <xsl:text>titlelink</xsl:text>
524 </xsl:attribute>
525 <xsl:attribute name="href">
526 <xsl:call-template name="mirror"/>
527 <xsl:text>/</xsl:text>
528 <xsl:value-of select="directory"/>
529 <xsl:text>/</xsl:text>
530 </xsl:attribute>
531 <xsl:text>Source files</xsl:text>
532 </xsl:element>
533 </td></tr>
534 <tr class="normalrow">
535 <td class="normalcell" colspan="2" style="text-align: left">
536 <xsl:for-each select="files/item">
537 <li>
538 <xsl:element name="a">
539 <xsl:attribute name="class">srcfile</xsl:attribute>
540 <xsl:attribute name="href">
541 <xsl:call-template name="mirror"/>
542 <xsl:text>/</xsl:text>
543 <xsl:value-of select="../../directory"/>
544 <xsl:text>/</xsl:text>
545 <xsl:value-of select="filename"/>
546 </xsl:attribute>
547 <xsl:attribute name="title">
548 <xsl:value-of select="size"/>
549 <xsl:text> bytes</xsl:text>
550 </xsl:attribute>
551 <xsl:value-of select="filename"/>
552 </xsl:element>
553 </li>
554 </xsl:for-each>
555 </td></tr>
556
557 </table>
558 <!-- END LEFT SIDE -->
559 </td><td class="containercell">
560 <!-- RIGHT SIDE -->
561 <table class="righttable">
562
563
564 <!-- Todo list -->
565 <xsl:variable name="todo">
566 <xsl:if test="@nmu">
567 <li>Incorporate and acknowledge the changes from the non maintainer upload.</li>
568 </xsl:if>
569 <xsl:if test="not(uploaders)and(priority='standard' or priority='required' or priority='important')">
570 <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
571 </xsl:if>
572 <xsl:if test="not(starts-with(standards-version, $lastsv))">
573 <li>The package should be updated to follow the last version of
574 <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
575 <xsl:value-of select="$lastsv"/> instead of
576 <xsl:value-of select="standards-version"/>).</li>
577 </xsl:if>
578 <xsl:if test="$hasother">
579 <xsl:for-each select="$other/todo/item">
580 <xsl:call-template name="outputitem"/>
581 </xsl:for-each>
582 <!-- new upstream version goes in todo [FG] -->
583 <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
584 <li>A new upstream version was found:
585 (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
586 </xsl:if>
587 </xsl:if>
588 </xsl:variable>
589 <xsl:if test="count($todo)>0 and string($todo)!=''">
590 <tr class="titlerow">
591 <td class="titlecell" style="background-color: blue">
592 Todo
593 </td></tr>
594 <tr class="normalrow">
595 <td class="contentcell2"><xsl:copy-of select="$todo"/>
596 </td>
597 </tr>
598 </xsl:if>
599
600 <!-- List of problems -->
601 <xsl:variable name="problems">
602 <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
603 <li>The package has not yet entered <a
604 href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
605 even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
606 delay is over.
607 <xsl:element name="a">
608 <xsl:attribute name="href">
609 <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>
610 <xsl:call-template name="escape-name">
611 <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
612 </xsl:call-template>
613 </xsl:attribute>
614 Check why
615 </xsl:element>
616 .</li>
617 </xsl:if>
618 <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
619 <li>The package is severly out of date with respect to the Debian
620 Policy. Latest version is <xsl:value-of select="$lastsv"/>
621 and your package only follows
622 <xsl:value-of select="standards-version"/>...</li>
623 </xsl:if>
624 <xsl:if test="$hasother">
625
626 <!-- Override disparity handling. [JvW] -->
627 <xsl:if test="$other/@override='yes'">
628 <xsl:for-each select="$other/override/group">
629 <li>There were override disparities found in suite <xsl:value-of
630 select="@suite"/>:
631 <ul>
632 <xsl:for-each select="disparity">
633 <li><xsl:value-of select="text()"/></li>
634 </xsl:for-each>
635 </ul>
636 </li>
637 </xsl:for-each>
638 </xsl:if>
639
640 <!-- Wnpp handling. [PvR] -->
641 <xsl:if test="$other/@wnpp='yes'">
642 <li>
643 <xsl:choose>
644 <xsl:when test="$other/wnpp/@type='O'">
645 <span style="font-weight: bold">This package has been orphaned</span>.
646 This means that it does not have a real maintainer at the
647 moment. Please consider adopting this package if you are interested in it.
648 </xsl:when>
649 <xsl:when test="$other/wnpp/@type='ITA'">
650 This package has been orphaned, but someone intends to maintain it.
651 </xsl:when>
652 <xsl:when test="$other/wnpp/@type='RFA'">
653 The current maintainer is looking for someone who can take over
654 maintenance of this package. If you are interested in this package,
655 please consider taking it over. Alternatively you may
656 want to be co-maintainer in order to help the actual maintainer.
657 </xsl:when>
658 <xsl:when test="$other/wnpp/@type='RFH'">
659 The current maintainer is looking for someone who can help with the
660 maintenance of this package. If you are interested in this package,
661 please consider helping out. One way you can help is offer to be a
662 co-maintainer or triage bugs in the bts.
663 </xsl:when>
664 <xsl:when test="$other/wnpp/@type='ITP'">
665 The WNPP database contains an ITP (Intent To Package) entry for
666 this package. This is probably an error, as it has already been
667 packaged.
668 </xsl:when>
669 <xsl:when test="$other/wnpp/@type='RFP'">
670 The WNPP database contains an RFP (Request For Package) entry
671 for this package. This is probably an error, as it has already
672 been packaged.
673 </xsl:when>
674 <xsl:when test="$other/wnpp/@type='RM'">
675 <span style="font-weight: bold">This package has been requested to be
676 removed</span>.
677 This means that, when this request gets processed by an ftp-master, this
678 package will no longer be in unstable, and will automatically be removed
679 from testing too afterwards. If for some reason you want keep this
680 package in unstable, please discuss so in the bug.
681 </xsl:when>
682 <xsl:otherwise>
683 The WNPP database contains an entry for this package,
684 but it is unclear what kind of entry it is. This is probably an error.
685 </xsl:otherwise>
686 </xsl:choose>
687 <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
688 Please see bug number <a href="http://bugs.debian.org/{$bn}">
689 #<xsl:value-of select="$bn"/></a> for more information.
690 </li>
691 </xsl:if>
692
693 <!-- uscan output if present [FG] -->
694 <xsl:if test="$other/@watch='yes'">
695 <li>
696 <xsl:if test="$other/watch/@warning!=''">
697 uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
698 </xsl:if>
699 </li>
700 </xsl:if>
701
702 <!-- Misc problems reported -->
703 <xsl:for-each select="$other/problems/item">
704 <xsl:call-template name="outputitem"/>
705 </xsl:for-each>
706 </xsl:if>
707 </xsl:variable>
708 <xsl:if test="count($problems)>0 and string($problems)!=''">
709 <tr class="titlerow">
710 <td class="titlecell" style="background-color: red">
711 Problems
712 </td></tr>
713 <tr class="normalrow">
714 <td class="contentcell2"><xsl:copy-of select="$problems"/>
715 </td>
716 </tr>
717 </xsl:if>
718
719 <xsl:if test="$hasexcuse">
720 <tr class="titlerow">
721 <td class="titlecell">
722 Testing Status
723 </td></tr>
724 <tr class="normalrow">
725 <td class="contentcell2" style="text-align: left">
726 <xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
727 <xsl:call-template name="outputitem"/>
728 </xsl:for-each>
729 </td>
730 </tr>
731 </xsl:if>
732
733
734 <xsl:variable name="static">
735 <xsl:if test="$hasnews">
736 <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
737 <xsl:call-template name="outputitem"/>
738 </xsl:for-each>
739 </xsl:if>
740 </xsl:variable>
741 <xsl:if test="count($static)>0 and string($static)!=''">
742 <tr class="titlerow">
743 <td class="titlecell">
744 Static Information
745 </td></tr>
746 <tr class="normalrow">
747 <td class="contentcell2"><xsl:copy-of select="$static"/></td>
748 </tr>
749 </xsl:if>
750
751 <xsl:variable name="news">
752 <xsl:if test="$hasnews">
753 <xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
754 <xsl:call-template name="outputitem"/>
755 </xsl:for-each>
756 </xsl:if>
757 </xsl:variable>
758 <xsl:if test="count($news)>0 and string($news)!=''">
759 <tr class="titlerow">
760 <td class="titlecell">
761 Latest News
762 </td></tr>
763 <tr class="normalrow">
764 <td class="contentcell2"><xsl:copy-of select="$news"/></td>
765 </tr>
766 </xsl:if>
767
768 </table>
769 <!-- END RIGHT SIDE -->
770 </td></tr>
771 </table>
772 <hr/>
773 Debian Package Tracking System - Copyright 2002-2004 Raphaël Hertzog<br/>
774 Last modified : <xsl:value-of select="$date"/>
775 </body>
776 </html>
777 </xsl:template>
778
779 </xsl:stylesheet>

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5