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

Diff of /trunk/pts/www/xsl/pts.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 479 by hertzog, Sat Jan 11 22:56:05 2003 UTC revision 949 by jeroen, Sun Feb 13 18:29:50 2005 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="ISO-8859-1" ?>  <?xml version="1.0" encoding="ISO-8859-1" ?>
2    
3  <!--  <!--
4  # Copyright 2002 Raphaël Hertzog  # Copyright 2002-2003 Raphaël Hertzog
5  # This file is distributed under the terms of the General Public License  # This file is distributed under the terms of the General Public License
6  # version 2 or (at your option) any later version.  # version 2 or (at your option) any later version.
7  -->  -->
8    
9  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
10    
11  <xsl:output encoding="ISO-8859-1" method="html"/>  <xsl:output encoding="UTF-8" method="html"/>
12    
13  <xsl:param name="package"/>  <xsl:param name="package"/>
14  <xsl:param name="dir"/>  <xsl:param name="dir"/>
# Line 29  Line 29 
29    
30  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
31       standards-version not being up to date -->       standards-version not being up to date -->
32  <xsl:variable name="lastsv" select="'3.5.8'"/>  <xsl:variable name="lastsv" select="'3.6.1'"/>
33  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
34    
35  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
36  <xsl:template name="mirror">  <xsl:template name="mirror">
37    <xsl:choose>    <xsl:choose>
38      <xsl:when test="contains(source/section, 'non-US')">      <xsl:when test="contains(/source/section, 'non-US')">
39        <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>        <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>
40      </xsl:when>      </xsl:when>
41      <xsl:otherwise>      <xsl:otherwise>
# Line 51  Line 51 
51          <xsl:text>[</xsl:text>          <xsl:text>[</xsl:text>
52          <xsl:value-of select="@date"/>          <xsl:value-of select="@date"/>
53          <xsl:text>] </xsl:text>          <xsl:text>] </xsl:text>
54        </xsl:if><a href="{@url}"><xsl:value-of select="text()"/></a></li>        </xsl:if><a href="{@url}">
55          <xsl:value-of select="text()"/></a><xsl:if test="@from">
56            <xsl:text> (</xsl:text>
57            <xsl:value-of select="@from"/>
58            <xsl:text>)</xsl:text></xsl:if></li>
59      </xsl:when>      </xsl:when>
60      <xsl:otherwise>      <xsl:otherwise>
61        <li><xsl:if test="@date">        <li><xsl:if test="@date">
# Line 63  Line 67 
67    </xsl:choose>    </xsl:choose>
68  </xsl:template>  </xsl:template>
69    
70    <!-- Convert + in %2b for URL escaping ... -->
71    <xsl:template name="escape-name">
72      <xsl:param name="text"/>
73      <xsl:if test="contains($text,'+')">
74        <xsl:value-of select="substring-before($text,'+')"/>
75        <xsl:text>%2b</xsl:text>
76        <xsl:call-template name="escape-name">
77        <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
78        </xsl:call-template>
79      </xsl:if>
80      <xsl:if test="not(contains($text,'+'))">
81        <xsl:value-of select="$text"/>
82      </xsl:if>
83    </xsl:template>
84    
85    
86  <!-- All the work is done in a single template -->  <!-- All the work is done in a single template -->
87  <xsl:template match="source">  <xsl:template match="source">
88    
# Line 70  Line 90 
90    <html>    <html>
91    <head>    <head>
92    <meta name="ROBOTS" content="NOFOLLOW"/>    <meta name="ROBOTS" content="NOFOLLOW"/>
93    <link rel="stylesheet" href="../common/pts.css"/>    <link title="Default" rel="stylesheet" href="../common/pts.css"/>
94      <link title="Standard link rendering" rel="alternate stylesheet" href="../common/pts2.css"/>
95    <title>Overview of <xsl:value-of select="$package"/> source package</title>    <title>Overview of <xsl:value-of select="$package"/> source package</title>
96    </head>    </head>
97    <body>    <body>
98    
99    <form method="get" action="/common/index.html" style="float: right;">    <form method="get" action="/common/index.html" style="float: right;">
100    Jump to package : <br/>    <!-- this link should make lynx/links happy [FG] -->
101      Jump to package (<a href="/">home page</a>): <br/>
102    <input type="text" name="src" value=""/>    <input type="text" name="src" value=""/>
103    </form>    </form>
104    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>
# Line 102  Line 124 
124    </xsl:if>    </xsl:if>
125    <tr class="normalrow">    <tr class="normalrow">
126    <td class="labelcell">Maintainer</td>    <td class="labelcell">Maintainer</td>
127    <td class="contentcell"><a class="email" href="http://qa.debian.org/developer.php?login={maintainer/email}">    <td class="contentcell">
128    <xsl:value-of select="maintainer/name"/></a> [<a class="email" href="mailto:{maintainer/email}">mail</a>]</td>    <xsl:element name="a">
129        <xsl:attribute name="href">
130          <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
131          <xsl:call-template name="escape-name">
132            <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
133          </xsl:call-template>
134        </xsl:attribute>
135        <xsl:value-of select="maintainer/name"/>
136      </xsl:element>
137      [<a class="email" href="mailto:{maintainer/email}">mail</a>]
138      </td>
139    </tr>    </tr>
140    <tr class="normalrow">    <tr class="normalrow">
141    <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>    <td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Co-Maintainers</a></td>
# Line 121  Line 153 
153    <td class="labelcell">Standards-Version</td>    <td class="labelcell">Standards-Version</td>
154    <td class="contentcell"><xsl:value-of select="standards-version"/></td>    <td class="contentcell"><xsl:value-of select="standards-version"/></td>
155    </tr>    </tr>
156      <tr class="normalrow">
157      <td class="labelcell">Priority &amp; Section</td>
158      <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>
159      </tr>
160      <xsl:if test="architecture!='any' and architecture!='all'">
161      <tr class="normalrow">
162      <td class="labelcell">Architecture</td>
163      <td class="contentcell"><xsl:value-of select="architecture"/></td>
164      </tr>
165      </xsl:if>
166    
167    <tr class="titlerow">    <tr class="titlerow">
168    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
# Line 129  Line 171 
171    <tr class="normalrow">    <tr class="normalrow">
172    <td class="labelcell">All bugs</td>    <td class="labelcell">All bugs</td>
173    <td class="contentcell">    <td class="contentcell">
174    <a href="http://bugs.debian.org/src:{$package}"><xsl:if test="$hasother">    <xsl:element name="a">
175      <xsl:value-of select="$other/bugs/@all"/>      <xsl:attribute name="href">
176    </xsl:if></a>        <xsl:text>http://bugs.debian.org/src:</xsl:text>
177          <xsl:call-template name="escape-name">
178            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
179          </xsl:call-template>
180        </xsl:attribute>
181        <xsl:if test="$hasother">
182          <xsl:value-of select="$other/bugs/@all"/>
183        </xsl:if>
184      </xsl:element>
185    </td>    </td>
186    </tr>    </tr>
187    <tr class="normalrow">    <tr class="normalrow">
188    <td class="labelcell">Release Critical</td>    <td class="labelcell">Release Critical</td>
189    <td class="contentcell">    <td class="contentcell">
190    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&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:if test="$hasother">    <xsl:element name="a">
191      <xsl:value-of select="$other/bugs/@rc"/>      <xsl:attribute name="href">
192    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
193          <xsl:call-template name="escape-name">
194            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
195          </xsl:call-template>
196          <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>
197        </xsl:attribute>
198        <xsl:if test="$hasother">
199          <xsl:value-of select="$other/bugs/@rc"/>
200        </xsl:if>
201      </xsl:element>
202    </td>    </td>
203    </tr>    </tr>
204    <tr class="normalrow">    <tr class="normalrow">
205    <td class="labelcell">Important and Normal</td>    <td class="labelcell">Important and Normal</td>
206    <td class="contentcell">    <td class="contentcell">
207    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&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:if test="$hasother">    <xsl:element name="a">
208      <xsl:value-of select="$other/bugs/@normal"/>      <xsl:attribute name="href">
209    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
210          <xsl:call-template name="escape-name">
211            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
212          </xsl:call-template>
213          <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>
214        </xsl:attribute>
215        <xsl:if test="$hasother">
216          <xsl:value-of select="$other/bugs/@normal"/>
217        </xsl:if>
218      </xsl:element>
219    </td>    </td>
220    </tr>    </tr>
221    <tr class="normalrow">    <tr class="normalrow">
222    <td class="labelcell">Minor and Wishlist</td>    <td class="labelcell">Minor and Wishlist</td>
223    <td class="contentcell">    <td class="contentcell">
224    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&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:if test="$hasother">    <xsl:element name="a">
225      <xsl:value-of select="$other/bugs/@wishlist"/>      <xsl:attribute name="href">
226    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
227          <xsl:call-template name="escape-name">
228            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
229          </xsl:call-template>
230          <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>
231        </xsl:attribute>
232        <xsl:if test="$hasother">
233          <xsl:value-of select="$other/bugs/@wishlist"/>
234        </xsl:if>
235      </xsl:element>
236    </td>    </td>
237    </tr>    </tr>
238    <tr class="normalrow">    <tr class="normalrow">
239    <td class="labelcell">Fixed and Pending</td>    <td class="labelcell">Fixed and Pending</td>
240    <td class="contentcell">    <td class="contentcell">
241    <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed"><xsl:if test="$hasother">    <xsl:element name="a">
242      <xsl:value-of select="$other/bugs/@fixed"/>      <xsl:attribute name="href">
243    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
244          <xsl:call-template name="escape-name">
245            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
246          </xsl:call-template>
247          <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
248        </xsl:attribute>
249        <xsl:if test="$hasother">
250          <xsl:value-of select="$other/bugs/@fixed"/>
251        </xsl:if>
252      </xsl:element>
253    </td>    </td>
254    </tr>    </tr>
255    
# Line 205  Line 291 
291      <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>      <a href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
292      <span style="font-size: 70%">      <span style="font-size: 70%">
293      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:      (<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
294    <a title="critical, grave and serious" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={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:value-of select="$other/bugs/item[@name=$pkg]/@rc"/></a>,  
295    <a title="important and normal" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={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:value-of select="$other/bugs/item[@name=$pkg]/@normal"/></a>,        <xsl:element name="a">
296    <a title="wishlist and minor" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={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:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/></a>,          <xsl:attribute name="title">critical, grave and serious</xsl:attribute>
297    <a title="pending and fixed" href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data={text()}&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/></a>)          <xsl:attribute name="href">
298              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
299              <xsl:call-template name="escape-name">
300                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
301              </xsl:call-template>
302              <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>
303            </xsl:attribute>
304            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
305          </xsl:element>,
306    
307          <xsl:element name="a">
308            <xsl:attribute name="title">important and normal</xsl:attribute>
309            <xsl:attribute name="href">
310            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
311            <xsl:call-template name="escape-name">
312              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
313            </xsl:call-template>
314            <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>
315            </xsl:attribute>
316            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
317          </xsl:element>,
318    
319          <xsl:element name="a">
320            <xsl:attribute name="title">wishlist and minor</xsl:attribute>
321            <xsl:attribute name="href">
322              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
323              <xsl:call-template name="escape-name">
324                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
325              </xsl:call-template>
326              <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>
327            </xsl:attribute>
328            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
329          </xsl:element>,
330    
331          <xsl:element name="a">
332            <xsl:attribute name="title">pending and fixed</xsl:attribute>
333            <xsl:attribute name="href">
334              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
335              <xsl:call-template name="escape-name">
336                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
337              </xsl:call-template>
338              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
339            </xsl:attribute>
340            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
341          </xsl:element>)
342      </span>      </span>
343      </li>      </li>
344    </xsl:for-each>    </xsl:for-each>
# Line 244  Line 374 
374    </xsl:if>    </xsl:if>
375    <xsl:if test="$hastesting">    <xsl:if test="$hastesting">
376    <tr class="normalrow">    <tr class="normalrow">
377    <td class="labelcell">Testing</td>    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
378    <td class="contentcell">    <td class="contentcell">
379    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
380    </td>    </td>
# Line 260  Line 390 
390    </xsl:if>    </xsl:if>
391    <xsl:if test="$hasstable">    <xsl:if test="$hasstable">
392    <tr class="normalrow">    <tr class="normalrow">
393    <td class="labelcell">Stable</td>    <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
394    <td class="contentcell">    <td class="contentcell">
395    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
396    </td>    </td>
# Line 282  Line 412 
412    <tr>    <tr>
413    <td class="contentcell" colspan="2" style="text-align: left">    <td class="contentcell" colspan="2" style="text-align: left">
414    <xsl:if test="architecture!='all'">    <xsl:if test="architecture!='all'">
415      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>      <li>
416          <xsl:element name="a">
417            <xsl:attribute name="href">
418              <xsl:text>http://buildd.debian.org/build.php?pkg=</xsl:text>
419              <xsl:call-template name="escape-name">
420                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
421              </xsl:call-template>
422            </xsl:attribute>
423            <xsl:text>Buildd logs</xsl:text>
424          </xsl:element>
425        </li>
426    </xsl:if>    </xsl:if>
427      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=pdesc&amp;package={$package}">Description's translations (DDTP)</a></li>    <!-- DISABLED until ddtp.debian.org is back up
428        <li>
429          <xsl:element name="a">
430            <xsl:attribute name="href">
431              <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
432              <xsl:call-template name="escape-name">
433                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
434              </xsl:call-template>
435              <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
436            </xsl:attribute>
437            Description's translations (DDTP)
438          </xsl:element>
439        </li>
440    <xsl:if test="$other/@debconf='yes'">    <xsl:if test="$other/@debconf='yes'">
441      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package={$package}">Debconf templates's translations (DDTP)</a></li>      <li>
442          <xsl:element name="a">
443            <xsl:attribute name="href">
444              <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
445              <xsl:call-template name="escape-name">
446                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
447              </xsl:call-template>
448            </xsl:attribute>
449            Debconf templates's translations (DDTP)
450          </xsl:element>
451        </li>
452    </xsl:if>    </xsl:if>
453      -->
454    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
455      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>      <li>
456          <xsl:element name="a">
457            <xsl:attribute name="href">
458              <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
459              <xsl:call-template name="escape-name">
460                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
461              </xsl:call-template>
462            </xsl:attribute>
463            <xsl:text>Debcheck on unstable</xsl:text>
464          </xsl:element>
465        </li>
466    </xsl:if>    </xsl:if>
467    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
468      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>      <li>
469          <xsl:element name="a">
470            <xsl:attribute name="href">
471              <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
472              <xsl:call-template name="escape-name">
473                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
474              </xsl:call-template>
475            </xsl:attribute>
476            <xsl:text>Debcheck on testing</xsl:text>
477          </xsl:element>
478        </li>
479    </xsl:if>    </xsl:if>
480    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
481      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>      <li>
482          <xsl:element name="a">
483            <xsl:attribute name="href">
484              <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
485              <xsl:call-template name="escape-name">
486                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
487              </xsl:call-template>
488            </xsl:attribute>
489            <xsl:text>Debcheck on stable</xsl:text>
490          </xsl:element>
491        </li>
492    </xsl:if>    </xsl:if>
493      <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
494                                  <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-/()&#34; ', &quot;'&quot;)"/>
495      <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '____________________')"/>
496        <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>
497    
498    </td>    </td>
499    </tr>    </tr>
500    
# Line 354  Line 552 
552        <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>        <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
553      </xsl:if>      </xsl:if>
554      <xsl:if test="not(starts-with(standards-version, $lastsv))">      <xsl:if test="not(starts-with(standards-version, $lastsv))">
555        <li>You should update the package to follow the last version of        <li>The package should be updated to follow the last version of
556        Debian Policy (Standards-Version        <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
557        <xsl:value-of select="$lastsv"/> instead of        <xsl:value-of select="$lastsv"/> instead of
558        <xsl:value-of select="standards-version"/>).</li>        <xsl:value-of select="standards-version"/>).</li>
559      </xsl:if>      </xsl:if>
# Line 363  Line 561 
561        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
562          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
563        </xsl:for-each>        </xsl:for-each>
564          <!-- new upstream version goes in todo [FG] -->
565          <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
566            <li>A new upstream version was found:
567               (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
568          </xsl:if>
569      </xsl:if>      </xsl:if>
570    </xsl:variable>    </xsl:variable>
571    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
# Line 380  Line 583 
583    <xsl:variable name="problems">    <xsl:variable name="problems">
584      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">      <xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
585        <li>The package has not yet entered <a        <li>The package has not yet entered <a
586        href="http://ftp-master.debian.org/testing/update_excuses.html#{$package}">testing</a>        href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
587        even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day        even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
588        delay is over.</li>        delay is over.
589          <xsl:element name="a">
590            <xsl:attribute name="href">
591              <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>
592              <xsl:call-template name="escape-name">
593                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
594              </xsl:call-template>
595            </xsl:attribute>
596            Check why
597          </xsl:element>
598          .</li>
599      </xsl:if>      </xsl:if>
600      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
601        <li>The package is severly out of date with respect to the Debian        <li>The package is severly out of date with respect to the Debian
# Line 391  Line 604 
604        <xsl:value-of select="standards-version"/>...</li>        <xsl:value-of select="standards-version"/>...</li>
605      </xsl:if>      </xsl:if>
606      <xsl:if test="$hasother">      <xsl:if test="$hasother">
607    
608          <!-- Override disparity handling. [JvW] -->
609          <xsl:if test="$other/@override='yes'">
610            <xsl:for-each select="$other/override/group">
611              <li>There were override disparities found in suite <xsl:value-of
612                  select="@suite"/>:
613                <ul>
614                  <xsl:for-each select="disparity">
615                    <li><xsl:value-of select="text()"/></li>
616                  </xsl:for-each>
617                </ul>
618              </li>
619            </xsl:for-each>
620          </xsl:if>
621    
622          <!-- Wnpp handling. [PvR] -->
623          <xsl:if test="$other/@wnpp='yes'">
624          <li>
625            <xsl:choose>
626              <xsl:when test="$other/wnpp/@type='O'">
627              <span style="font-weight: bold">This package has been orphaned</span>.
628              This means that it does not have a real maintainer at the
629              moment. Please consider adopting this package if you are interested in it.
630              </xsl:when>
631              <xsl:when test="$other/wnpp/@type='ITA'">
632              This package has been orphaned, but someone intends to maintain it.
633              </xsl:when>
634              <xsl:when test="$other/wnpp/@type='RFA'">
635              The current maintainer is looking for someone who can take over
636              maintenance of this package. If you are interested in this package,
637              please consider taking it over. Alternatively you may
638              want to be co-maintainer in order to help the actual maintainer.
639              </xsl:when>
640              <xsl:when test="$other/wnpp/@type='RFH'">
641              The current maintainer is looking for someone who can help with the
642              maintenance of this package. If you are interested in this package,
643              please consider helping out. One way you can help is offer to be a
644              co-maintainer or triage bugs in the bts.
645              </xsl:when>
646              <xsl:when test="$other/wnpp/@type='ITP'">
647              The WNPP database contains an ITP (Intent To Package) entry for
648              this package. This is probably an error, as it has already been
649              packaged.
650              </xsl:when>
651              <xsl:when test="$other/wnpp/@type='RFP'">
652              The WNPP database contains an RFP (Request For Package) entry
653              for this package.  This is probably an error, as it has already
654              been packaged.
655              </xsl:when>
656              <xsl:when test="$other/wnpp/@type='RM'">
657              <span style="font-weight: bold">This package has been requested to be
658              removed</span>.
659              This means that, when this request gets processed by an ftp-master, this
660              package will no longer be in unstable, and will automatically be removed
661              from testing too afterwards. If for some reason you want keep this
662              package in unstable, please discuss so in the bug.
663              </xsl:when>
664              <xsl:otherwise>
665              The WNPP database contains an entry for this package,
666              but it is unclear what kind of entry it is. This is probably an error.
667              </xsl:otherwise>
668            </xsl:choose>
669            <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
670            Please see bug number <a href="http://bugs.debian.org/{$bn}">
671            #<xsl:value-of select="$bn"/></a> for more information.
672          </li>
673          </xsl:if>
674    
675        <!-- uscan output if present [FG] -->
676        <xsl:if test="$other/@watch='yes'">
677          <li>
678          <xsl:if test="$other/watch/@warning!=''">
679            uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
680          </xsl:if>
681          </li>
682        </xsl:if>
683    
684          <!-- Misc problems reported -->
685        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
686          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
687        </xsl:for-each>        </xsl:for-each>
# Line 420  Line 711 
711    </td>    </td>
712    </tr>    </tr>
713    </xsl:if>    </xsl:if>
714    
715    
716    <xsl:variable name="static">    <xsl:variable name="static">
717      <xsl:if test="$hasnews">      <xsl:if test="$hasnews">
# Line 460  Line 751 
751    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->
752    </td></tr>    </td></tr>
753    </table>    </table>
   Warning: the "Latest News" section is not yet automatically updated. I'm waiting  
   that master.debian.org is upgraded to woody (stable) in order to be able  
   to setup the required scripts. Those scripts will automatically update the  
   "Latest News" and they'll let you add your own news items. Please be patient.  
754    <hr/>    <hr/>
755    Debian Package Tracking System - Copyright 2002 Raphaël Hertzog<br/>    Debian Package Tracking System - Copyright 2002-2004 Raphaël Hertzog<br/>
756    Last modified : <xsl:value-of select="$date"/>    Last modified : <xsl:value-of select="$date"/>
757    </body>    </body>
758    </html>    </html>

Legend:
Removed from v.479  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.5