/[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 579 by hertzog, Sat May 24 18:27:18 2003 UTC revision 1049 by hertzog, Fri Jul 22 08:40:10 2005 UTC
# Line 8  Line 8 
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.10'"/>  <xsl:variable name="lastsv" select="'3.6.2'"/>
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 78  Line 77 
77    </xsl:if>    </xsl:if>
78  </xsl:template>  </xsl:template>
79    
80    <!-- Strip epoch -->
81    <xsl:template name="strip-epoch">
82      <xsl:param name="version"/>
83      <xsl:if test="contains($version,':')">
84        <xsl:value-of select="substring-after($version,':')"/>
85      </xsl:if>
86      <xsl:if test="not(contains($version,':'))">
87        <xsl:value-of select="$version"/>
88      </xsl:if>
89    </xsl:template>
90    
91    
92  <!-- All the work is done in a single template -->  <!-- All the work is done in a single template -->
93  <xsl:template match="source">  <xsl:template match="source">
# Line 93  Line 103 
103    <body>    <body>
104    
105    <form method="get" action="/common/index.html" style="float: right;">    <form method="get" action="/common/index.html" style="float: right;">
106    Jump to package : <br/>    <!-- this link should make lynx/links happy [FG] -->
107      Jump to package (<a href="/">home page</a>): <br/>
108    <input type="text" name="src" value=""/>    <input type="text" name="src" value=""/>
109    </form>    </form>
110    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>    <h1>Overview of <xsl:value-of select="$package"/> source package</h1>
# Line 119  Line 130 
130    </xsl:if>    </xsl:if>
131    <tr class="normalrow">    <tr class="normalrow">
132    <td class="labelcell">Maintainer</td>    <td class="labelcell">Maintainer</td>
133    <td class="contentcell"><a class="email" href="http://qa.debian.org/developer.php?login={maintainer/email}">    <td class="contentcell">
134    <xsl:value-of select="maintainer/name"/></a> [<a class="email" href="mailto:{maintainer/email}">mail</a>]</td>    <xsl:element name="a">
135        <xsl:attribute name="href">
136          <xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
137          <xsl:call-template name="escape-name">
138            <xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
139          </xsl:call-template>
140        </xsl:attribute>
141        <xsl:value-of select="maintainer/name"/>
142      </xsl:element>
143      [<a class="email" href="mailto:{maintainer/email}">mail</a>]
144      </td>
145    </tr>    </tr>
146    <tr class="normalrow">    <tr class="normalrow">
147    <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 138  Line 159 
159    <td class="labelcell">Standards-Version</td>    <td class="labelcell">Standards-Version</td>
160    <td class="contentcell"><xsl:value-of select="standards-version"/></td>    <td class="contentcell"><xsl:value-of select="standards-version"/></td>
161    </tr>    </tr>
162      <tr class="normalrow">
163      <td class="labelcell">Priority &amp; Section</td>
164      <td class="contentcell"><xsl:value-of select="priority"/> - <xsl:value-of select="section"/></td>
165      </tr>
166    <xsl:if test="architecture!='any' and architecture!='all'">    <xsl:if test="architecture!='any' and architecture!='all'">
167    <tr class="normalrow">    <tr class="normalrow">
168    <td class="labelcell">Architecture</td>    <td class="labelcell">Architecture</td>
# Line 152  Line 177 
177    <tr class="normalrow">    <tr class="normalrow">
178    <td class="labelcell">All bugs</td>    <td class="labelcell">All bugs</td>
179    <td class="contentcell">    <td class="contentcell">
180    <a href="http://bugs.debian.org/src:{$package}"><xsl:if test="$hasother">    <xsl:element name="a">
181      <xsl:value-of select="$other/bugs/@all"/>      <xsl:attribute name="href">
182    </xsl:if></a>        <xsl:text>http://bugs.debian.org/src:</xsl:text>
183          <xsl:call-template name="escape-name">
184            <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
185          </xsl:call-template>
186        </xsl:attribute>
187        <xsl:if test="$hasother">
188          <xsl:value-of select="$other/bugs/@all"/>
189        </xsl:if>
190      </xsl:element>
191    </td>    </td>
192    </tr>    </tr>
193    <tr class="normalrow">    <tr class="normalrow">
# Line 319  Line 352 
352    
353    <tr class="titlerow">    <tr class="titlerow">
354    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
355    Other available versions    Available versions
356    </td></tr>    </td></tr>
357    <xsl:if test="$hasexperimental">  
358      <!-- oldstable -->
359      <xsl:if test="$hasoldstable">
360    <tr class="normalrow">    <tr class="normalrow">
361    <td class="labelcell">Experimental</td>    <td class="labelcell"><a href="http://www.debian.org/releases/woody/">Oldstable</a></td>
362    <td class="contentcell">    <td class="contentcell">
363    <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/>
364      </td>
365      </tr>
366      </xsl:if>
367      <xsl:if test="$hasoldstable-security">
368      <tr class="normalrow">
369      <td class="labelcell"><small>Oldstable Security Updates</small></td>
370      <td class="contentcell">
371      <xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
372      </td>
373      </tr>
374      </xsl:if>
375    
376      <!-- stable -->
377      <xsl:if test="$hasstable">
378      <tr class="normalrow">
379      <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
380      <td class="contentcell">
381      <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>
382    </td>    </td>
383    </tr>    </tr>
384    </xsl:if>    </xsl:if>
385    <xsl:if test="$hasstable-security">    <xsl:if test="$hasstable-security">
386    <tr class="normalrow">    <tr class="normalrow">
387    <td class="labelcell">Security Updates (stable)</td>    <td class="labelcell"><small>Stable Security Updates</small></td>
388    <td class="contentcell">    <td class="contentcell">
389    <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
390    </td>    </td>
391    </tr>    </tr>
392    </xsl:if>    </xsl:if>
393    <xsl:if test="$hastesting-security">    <xsl:if test="$hass-p-u">
394    <tr class="normalrow">    <tr class="normalrow">
395    <td class="labelcell">Security Updates (testing)</td>    <td class="labelcell"><small>Stable Proposed Updates</small></td>
396    <td class="contentcell">    <td class="contentcell">
397    <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>
398    </td>    </td>
399    </tr>    </tr>
400    </xsl:if>    </xsl:if>
401    
402      <!-- testing -->
403    <xsl:if test="$hastesting">    <xsl:if test="$hastesting">
404    <tr class="normalrow">    <tr class="normalrow">
405    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>    <td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
# Line 353  Line 408 
408    </td>    </td>
409    </tr>    </tr>
410    </xsl:if>    </xsl:if>
411      <xsl:if test="$hastesting-security">
412      <tr class="normalrow">
413      <td class="labelcell"><small>Testing Security Updates</small></td>
414      <td class="contentcell">
415      <xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
416      </td>
417      </tr>
418      </xsl:if>
419    <xsl:if test="$hast-p-u">    <xsl:if test="$hast-p-u">
420    <tr class="normalrow">    <tr class="normalrow">
421    <td class="labelcell">Testing Proposed Updates</td>    <td class="labelcell"><small>Testing Proposed Updates</small></td>
422    <td class="contentcell">    <td class="contentcell">
423    <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/t-p-u.xml'))/source/version"/>
424    </td>    </td>
425    </tr>    </tr>
426    </xsl:if>    </xsl:if>
427    <xsl:if test="$hasstable">  
428      <!-- unstable -->
429      <xsl:if test="$hasunstable">
430    <tr class="normalrow">    <tr class="normalrow">
431    <td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>    <td class="labelcell">Unstable</td>
432    <td class="contentcell">    <td class="contentcell">
433    <xsl:value-of select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/unstable.xml'))/source/version"/>
434    </td>    </td>
435    </tr>    </tr>
436    </xsl:if>    </xsl:if>
437    <xsl:if test="$hass-p-u">  
438      <!-- experimental -->
439      <xsl:if test="$hasexperimental">
440    <tr class="normalrow">    <tr class="normalrow">
441    <td class="labelcell">Stable Proposed Updates</td>    <td class="labelcell">Experimental</td>
442    <td class="contentcell">    <td class="contentcell">
443    <xsl:value-of select="document(concat('../base/', $dir, '/s-p-u.xml'))/source/version"/>    <xsl:value-of select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/>
444    </td>    </td>
445    </tr>    </tr>
446    </xsl:if>    </xsl:if>
447    
448      <!-- Patches list [FG] -->
449      <xsl:if test="$other/@patches='yes'">
450        <tr class="titlerow">
451        <td class="titlecell" colspan="2">
452        Patches
453        </td></tr>
454        <tr>
455        <td class="contentcell" colspan="2" style="text-align: left">
456        <xsl:for-each select="$other/patches/item">
457          <li>
458            <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>
459          </li>
460        </xsl:for-each>
461        <xsl:if test="$other/bugs/@patch!='0'">
462          <li>
463            <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;include=patch&amp;exclude=pending">Patches from BTS (<xsl:value-of select="$other/bugs/@patch"/>)</a>
464          </li>
465        </xsl:if>
466        </td>
467        </tr>
468      </xsl:if>
469    
470    
471    <tr class="titlerow">    <tr class="titlerow">
472    <td class="titlecell" colspan="2">    <td class="titlecell" colspan="2">
473    Other links    Other links
474    </td></tr>    </td></tr>
475    <tr>    <tr>
476    <td class="contentcell" colspan="2" style="text-align: left">    <td class="contentcell" colspan="2" style="text-align: left">
477      <li>
478        <xsl:element name="a">
479          <xsl:attribute name="href">
480            <xsl:text>http://packages.debian.org/changelogs/</xsl:text>
481            <xsl:value-of select="directory"/>
482            <xsl:text>/</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:text>_</xsl:text>
487            <xsl:call-template name="escape-name">
488              <xsl:with-param name="text">
489                <xsl:call-template name="strip-epoch">
490                  <xsl:with-param name="version">
491                    <xsl:value-of select="version"/>
492                  </xsl:with-param>
493                </xsl:call-template>
494              </xsl:with-param>
495            </xsl:call-template>
496            <xsl:text>/changelog</xsl:text>
497          </xsl:attribute>
498          <xsl:text>Changelog</xsl:text>
499        </xsl:element>
500      </li>
501    <xsl:if test="architecture!='all'">    <xsl:if test="architecture!='all'">
502      <li><a href="http://buildd.debian.org/build.php?pkg={$package}">Buildd logs</a></li>      <li>
503          <xsl:element name="a">
504            <xsl:attribute name="href">
505              <xsl:text>http://buildd.debian.org/build.php?pkg=</xsl:text>
506              <xsl:call-template name="escape-name">
507                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
508              </xsl:call-template>
509            </xsl:attribute>
510            <xsl:text>Buildd logs</xsl:text>
511          </xsl:element>
512        </li>
513    </xsl:if>    </xsl:if>
514      <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
515        <li>
516          <xsl:element name="a">
517            <xsl:attribute name="href">
518              <xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
519              <xsl:call-template name="escape-name">
520                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
521              </xsl:call-template>
522              <xsl:text>&amp;lang=all&amp;type=src-drvbin&amp;subword=0</xsl:text>
523            </xsl:attribute>
524            Description's translations (DDTP)
525          </xsl:element>
526        </li>
527    <xsl:if test="$other/@debconf='yes'">    <xsl:if test="$other/@debconf='yes'">
528      <li><a href="http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package={$package}">Debconf templates's translations (DDTP)</a></li>      <li>
529          <xsl:element name="a">
530            <xsl:attribute name="href">
531              <xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&amp;package=</xsl:text>
532              <xsl:call-template name="escape-name">
533                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
534              </xsl:call-template>
535            </xsl:attribute>
536            Debconf templates's translations (DDTP)
537          </xsl:element>
538        </li>
539    </xsl:if>    </xsl:if>
540      -->
541    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">    <xsl:if test="$hasunstable and $other/debcheck/@unstable='yes'">
542      <li><a href="http://qa.debian.org/debcheck.php?dist=unstable&amp;package={$package}">Debcheck on unstable</a></li>      <li>
543          <xsl:element name="a">
544            <xsl:attribute name="href">
545              <xsl:text>http://qa.debian.org/debcheck.php?dist=unstable&amp;package=</xsl:text>
546              <xsl:call-template name="escape-name">
547                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
548              </xsl:call-template>
549            </xsl:attribute>
550            <xsl:text>Debcheck on unstable</xsl:text>
551          </xsl:element>
552        </li>
553    </xsl:if>    </xsl:if>
554    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">    <xsl:if test="$hastesting and $other/debcheck/@testing='yes'">
555      <li><a href="http://qa.debian.org/debcheck.php?dist=testing&amp;package={$package}">Debcheck on testing</a></li>      <li>
556          <xsl:element name="a">
557            <xsl:attribute name="href">
558              <xsl:text>http://qa.debian.org/debcheck.php?dist=testing&amp;package=</xsl:text>
559              <xsl:call-template name="escape-name">
560                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
561              </xsl:call-template>
562            </xsl:attribute>
563            <xsl:text>Debcheck on testing</xsl:text>
564          </xsl:element>
565        </li>
566    </xsl:if>    </xsl:if>
567    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">    <xsl:if test="$hasstable and $other/debcheck/@stable='yes'">
568      <li><a href="http://qa.debian.org/debcheck.php?dist=stable&amp;package={$package}">Debcheck on stable</a></li>      <li>
569          <xsl:element name="a">
570            <xsl:attribute name="href">
571              <xsl:text>http://qa.debian.org/debcheck.php?dist=stable&amp;package=</xsl:text>
572              <xsl:call-template name="escape-name">
573                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
574              </xsl:call-template>
575            </xsl:attribute>
576            <xsl:text>Debcheck on stable</xsl:text>
577          </xsl:element>
578        </li>
579    </xsl:if>    </xsl:if>
580      <!-- convert maintainer/name to follow lintian.debian.org convention [FG] -->
581                                  <xsl:variable name="pattern" select="concat('àáèéëêòöøîìùñ-/()&#34; ', &quot;'&quot;)"/>
582      <xsl:variable name="_name" select="translate(maintainer/name, $pattern, '____________________')"/>
583        <li><a href="http://lintian.debian.org/reports/m{$_name}.html#{$package}">Lintian report</a></li>
584      <li>
585        <xsl:element name="a">
586          <xsl:attribute name="href">
587            <xsl:text>http://qa.debian.org/developer.php?popcon=</xsl:text>
588            <xsl:call-template name="escape-name">
589              <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
590            </xsl:call-template>
591          </xsl:attribute>
592          <xsl:text>Popcon stats</xsl:text>
593        </xsl:element>
594      </li>
595    </td>    </td>
596    </tr>    </tr>
597    
# Line 466  Line 658 
658        <xsl:for-each select="$other/todo/item">        <xsl:for-each select="$other/todo/item">
659          <xsl:call-template name="outputitem"/>          <xsl:call-template name="outputitem"/>
660        </xsl:for-each>        </xsl:for-each>
661          <!-- new upstream version goes in todo [FG] -->
662          <xsl:if test="$other/@watch='yes' and $other/watch/@new!='0'">
663            <li>A new upstream version was found:
664               (<xsl:value-of select="$other/watch/@new"/>). <a href="{$other/watch/@url}"><xsl:value-of select="$other/watch/@url"/></a></li>
665          </xsl:if>
666          <xsl:if test="$other/bugs/@patch!='0'">
667            <li>The Bug Tracking System contains <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&amp;data={$package}&amp;include=patch&amp;exclude=pending"><xsl:value-of select="$other/bugs/@patch"/> patch(es)</a>, you should include it(them).</li>
668          </xsl:if>
669      </xsl:if>      </xsl:if>
670    </xsl:variable>    </xsl:variable>
671    <xsl:if test="count($todo)>0 and string($todo)!=''">    <xsl:if test="count($todo)>0 and string($todo)!=''">
# Line 483  Line 683 
683    <xsl:variable name="problems">    <xsl:variable name="problems">
684      <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">
685        <li>The package has not yet entered <a        <li>The package has not yet entered <a
686        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>
687        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
688        delay is over.</li>        delay is over.
689          <xsl:element name="a">
690            <xsl:attribute name="href">
691              <xsl:text>http://bjorn.haxx.se/debian/testing.pl?package=</xsl:text>
692              <xsl:call-template name="escape-name">
693                <xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
694              </xsl:call-template>
695            </xsl:attribute>
696            Check why
697          </xsl:element>
698          .</li>
699      </xsl:if>      </xsl:if>
700      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">      <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
701        <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 495  Line 705 
705      </xsl:if>      </xsl:if>
706      <xsl:if test="$hasother">      <xsl:if test="$hasother">
707    
708          <!-- Override disparity handling. [JvW] -->
709          <xsl:if test="$other/@override='yes'">
710            <xsl:for-each select="$other/override/group">
711              <li>There were override disparities found in suite <xsl:value-of
712                  select="@suite"/>:
713                <ul>
714                  <xsl:for-each select="disparity">
715                    <li><xsl:value-of select="text()"/></li>
716                  </xsl:for-each>
717                </ul>
718              </li>
719            </xsl:for-each>
720          </xsl:if>
721    
722        <!-- Wnpp handling. [PvR] -->        <!-- Wnpp handling. [PvR] -->
723        <xsl:if test="$other/@wnpp='yes'">        <xsl:if test="$other/@wnpp='yes'">
724        <li>        <li>
# Line 502  Line 726 
726            <xsl:when test="$other/wnpp/@type='O'">            <xsl:when test="$other/wnpp/@type='O'">
727            <span style="font-weight: bold">This package has been orphaned</span>.            <span style="font-weight: bold">This package has been orphaned</span>.
728            This means that it does not have a real maintainer at the            This means that it does not have a real maintainer at the
729            moment. Please consider adopting this package if you have some            moment. Please consider adopting this package if you are interested in it.
           interests in it.  
730            </xsl:when>            </xsl:when>
731            <xsl:when test="$other/wnpp/@type='ITA'">            <xsl:when test="$other/wnpp/@type='ITA'">
732            This package has been orphaned, but someone is intending to            This package has been orphaned, but someone intends to maintain it.
           resume its maintenance.  
733            </xsl:when>            </xsl:when>
734            <xsl:when test="$other/wnpp/@type='RFA'">            <xsl:when test="$other/wnpp/@type='RFA'">
735            The current maintainer is looking for someone who can take over            The current maintainer is looking for someone who can take over
736            maintenance of this package. If you have some interests in this package,            maintenance of this package. If you are interested in this package,
737            please consider taking it over. Alternatively you may            please consider taking it over. Alternatively you may
738            want to be co-maintainer in order to help the actual maintainer.            want to be co-maintainer in order to help the actual maintainer.
739            </xsl:when>            </xsl:when>
740              <xsl:when test="$other/wnpp/@type='RFH'">
741              The current maintainer is looking for someone who can help with the
742              maintenance of this package. If you are interested in this package,
743              please consider helping out. One way you can help is offer to be a
744              co-maintainer or triage bugs in the bts.
745              </xsl:when>
746            <xsl:when test="$other/wnpp/@type='ITP'">            <xsl:when test="$other/wnpp/@type='ITP'">
747            The WNPP database contains an ITP (Intent To Package) entry for            The WNPP database contains an ITP (Intent To Package) entry for
748            this package. This is probably an error, as it has already been            this package. This is probably an error, as it has already been
# Line 525  Line 753 
753            for this package.  This is probably an error, as it has already            for this package.  This is probably an error, as it has already
754            been packaged.            been packaged.
755            </xsl:when>            </xsl:when>
756              <xsl:when test="$other/wnpp/@type='RM'">
757              <span style="font-weight: bold">This package has been requested to be
758              removed</span>.
759              This means that, when this request gets processed by an ftp-master, this
760              package will no longer be in unstable, and will automatically be removed
761              from testing too afterwards. If for some reason you want keep this
762              package in unstable, please discuss so in the bug.
763              </xsl:when>
764            <xsl:otherwise>            <xsl:otherwise>
765            The WNPP database contains an entry for this package,            The WNPP database contains an entry for this package,
766            but it is unclear what kind of entry it is. This is probably an error.            but it is unclear what kind of entry it is. This is probably an error.
# Line 535  Line 771 
771          #<xsl:value-of select="$bn"/></a> for more information.          #<xsl:value-of select="$bn"/></a> for more information.
772        </li>        </li>
773        </xsl:if>        </xsl:if>
774    
775        <!-- uscan output if present [FG] -->
776        <xsl:if test="$other/@watch='yes'">
777          <li>
778          <xsl:if test="$other/watch/@warning!=''">
779            uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
780          </xsl:if>
781          </li>
782        </xsl:if>
783    
784        <!-- Misc problems reported -->        <!-- Misc problems reported -->
785        <xsl:for-each select="$other/problems/item">        <xsl:for-each select="$other/problems/item">
# Line 607  Line 852 
852    </td></tr>    </td></tr>
853    </table>    </table>
854    <hr/>    <hr/>
855    Debian Package Tracking System - Copyright 2002-2003 Raphaël Hertzog<br/>    Debian Package Tracking System - Copyright 2002-2004 Raphaël Hertzog<br/>
856    Last modified : <xsl:value-of select="$date"/>    Last modified : <xsl:value-of select="$date"/>
857    </body>    </body>
858    </html>    </html>

Legend:
Removed from v.579  
changed lines
  Added in v.1049

  ViewVC Help
Powered by ViewVC 1.1.5