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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5