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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5