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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5