/[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 529 by hertzog, Thu Mar 13 20:32:47 2003 UTC revision 1024 by jeroen, Wed Jun 8 01:37:45 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"/>
15  <xsl:param name="date"/>  <xsl:param name="date"/>
16    <xsl:param name="hasoldstable" select="''"/>
17  <xsl:param name="hasstable" select="''"/>  <xsl:param name="hasstable" select="''"/>
18  <xsl:param name="hastesting" select="''"/>  <xsl:param name="hastesting" select="''"/>
19  <xsl:param name="hasunstable" select="''"/>  <xsl:param name="hasunstable" select="''"/>
# Line 20  Line 21 
21  <xsl:param name="hasother" select="''"/>  <xsl:param name="hasother" select="''"/>
22  <xsl:param name="hass-p-u" select="''"/>  <xsl:param name="hass-p-u" select="''"/>
23  <xsl:param name="hast-p-u" select="''"/>  <xsl:param name="hast-p-u" select="''"/>
24    <xsl:param name="hasoldstable-security" select="''"/>
25  <xsl:param name="hasstable-security" select="''"/>  <xsl:param name="hasstable-security" select="''"/>
26  <xsl:param name="hastesting-security" select="''"/>  <xsl:param name="hastesting-security" select="''"/>
27  <xsl:param name="hasnews" select="''"/>  <xsl:param name="hasnews" select="''"/>
# Line 29  Line 31 
31    
32  <!-- Those variables controls the todo and problem item concerning  <!-- Those variables controls the todo and problem item concerning
33       standards-version not being up to date -->       standards-version not being up to date -->
34  <xsl:variable name="lastsv" select="'3.5.9'"/>  <xsl:variable name="lastsv" select="'3.6.1'"/>
35  <xsl:variable name="lastmajorsv" select="'3.'"/>  <xsl:variable name="lastmajorsv" select="'3.'"/>
36    
37  <!-- Named templates aka functions -->  <!-- Named templates aka functions -->
38  <xsl:template name="mirror">  <xsl:template name="mirror">
39    <xsl:choose>    <xsl:text>http://ftp.debian.org/debian</xsl:text>
     <xsl:when test="contains(source/section, 'non-US')">  
       <xsl:text>http://non-us.debian.org/debian-non-US</xsl:text>  
     </xsl:when>  
     <xsl:otherwise>  
       <xsl:text>http://http.us.debian.org/debian</xsl:text>  
     </xsl:otherwise>  
   </xsl:choose>  
40  </xsl:template>  </xsl:template>
41    
42  <xsl:template name="outputitem">  <xsl:template name="outputitem">
# Line 51  Line 46 
46          <xsl:text>[</xsl:text>          <xsl:text>[</xsl:text>
47          <xsl:value-of select="@date"/>          <xsl:value-of select="@date"/>
48          <xsl:text>] </xsl:text>          <xsl:text>] </xsl:text>
49        </xsl:if><a href="{@url}"><xsl:value-of select="text()"/></a></li>        </xsl:if><a href="{@url}">
50          <xsl:value-of select="text()"/></a><xsl:if test="@from">
51            <xsl:text> (</xsl:text>
52            <xsl:value-of select="@from"/>
53            <xsl:text>)</xsl:text></xsl:if></li>
54      </xsl:when>      </xsl:when>
55      <xsl:otherwise>      <xsl:otherwise>
56        <li><xsl:if test="@date">        <li><xsl:if test="@date">
# Line 63  Line 62 
62    </xsl:choose>    </xsl:choose>
63  </xsl:template>  </xsl:template>
64    
65    <!-- Convert + in %2b for URL escaping ... -->
66    <xsl:template name="escape-name">
67      <xsl:param name="text"/>
68      <xsl:if test="contains($text,'+')">
69        <xsl:value-of select="substring-before($text,'+')"/>
70        <xsl:text>%2b</xsl:text>
71        <xsl:call-template name="escape-name">
72        <xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
73        </xsl:call-template>
74      </xsl:if>
75      <xsl:if test="not(contains($text,'+'))">
76        <xsl:value-of select="$text"/>
77      </xsl:if>
78    </xsl:template>
79    
80    
81  <!-- All the work is done in a single template -->  <!-- All the work is done in a single template -->
82  <xsl:template match="source">  <xsl:template match="source">
83    
# Line 77  Line 92 
92    <body>    <body>
93    
94    <form method="get" action="/common/index.html" style="float: right;">    <form method="get" action="/common/index.html" style="float: right;">
95    Jump to package : <br/>    <!-- this link should make lynx/links happy [FG] -->
96      Jump to package (<a href="/">home page</a>): <br/>
97    <input type="text" name="src" value=""/>    <input type="text" name="src" value=""/>
98    </form>    </form>
99    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>
# Line 103  Line 119 
119    </xsl:if>    </xsl:if>
120    <tr class="normalrow">    <tr class="normalrow">
121    <td class="labelcell">Maintainer</td>    <td class="labelcell">Maintainer</td>
122    <td class="contentcell"><a class="email" href="http://qa.debian.org/developer.php?login={maintainer/email}">    <td class="contentcell">
123    <xsl:value-of select="maintainer/name"/></a> [<a class="email" href="mailto:{maintainer/email}">mail</a>]</td>    <xsl:element name="a">
124        <xsl:attribute name="href">
125          <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
126          <xsl:call-template name="escape-name">
127            <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
128          </xsl:call-template>
129        </xsl:attribute>
130        <xsl:value-of select="maintainer/name"/>
131      </xsl:element>
132      [<a class="email" href="mailto:{maintainer/email}">mail</a>]
133      </td>
134    </tr>    </tr>
135    <tr class="normalrow">    <tr class="normalrow">
136    <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 122  Line 148 
148    <td class="labelcell">Standards-Version</td>    <td class="labelcell">Standards-Version</td>
149    <td class="contentcell"><xsl:value-of select="standards-version"/></td>    <td class="contentcell"><xsl:value-of select="standards-version"/></td>
150    </tr>    </tr>
151      <tr class="normalrow">
152      <td class="labelcell">Priority &amp; Section</td>
153      <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>
154      </tr>
155    <xsl:if test="architecture!='any' and architecture!='all'">    <xsl:if test="architecture!='any' and architecture!='all'">
156    <tr class="normalrow">    <tr class="normalrow">
157    <td class="labelcell">Architecture</td>    <td class="labelcell">Architecture</td>
# Line 136  Line 166 
166    <tr class="normalrow">    <tr class="normalrow">
167    <td class="labelcell">All bugs</td>    <td class="labelcell">All bugs</td>
168    <td class="contentcell">    <td class="contentcell">
169    <a href="http://bugs.debian.org/src:{$package}"><xsl:if test="$hasother">    <xsl:element name="a">
170      <xsl:value-of select="$other/bugs/@all"/>      <xsl:attribute name="href">
171    </xsl:if></a>        <xsl:text>http://bugs.debian.org/src:</xsl:text>
172          <xsl:call-template name="escape-name">
173            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
174          </xsl:call-template>
175        </xsl:attribute>
176        <xsl:if test="$hasother">
177          <xsl:value-of select="$other/bugs/@all"/>
178        </xsl:if>
179      </xsl:element>
180    </td>    </td>
181    </tr>    </tr>
182    <tr class="normalrow">    <tr class="normalrow">
183    <td class="labelcell">Release Critical</td>    <td class="labelcell">Release Critical</td>
184    <td class="contentcell">    <td class="contentcell">
185    <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">
186      <xsl:value-of select="$other/bugs/@rc"/>      <xsl:attribute name="href">
187    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
188          <xsl:call-template name="escape-name">
189            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
190          </xsl:call-template>
191          <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>
192        </xsl:attribute>
193        <xsl:if test="$hasother">
194          <xsl:value-of select="$other/bugs/@rc"/>
195        </xsl:if>
196      </xsl:element>
197    </td>    </td>
198    </tr>    </tr>
199    <tr class="normalrow">    <tr class="normalrow">
200    <td class="labelcell">Important and Normal</td>    <td class="labelcell">Important and Normal</td>
201    <td class="contentcell">    <td class="contentcell">
202    <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">
203      <xsl:value-of select="$other/bugs/@normal"/>      <xsl:attribute name="href">
204    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
205          <xsl:call-template name="escape-name">
206            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
207          </xsl:call-template>
208          <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>
209        </xsl:attribute>
210        <xsl:if test="$hasother">
211          <xsl:value-of select="$other/bugs/@normal"/>
212        </xsl:if>
213      </xsl:element>
214    </td>    </td>
215    </tr>    </tr>
216    <tr class="normalrow">    <tr class="normalrow">
217    <td class="labelcell">Minor and Wishlist</td>    <td class="labelcell">Minor and Wishlist</td>
218    <td class="contentcell">    <td class="contentcell">
219    <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">
220      <xsl:value-of select="$other/bugs/@wishlist"/>      <xsl:attribute name="href">
221    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
222          <xsl:call-template name="escape-name">
223            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
224          </xsl:call-template>
225          <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>
226        </xsl:attribute>
227        <xsl:if test="$hasother">
228          <xsl:value-of select="$other/bugs/@wishlist"/>
229        </xsl:if>
230      </xsl:element>
231    </td>    </td>
232    </tr>    </tr>
233    <tr class="normalrow">    <tr class="normalrow">
234    <td class="labelcell">Fixed and Pending</td>    <td class="labelcell">Fixed and Pending</td>
235    <td class="contentcell">    <td class="contentcell">
236    <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">
237      <xsl:value-of select="$other/bugs/@fixed"/>      <xsl:attribute name="href">
238    </xsl:if></a>        <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data=</xsl:text>
239          <xsl:call-template name="escape-name">
240            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
241          </xsl:call-template>
242          <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
243        </xsl:attribute>
244        <xsl:if test="$hasother">
245          <xsl:value-of select="$other/bugs/@fixed"/>
246        </xsl:if>
247      </xsl:element>
248    </td>    </td>
249    </tr>    </tr>
250    
# Line 212  Line 286 
286      <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>
287      <span style="font-size: 70%">      <span style="font-size: 70%">
288      (<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>:
289    <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>,  
290    <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">
291    <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>
292    <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">
293              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
294              <xsl:call-template name="escape-name">
295                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
296              </xsl:call-template>
297              <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>
298            </xsl:attribute>
299            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
300          </xsl:element>,
301    
302          <xsl:element name="a">
303            <xsl:attribute name="title">important and normal</xsl:attribute>
304            <xsl:attribute name="href">
305            <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
306            <xsl:call-template name="escape-name">
307              <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
308            </xsl:call-template>
309            <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>
310            </xsl:attribute>
311            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
312          </xsl:element>,
313    
314          <xsl:element name="a">
315            <xsl:attribute name="title">wishlist and minor</xsl:attribute>
316            <xsl:attribute name="href">
317              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
318              <xsl:call-template name="escape-name">
319                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
320              </xsl:call-template>
321              <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>
322            </xsl:attribute>
323            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
324          </xsl:element>,
325    
326          <xsl:element name="a">
327            <xsl:attribute name="title">pending and fixed</xsl:attribute>
328            <xsl:attribute name="href">
329              <xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&amp;data=</xsl:text>
330              <xsl:call-template name="escape-name">
331                <xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
332              </xsl:call-template>
333              <xsl:text>&amp;archive=no&amp;pend-inc=pending-fixed&amp;pend-inc=fixed</xsl:text>
334            </xsl:attribute>
335            <xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
336          </xsl:element>)
337      </span>      </span>
338      </li>      </li>
339    </xsl:for-each>    </xsl:for-each>
# Line 233  Line 351 
351    </td>    </td>
352    </tr>    </tr>
353    </xsl:if>    </xsl:if>
354      <xsl:if test="$hasoldstable-security">
355      <tr class="normalrow">
356      <td class="labelcell">Security Updates (oldstable)</td>
357      <td class="contentcell">
358      <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
359      </td>
360      </tr>
361      </xsl:if>
362    <xsl:if test="$hasstable-security">    <xsl:if test="$hasstable-security">
363    <tr class="normalrow">    <tr class="normalrow">
364    <td class="labelcell">Security Updates (stable)</td>    <td class="labelcell">Security Updates (stable)</td>
# Line 251  Line 377 
377    </xsl:if>    </xsl:if>
378    <xsl:if test="$hastesting">    <xsl:if test="$hastesting">
379    <tr class="normalrow">    <tr class="normalrow">
380    <td class="labelcell">Testing</td>    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
381    <td class="contentcell">    <td class="contentcell">
382    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/>
383    </td>    </td>
# Line 265  Line 391 
391    </td>    </td>
392    </tr>    </tr>
393    </xsl:if>    </xsl:if>
394      <xsl:if test="$hasoldstable">
395      <tr class="normalrow">
396      <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
397      <td class="contentcell">
398      <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
399      </td>
400      </tr>
401      </xsl:if>
402    <xsl:if test="$hasstable">    <xsl:if test="$hasstable">
403    <tr class="normalrow">    <tr class="normalrow">
404    <td class="labelcell">Stable</td>    <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
405    <td class="contentcell">    <td class="contentcell">
406    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
407    </td>    </td>
# Line 289  Line 423 
423    <tr>    <tr>
424    <td class="contentcell" colspan="2" style="text-align: left">    <td class="contentcell" colspan="2" style="text-align: left">
425    <xsl:if test="architecture!='all'">    <xsl:if test="architecture!='all'">
426      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>      <li>
427          <xsl:element name="a">
428            <xsl:attribute name="href">
429              <xsl:text>http://buildd.debian.org/build.php?pkg=</xsl:text>
430              <xsl:call-template name="escape-name">
431                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
432              </xsl:call-template>
433            </xsl:attribute>
434            <xsl:text>Buildd logs</xsl:text>
435          </xsl:element>
436        </li>
437    </xsl:if>    </xsl:if>
438      <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
439        <li>
440          <xsl:element name="a">
441            <xsl:attribute name="href">
442              <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
443              <xsl:call-template name="escape-name">
444                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
445              </xsl:call-template>
446              <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
447            </xsl:attribute>
448            Description's translations (DDTP)
449          </xsl:element>
450        </li>
451    <xsl:if test="$other/@debconf='yes'">    <xsl:if test="$other/@debconf='yes'">
452      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package={$package}">Debconf templates's translations (DDTP)</a></li>      <li>
453          <xsl:element name="a">
454            <xsl:attribute name="href">
455              <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
456              <xsl:call-template name="escape-name">
457                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
458              </xsl:call-template>
459            </xsl:attribute>
460            Debconf templates's translations (DDTP)
461          </xsl:element>
462        </li>
463    </xsl:if>    </xsl:if>
464      -->
465    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
466      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>      <li>
467          <xsl:element name="a">
468            <xsl:attribute name="href">
469              <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
470              <xsl:call-template name="escape-name">
471                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
472              </xsl:call-template>
473            </xsl:attribute>
474            <xsl:text>Debcheck on unstable</xsl:text>
475          </xsl:element>
476        </li>
477    </xsl:if>    </xsl:if>
478    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
479      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>      <li>
480          <xsl:element name="a">
481            <xsl:attribute name="href">
482              <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
483              <xsl:call-template name="escape-name">
484                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
485              </xsl:call-template>
486            </xsl:attribute>
487            <xsl:text>Debcheck on testing</xsl:text>
488          </xsl:element>
489        </li>
490    </xsl:if>    </xsl:if>
491    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
492      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>      <li>
493          <xsl:element name="a">
494            <xsl:attribute name="href">
495              <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
496              <xsl:call-template name="escape-name">
497                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
498              </xsl:call-template>
499            </xsl:attribute>
500            <xsl:text>Debcheck on stable</xsl:text>
501          </xsl:element>
502        </li>
503    </xsl:if>    </xsl:if>
504      <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
505                                  <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-/()&#34; ', &quot;'&quot;)"/>
506      <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '____________________')"/>
507        <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>
508    
509    </td>    </td>
510    </tr>    </tr>
511    
# Line 361  Line 563 
563        <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>
564      </xsl:if>      </xsl:if>
565      <xsl:if test="not(starts-with(standards-version, $lastsv))">      <xsl:if test="not(starts-with(standards-version, $lastsv))">
566        <li>You should update the package to follow the last version of        <li>The package should be updated to follow the last version of
567        Debian Policy (Standards-Version        <a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
568        <xsl:value-of select="$lastsv"/> instead of        <xsl:value-of select="$lastsv"/> instead of
569        <xsl:value-of select="standards-version"/>).</li>        <xsl:value-of select="standards-version"/>).</li>
570      </xsl:if>      </xsl:if>
# Line 370  Line 572 
572        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
573          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
574        </xsl:for-each>        </xsl:for-each>
575          <!-- new upstream version goes in todo [FG] -->
576          <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
577            <li>A new upstream version was found:
578               (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
579          </xsl:if>
580      </xsl:if>      </xsl:if>
581    </xsl:variable>    </xsl:variable>
582    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
# Line 387  Line 594 
594    <xsl:variable name="problems">    <xsl:variable name="problems">
595      <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">
596        <li>The package has not yet entered <a        <li>The package has not yet entered <a
597        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>
598        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
599        delay is over.</li>        delay is over.
600          <xsl:element name="a">
601            <xsl:attribute name="href">
602              <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>
603              <xsl:call-template name="escape-name">
604                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
605              </xsl:call-template>
606            </xsl:attribute>
607            Check why
608          </xsl:element>
609          .</li>
610      </xsl:if>      </xsl:if>
611      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
612        <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 398  Line 615 
615        <xsl:value-of select="standards-version"/>...</li>        <xsl:value-of select="standards-version"/>...</li>
616      </xsl:if>      </xsl:if>
617      <xsl:if test="$hasother">      <xsl:if test="$hasother">
618    
619          <!-- Override disparity handling. [JvW] -->
620          <xsl:if test="$other/@override='yes'">
621            <xsl:for-each select="$other/override/group">
622              <li>There were override disparities found in suite <xsl:value-of
623                  select="@suite"/>:
624                <ul>
625                  <xsl:for-each select="disparity">
626                    <li><xsl:value-of select="text()"/></li>
627                  </xsl:for-each>
628                </ul>
629              </li>
630            </xsl:for-each>
631          </xsl:if>
632    
633          <!-- Wnpp handling. [PvR] -->
634          <xsl:if test="$other/@wnpp='yes'">
635          <li>
636            <xsl:choose>
637              <xsl:when test="$other/wnpp/@type='O'">
638              <span style="font-weight: bold">This package has been orphaned</span>.
639              This means that it does not have a real maintainer at the
640              moment. Please consider adopting this package if you are interested in it.
641              </xsl:when>
642              <xsl:when test="$other/wnpp/@type='ITA'">
643              This package has been orphaned, but someone intends to maintain it.
644              </xsl:when>
645              <xsl:when test="$other/wnpp/@type='RFA'">
646              The current maintainer is looking for someone who can take over
647              maintenance of this package. If you are interested in this package,
648              please consider taking it over. Alternatively you may
649              want to be co-maintainer in order to help the actual maintainer.
650              </xsl:when>
651              <xsl:when test="$other/wnpp/@type='RFH'">
652              The current maintainer is looking for someone who can help with the
653              maintenance of this package. If you are interested in this package,
654              please consider helping out. One way you can help is offer to be a
655              co-maintainer or triage bugs in the bts.
656              </xsl:when>
657              <xsl:when test="$other/wnpp/@type='ITP'">
658              The WNPP database contains an ITP (Intent To Package) entry for
659              this package. This is probably an error, as it has already been
660              packaged.
661              </xsl:when>
662              <xsl:when test="$other/wnpp/@type='RFP'">
663              The WNPP database contains an RFP (Request For Package) entry
664              for this package.  This is probably an error, as it has already
665              been packaged.
666              </xsl:when>
667              <xsl:when test="$other/wnpp/@type='RM'">
668              <span style="font-weight: bold">This package has been requested to be
669              removed</span>.
670              This means that, when this request gets processed by an ftp-master, this
671              package will no longer be in unstable, and will automatically be removed
672              from testing too afterwards. If for some reason you want keep this
673              package in unstable, please discuss so in the bug.
674              </xsl:when>
675              <xsl:otherwise>
676              The WNPP database contains an entry for this package,
677              but it is unclear what kind of entry it is. This is probably an error.
678              </xsl:otherwise>
679            </xsl:choose>
680            <xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
681            Please see bug number <a href="http://bugs.debian.org/{$bn}">
682            #<xsl:value-of select="$bn"/></a> for more information.
683          </li>
684          </xsl:if>
685    
686        <!-- uscan output if present [FG] -->
687        <xsl:if test="$other/@watch='yes'">
688          <li>
689          <xsl:if test="$other/watch/@warning!=''">
690            uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
691          </xsl:if>
692          </li>
693        </xsl:if>
694    
695          <!-- Misc problems reported -->
696        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
697          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
698        </xsl:for-each>        </xsl:for-each>
# Line 427  Line 722 
722    </td>    </td>
723    </tr>    </tr>
724    </xsl:if>    </xsl:if>
725    
726    
727    <xsl:variable name="static">    <xsl:variable name="static">
728      <xsl:if test="$hasnews">      <xsl:if test="$hasnews">
# Line 467  Line 762 
762    <!-- END RIGHT SIDE -->    <!-- END RIGHT SIDE -->
763    </td></tr>    </td></tr>
764    </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.  
765    <hr/>    <hr/>
766    Debian Package Tracking System - Copyright 2002 Raphaël Hertzog<br/>    Debian Package Tracking System - Copyright 2002-2004 Raphaël Hertzog<br/>
767    Last modified : <xsl:value-of select="$date"/>    Last modified : <xsl:value-of select="$date"/>
768    </body>    </body>
769    </html>    </html>

Legend:
Removed from v.529  
changed lines
  Added in v.1024

  ViewVC Help
Powered by ViewVC 1.1.5