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

Legend:
Removed from v.530  
changed lines
  Added in v.1769

  ViewVC Help
Powered by ViewVC 1.1.5