| 1 |
<?xml version="1.0" encoding="utf-8" ?>
|
| 2 |
|
| 3 |
<!--
|
| 4 |
# Copyright 2002-2008 Raphaël Hertzog and others
|
| 5 |
# Copyright 2007-2008 Stefano Zacchiroli
|
| 6 |
# This file is distributed under the terms of the General Public License
|
| 7 |
# version 2 or (at your option) any later version.
|
| 8 |
-->
|
| 9 |
|
| 10 |
<xsl:stylesheet
|
| 11 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
| 12 |
xmlns="http://www.w3.org/1999/xhtml"
|
| 13 |
version="1.0">
|
| 14 |
|
| 15 |
<xsl:output
|
| 16 |
method="xml"
|
| 17 |
encoding="UTF-8"
|
| 18 |
omit-xml-declaration="yes"
|
| 19 |
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
|
| 20 |
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
|
| 21 |
indent="yes" />
|
| 22 |
|
| 23 |
<xsl:include href="pts-issues.xsl" />
|
| 24 |
|
| 25 |
<xsl:param name="package"/>
|
| 26 |
<xsl:param name="dir"/>
|
| 27 |
<xsl:param name="date"/>
|
| 28 |
<xsl:param name="hasoldstable" select="''"/>
|
| 29 |
<xsl:param name="hasstable" select="''"/>
|
| 30 |
<xsl:param name="hastesting" select="''"/>
|
| 31 |
<xsl:param name="hasunstable" select="''"/>
|
| 32 |
<xsl:param name="hasexperimental" select="''"/>
|
| 33 |
<xsl:param name="hasmentors" select="''"/>
|
| 34 |
<xsl:param name="hasother" select="''"/>
|
| 35 |
<xsl:param name="hasstable-proposed-updates" select="''"/>
|
| 36 |
<xsl:param name="hastesting-proposed-updates" select="''"/>
|
| 37 |
<xsl:param name="hasoldstable-security" select="''"/>
|
| 38 |
<xsl:param name="hasstable-security" select="''"/>
|
| 39 |
<xsl:param name="hastesting-security" select="''"/>
|
| 40 |
<xsl:param name="hassecure-testing" select="''"/>
|
| 41 |
<xsl:param name="hasvolatile" select="''"/>
|
| 42 |
<xsl:param name="hasnews" select="''"/>
|
| 43 |
<xsl:param name="hasexcuse" select="''"/>
|
| 44 |
|
| 45 |
<xsl:variable name="other"
|
| 46 |
select="document(concat('../base/', $dir, '/other.xml'))/other"/>
|
| 47 |
<xsl:variable name="low-nmu-emails"
|
| 48 |
select="document('../base/low_threshold_nmu.emails.xml')/emails"/>
|
| 49 |
|
| 50 |
<!-- Those variables controls the todo and problem item concerning
|
| 51 |
standards-version not being up to date -->
|
| 52 |
<xsl:variable name="lastsv" select="'3.8.0'"/>
|
| 53 |
<xsl:variable name="lastmajorsv" select="'3.'"/>
|
| 54 |
|
| 55 |
<!-- lintian summary -->
|
| 56 |
<xsl:variable name="lin_errs" select="$other/lintian/@errors" />
|
| 57 |
<xsl:variable name="lin_warns" select="$other/lintian/@warnings" />
|
| 58 |
|
| 59 |
<!-- Named templates aka functions -->
|
| 60 |
|
| 61 |
<xsl:template name="mk_lintian_url">
|
| 62 |
<!-- convert maintainer/name to follow lintian.debian.org convention -->
|
| 63 |
<xsl:variable name="lintian_pattern" select="concat('àáèéëêòöøîìùñ~/()" ', "'")"/>
|
| 64 |
<xsl:variable name="lintian_email" select="translate(maintainer/email, $lintian_pattern, '_____________________')"/>
|
| 65 |
|
| 66 |
<xsl:text>http://lintian.debian.org/reports/maintainer/</xsl:text>
|
| 67 |
<xsl:value-of select="$lintian_email" />
|
| 68 |
<xsl:text>.html#</xsl:text>
|
| 69 |
<xsl:value-of select="$package" />
|
| 70 |
</xsl:template>
|
| 71 |
|
| 72 |
<xsl:template name="mirror">
|
| 73 |
<xsl:text>http://ftp.debian.org/debian</xsl:text>
|
| 74 |
</xsl:template>
|
| 75 |
|
| 76 |
<xsl:template name="outputitem">
|
| 77 |
<xsl:choose>
|
| 78 |
<xsl:when test="@url">
|
| 79 |
<li><xsl:if test="@date">
|
| 80 |
<xsl:text>[</xsl:text>
|
| 81 |
<xsl:value-of select="@date"/>
|
| 82 |
<xsl:text>] </xsl:text>
|
| 83 |
</xsl:if><a href="{@url}">
|
| 84 |
<xsl:value-of select="text()"/></a><xsl:if test="@from">
|
| 85 |
<xsl:text> (</xsl:text>
|
| 86 |
<xsl:value-of select="@from"/>
|
| 87 |
<xsl:text>)</xsl:text></xsl:if></li>
|
| 88 |
</xsl:when>
|
| 89 |
<xsl:otherwise>
|
| 90 |
<li><xsl:if test="@date">
|
| 91 |
<xsl:text>[</xsl:text>
|
| 92 |
<xsl:value-of select="@date"/>
|
| 93 |
<xsl:text>] </xsl:text>
|
| 94 |
</xsl:if><xsl:value-of select="text()"/></li>
|
| 95 |
</xsl:otherwise>
|
| 96 |
</xsl:choose>
|
| 97 |
</xsl:template>
|
| 98 |
|
| 99 |
<!-- Convert + in %2b for URL escaping. Should actually first also do
|
| 100 |
other-to-%xx, especially % to %25... Fortunately, that's rare -->
|
| 101 |
<xsl:template name="escape-name">
|
| 102 |
<xsl:param name="text"/>
|
| 103 |
<xsl:if test="contains($text,'+')">
|
| 104 |
<xsl:value-of select="substring-before($text,'+')"/>
|
| 105 |
<xsl:text>%2b</xsl:text>
|
| 106 |
<xsl:call-template name="escape-name">
|
| 107 |
<xsl:with-param name="text"><xsl:value-of select="substring-after($text,'+')"/></xsl:with-param>
|
| 108 |
</xsl:call-template>
|
| 109 |
</xsl:if>
|
| 110 |
<xsl:if test="not(contains($text,'+'))">
|
| 111 |
<xsl:value-of select="$text"/>
|
| 112 |
</xsl:if>
|
| 113 |
</xsl:template>
|
| 114 |
|
| 115 |
<xsl:variable name="escaped-package">
|
| 116 |
<xsl:call-template name="escape-name">
|
| 117 |
<xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
|
| 118 |
</xsl:call-template>
|
| 119 |
</xsl:variable>
|
| 120 |
|
| 121 |
<!-- Strip epoch -->
|
| 122 |
<xsl:template name="strip-epoch">
|
| 123 |
<xsl:param name="version"/>
|
| 124 |
<xsl:if test="contains($version,':')">
|
| 125 |
<xsl:value-of select="substring-after($version,':')"/>
|
| 126 |
</xsl:if>
|
| 127 |
<xsl:if test="not(contains($version,':'))">
|
| 128 |
<xsl:value-of select="$version"/>
|
| 129 |
</xsl:if>
|
| 130 |
</xsl:template>
|
| 131 |
|
| 132 |
<xsl:template name="add-vcs-info">
|
| 133 |
<xsl:if test="repository">
|
| 134 |
<tr>
|
| 135 |
<td class="labelcell">
|
| 136 |
<acronym title="Version Control System">VCS</acronym>
|
| 137 |
</td>
|
| 138 |
<td class="contentcell">
|
| 139 |
<xsl:if test="repository/vcs[@kind!='browser']">
|
| 140 |
<xsl:for-each select="repository/vcs[@kind!='browser']">
|
| 141 |
<xsl:sort select="@kind" />
|
| 142 |
<a title="access to the raw repository" href="{@url}">
|
| 143 |
<xsl:value-of select="@kind" />
|
| 144 |
</a>
|
| 145 |
<xsl:if test="position()!=last()">
|
| 146 |
<xsl:text>, </xsl:text>
|
| 147 |
</xsl:if>
|
| 148 |
</xsl:for-each>
|
| 149 |
</xsl:if>
|
| 150 |
<xsl:if test="repository/vcs[@kind='browser']">
|
| 151 |
<xsl:text> (</xsl:text>
|
| 152 |
<a title="web-based repository browsing"
|
| 153 |
href="{repository/vcs[@kind='browser']/@url}">browse</a>
|
| 154 |
<xsl:text>)</xsl:text>
|
| 155 |
</xsl:if>
|
| 156 |
</td>
|
| 157 |
</tr>
|
| 158 |
</xsl:if>
|
| 159 |
</xsl:template>
|
| 160 |
|
| 161 |
<xsl:template name="add-maintenance-info">
|
| 162 |
<xsl:param name="email" />
|
| 163 |
<xsl:variable name="dm">
|
| 164 |
<xsl:if test="dm-upload-allowed and string(dm-upload-allowed)='yes'">
|
| 165 |
<xsl:text>true</xsl:text>
|
| 166 |
</xsl:if>
|
| 167 |
</xsl:variable>
|
| 168 |
<xsl:variable name="lownmu">
|
| 169 |
<xsl:if test="$low-nmu-emails/email[text()=$email]">
|
| 170 |
<xsl:text>true</xsl:text>
|
| 171 |
</xsl:if>
|
| 172 |
</xsl:variable>
|
| 173 |
|
| 174 |
<xsl:if test="string($dm)!='' or string($lownmu)!=''">
|
| 175 |
<tr>
|
| 176 |
<td class="labelcell">
|
| 177 |
<xsl:text>Maintenance</xsl:text>
|
| 178 |
</td>
|
| 179 |
<td class="contentcell">
|
| 180 |
|
| 181 |
<xsl:if test="string($dm)!=''">
|
| 182 |
<span class="dm-tag">
|
| 183 |
<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>
|
| 184 |
</span>
|
| 185 |
<xsl:text> </xsl:text>
|
| 186 |
</xsl:if>
|
| 187 |
|
| 188 |
<xsl:if test="string($lownmu)!=''">
|
| 189 |
<span class="lownmu-tag">
|
| 190 |
<a href="http://wiki.debian.org/LowThresholdNmu"><acronym
|
| 191 |
title="maintainer agrees with Low Threshold NMU, see wiki page for details">LowNMU</acronym></a>
|
| 192 |
</span>
|
| 193 |
<xsl:text> </xsl:text>
|
| 194 |
</xsl:if>
|
| 195 |
</td>
|
| 196 |
</tr>
|
| 197 |
</xsl:if>
|
| 198 |
</xsl:template>
|
| 199 |
|
| 200 |
<xsl:template name="output-news">
|
| 201 |
<xsl:param name="news" />
|
| 202 |
|
| 203 |
<xsl:if test="count($news)>0 and string($news)!=''">
|
| 204 |
<tr class="titlerow">
|
| 205 |
<td class="titlecell">
|
| 206 |
Latest news <a class="feedlink" href="{$package}/news.rss20.xml">RSS</a>
|
| 207 |
</td></tr>
|
| 208 |
<tr class="normalrow">
|
| 209 |
<td class="contentcell2">
|
| 210 |
<ul id="news-list"><xsl:copy-of select="$news"/></ul>
|
| 211 |
</td>
|
| 212 |
</tr>
|
| 213 |
</xsl:if>
|
| 214 |
</xsl:template>
|
| 215 |
|
| 216 |
<xsl:template name="output-static">
|
| 217 |
<xsl:param name="static" />
|
| 218 |
|
| 219 |
<xsl:if test="count($static)>0 and string($static)!=''">
|
| 220 |
<tr class="titlerow">
|
| 221 |
<td class="titlecell">
|
| 222 |
Static Information
|
| 223 |
</td></tr>
|
| 224 |
<tr class="normalrow">
|
| 225 |
<td class="contentcell2">
|
| 226 |
<ul><xsl:copy-of select="$static"/></ul>
|
| 227 |
</td>
|
| 228 |
</tr>
|
| 229 |
</xsl:if>
|
| 230 |
</xsl:template>
|
| 231 |
|
| 232 |
<xsl:template name="categorize-srcfile">
|
| 233 |
<!-- used to recognize (and tag afterwards) well-known type of source package
|
| 234 |
components: dsc, diff, orig -->
|
| 235 |
<xsl:choose>
|
| 236 |
<xsl:when test="substring(filename,string-length(filename)-2, 3)='dsc'">
|
| 237 |
<xsl:text>dsc</xsl:text>
|
| 238 |
</xsl:when>
|
| 239 |
<xsl:when test="substring(filename,string-length(filename)-6, 7)='diff.gz'">
|
| 240 |
<xsl:text>diff</xsl:text>
|
| 241 |
</xsl:when>
|
| 242 |
<xsl:when test="substring(filename,string-length(filename)-5, 3)='tar'">
|
| 243 |
<xsl:text>orig</xsl:text>
|
| 244 |
</xsl:when>
|
| 245 |
<xsl:otherwise><xsl:text></xsl:text></xsl:otherwise>
|
| 246 |
</xsl:choose>
|
| 247 |
</xsl:template>
|
| 248 |
|
| 249 |
<xsl:template name="maintainer-email">
|
| 250 |
<xsl:param name="email" />
|
| 251 |
<a class="email" href="mailto:{$email}">
|
| 252 |
<img alt="[email]" src="../common/email.png" title="email" />
|
| 253 |
</a>
|
| 254 |
</xsl:template>
|
| 255 |
|
| 256 |
<xsl:template name="general-information">
|
| 257 |
<tr class="titlerow">
|
| 258 |
<td class="titlecell" colspan="2">General information</td>
|
| 259 |
</tr>
|
| 260 |
<tr class="normalrow">
|
| 261 |
<td class="labelcell">Latest version</td>
|
| 262 |
<td class="contentcell"><xsl:value-of select="version"/></td>
|
| 263 |
</tr>
|
| 264 |
<xsl:if test="@release!='unstable'">
|
| 265 |
<tr class="normalrow">
|
| 266 |
<td class="labelcell">Distribution</td>
|
| 267 |
<td class="contentcell"><xsl:value-of select="@release"/></td>
|
| 268 |
</tr>
|
| 269 |
</xsl:if>
|
| 270 |
<tr class="normalrow">
|
| 271 |
<td class="labelcell">Maintainer</td>
|
| 272 |
<td class="contentcell">
|
| 273 |
<xsl:element name="a">
|
| 274 |
<xsl:attribute name="href">
|
| 275 |
<xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
|
| 276 |
<xsl:call-template name="escape-name">
|
| 277 |
<xsl:with-param name="text"><xsl:value-of select="maintainer/email"/></xsl:with-param>
|
| 278 |
</xsl:call-template>
|
| 279 |
</xsl:attribute>
|
| 280 |
<xsl:value-of select="maintainer/name"/>
|
| 281 |
</xsl:element>
|
| 282 |
<xsl:text> </xsl:text>
|
| 283 |
<xsl:call-template name="maintainer-email">
|
| 284 |
<xsl:with-param name="email" select="maintainer/email" />
|
| 285 |
</xsl:call-template>
|
| 286 |
</td>
|
| 287 |
</tr>
|
| 288 |
<xsl:if test="uploaders">
|
| 289 |
<tr class="normalrow">
|
| 290 |
<td class="labelcell"><a href="http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s-collaborative-maint">Uploaders</a></td>
|
| 291 |
<td class="contentcell">
|
| 292 |
<xsl:for-each select="uploaders/item">
|
| 293 |
<xsl:element name="a">
|
| 294 |
<xsl:attribute name="href">
|
| 295 |
<xsl:text>http://qa.debian.org/developer.php?login=</xsl:text>
|
| 296 |
<xsl:call-template name="escape-name">
|
| 297 |
<xsl:with-param name="text"><xsl:value-of select="email"/></xsl:with-param>
|
| 298 |
</xsl:call-template>
|
| 299 |
</xsl:attribute>
|
| 300 |
<xsl:value-of select="name"/>
|
| 301 |
</xsl:element>
|
| 302 |
<xsl:text> </xsl:text>
|
| 303 |
<xsl:call-template name="maintainer-email">
|
| 304 |
<xsl:with-param name="email" select="email" />
|
| 305 |
</xsl:call-template>
|
| 306 |
<br />
|
| 307 |
</xsl:for-each>
|
| 308 |
</td></tr>
|
| 309 |
</xsl:if>
|
| 310 |
<xsl:call-template name='add-maintenance-info'>
|
| 311 |
<xsl:with-param name="email" select="maintainer/email" />
|
| 312 |
</xsl:call-template>
|
| 313 |
<tr class="normalrow">
|
| 314 |
<xsl:variable name='stdver' select="standards-version" />
|
| 315 |
<td class="labelcell">Conforms to</td>
|
| 316 |
<td class="contentcell">
|
| 317 |
<a title="Debian Policy Manual (version: {$stdver})"
|
| 318 |
href="http://www.debian.org/doc/debian-policy/">
|
| 319 |
<xsl:value-of select="$stdver"/>
|
| 320 |
</a>
|
| 321 |
</td>
|
| 322 |
</tr>
|
| 323 |
<tr class="normalrow">
|
| 324 |
<td class="labelcell">Priority</td>
|
| 325 |
<td class="contentcell"> <xsl:value-of select="priority"/> </td>
|
| 326 |
</tr>
|
| 327 |
<tr class="normalrow">
|
| 328 |
<td class="labelcell">Section</td>
|
| 329 |
<td class="contentcell"> <xsl:value-of select="section"/> </td>
|
| 330 |
</tr>
|
| 331 |
<xsl:call-template name='add-vcs-info' />
|
| 332 |
<xsl:if test="architecture!='any' and architecture!='all'">
|
| 333 |
<tr class="normalrow">
|
| 334 |
<td class="labelcell">Architecture</td>
|
| 335 |
<td class="contentcell"><xsl:value-of select="architecture"/></td>
|
| 336 |
</tr>
|
| 337 |
</xsl:if>
|
| 338 |
</xsl:template>
|
| 339 |
|
| 340 |
<xsl:template name="bugs-count">
|
| 341 |
<tr class="titlerow">
|
| 342 |
<td class="titlecell" colspan="2">Bugs count</td>
|
| 343 |
</tr>
|
| 344 |
<tr class="normalrow" id="bugs_all">
|
| 345 |
<td class="labelcell">All bugs
|
| 346 |
(<xsl:element name="a">
|
| 347 |
<xsl:attribute name="href">
|
| 348 |
<xsl:text>http://people.debian.org/~glandium/bts/</xsl:text>
|
| 349 |
<xsl:value-of select="substring($package, 1, 1)"/>
|
| 350 |
<xsl:text>/</xsl:text>
|
| 351 |
<xsl:value-of select="$escaped-package" />
|
| 352 |
<xsl:text>.png</xsl:text>
|
| 353 |
</xsl:attribute>
|
| 354 |
<xsl:text>graph</xsl:text>
|
| 355 |
</xsl:element>
|
| 356 |
<xsl:text>)</xsl:text>
|
| 357 |
</td>
|
| 358 |
<td class="contentcell">
|
| 359 |
<xsl:element name="a">
|
| 360 |
<xsl:attribute name="href">
|
| 361 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=</xsl:text>
|
| 362 |
<xsl:value-of select="$escaped-package" />
|
| 363 |
</xsl:attribute>
|
| 364 |
<xsl:if test="$hasother">
|
| 365 |
<xsl:value-of select="$other/bugs/@all"/>
|
| 366 |
</xsl:if>
|
| 367 |
</xsl:element>
|
| 368 |
<xsl:if test="$hasother and $other/bugs/@all_m">
|
| 369 |
(<xsl:element name="a">
|
| 370 |
<xsl:attribute name="href">
|
| 371 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=yes&src=</xsl:text>
|
| 372 |
<xsl:value-of select="$escaped-package" />
|
| 373 |
</xsl:attribute>
|
| 374 |
<xsl:value-of select="$other/bugs/@all_m"/>
|
| 375 |
</xsl:element>)
|
| 376 |
</xsl:if>
|
| 377 |
</td>
|
| 378 |
</tr>
|
| 379 |
<tr class="normalrow" id="bugs_rc">
|
| 380 |
<td class="labelcell"><span class="indented"><acronym title="Release Critical">RC</acronym> bugs</span></td>
|
| 381 |
<td class="contentcell">
|
| 382 |
<xsl:element name="a">
|
| 383 |
<xsl:attribute name="href">
|
| 384 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 385 |
<xsl:value-of select="$escaped-package" />
|
| 386 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=critical&sev-inc=grave&sev-inc=serious&repeatmerged=no</xsl:text>
|
| 387 |
</xsl:attribute>
|
| 388 |
<xsl:if test="$hasother">
|
| 389 |
<xsl:value-of select="$other/bugs/@rc"/>
|
| 390 |
</xsl:if>
|
| 391 |
</xsl:element>
|
| 392 |
<xsl:if test="$hasother and $other/bugs/@rc_m">
|
| 393 |
(<xsl:element name="a">
|
| 394 |
<xsl:attribute name="href">
|
| 395 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 396 |
<xsl:value-of select="$escaped-package" />
|
| 397 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=critical&sev-inc=grave&sev-inc=serious&repeatmerged=yes</xsl:text>
|
| 398 |
</xsl:attribute>
|
| 399 |
<xsl:value-of select="$other/bugs/@rc_m"/>
|
| 400 |
</xsl:element>)
|
| 401 |
</xsl:if>
|
| 402 |
</td>
|
| 403 |
</tr>
|
| 404 |
<tr class="normalrow" id="bugs_in">
|
| 405 |
<td class="labelcell"><span class="indented"><acronym title="Important and Normal">I&N</acronym> bugs</span></td>
|
| 406 |
<td class="contentcell">
|
| 407 |
<xsl:element name="a">
|
| 408 |
<xsl:attribute name="href">
|
| 409 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 410 |
<xsl:value-of select="$escaped-package" />
|
| 411 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=important&sev-inc=normal&repeatmerged=no</xsl:text>
|
| 412 |
</xsl:attribute>
|
| 413 |
<xsl:if test="$hasother">
|
| 414 |
<xsl:value-of select="$other/bugs/@normal"/>
|
| 415 |
</xsl:if>
|
| 416 |
</xsl:element>
|
| 417 |
<xsl:if test="$hasother and $other/bugs/@normal_m">
|
| 418 |
(<xsl:element name="a">
|
| 419 |
<xsl:attribute name="href">
|
| 420 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 421 |
<xsl:value-of select="$escaped-package" />
|
| 422 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=important&sev-inc=normal&repeatmerged=yes</xsl:text>
|
| 423 |
</xsl:attribute>
|
| 424 |
<xsl:value-of select="$other/bugs/@normal_m"/>
|
| 425 |
</xsl:element>)
|
| 426 |
</xsl:if>
|
| 427 |
</td>
|
| 428 |
</tr>
|
| 429 |
<tr class="normalrow" id="bugs_mw">
|
| 430 |
<td class="labelcell"><span class="indented"><acronym title="Minor and Wishlist">M&W</acronym> bugs</span></td>
|
| 431 |
<td class="contentcell">
|
| 432 |
<xsl:element name="a">
|
| 433 |
<xsl:attribute name="href">
|
| 434 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 435 |
<xsl:value-of select="$escaped-package" />
|
| 436 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=minor&sev-inc=wishlist&repeatmerged=no</xsl:text>
|
| 437 |
</xsl:attribute>
|
| 438 |
<xsl:if test="$hasother">
|
| 439 |
<xsl:value-of select="$other/bugs/@wishlist"/>
|
| 440 |
</xsl:if>
|
| 441 |
</xsl:element>
|
| 442 |
<xsl:if test="$hasother and $other/bugs/@wishlist_m">
|
| 443 |
(<xsl:element name="a">
|
| 444 |
<xsl:attribute name="href">
|
| 445 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 446 |
<xsl:value-of select="$escaped-package" />
|
| 447 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=minor&sev-inc=wishlist&repeatmerged=yes</xsl:text>
|
| 448 |
</xsl:attribute>
|
| 449 |
<xsl:value-of select="$other/bugs/@wishlist_m"/>
|
| 450 |
</xsl:element>)
|
| 451 |
</xsl:if>
|
| 452 |
</td>
|
| 453 |
</tr>
|
| 454 |
<tr class="normalrow" id="bugs_fp">
|
| 455 |
<td class="labelcell"><span class="indented"><acronym title="Fixed and Pending">F&P</acronym> bugs</span></td>
|
| 456 |
<td class="contentcell">
|
| 457 |
<xsl:element name="a">
|
| 458 |
<xsl:attribute name="href">
|
| 459 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 460 |
<xsl:value-of select="$escaped-package" />
|
| 461 |
<xsl:text>&archive=no&pend-inc=pending-fixed&pend-inc=fixed&repeatmerged=no</xsl:text>
|
| 462 |
</xsl:attribute>
|
| 463 |
<xsl:if test="$hasother">
|
| 464 |
<xsl:value-of select="$other/bugs/@fixed"/>
|
| 465 |
</xsl:if>
|
| 466 |
</xsl:element>
|
| 467 |
<xsl:if test="$hasother and $other/bugs/@fixed_m">
|
| 468 |
(<xsl:element name="a">
|
| 469 |
<xsl:attribute name="href">
|
| 470 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 471 |
<xsl:value-of select="$escaped-package" />
|
| 472 |
<xsl:text>&archive=no&pend-inc=pending-fixed&pend-inc=fixed&repeatmerged=yes</xsl:text>
|
| 473 |
</xsl:attribute>
|
| 474 |
<xsl:value-of select="$other/bugs/@fixed_m"/>
|
| 475 |
</xsl:element>)
|
| 476 |
</xsl:if>
|
| 477 |
</td>
|
| 478 |
</tr>
|
| 479 |
<xsl:if test="$other/bugs/@gift > 0">
|
| 480 |
<tr class="normalrow" id="bugs_gift">
|
| 481 |
<td class="labelcell"><span class="indented"><a
|
| 482 |
href="http://wiki.debian.org/qa.debian.org/GiftTag">Gift</a>
|
| 483 |
bugs</span></td>
|
| 484 |
<td class="contentcell">
|
| 485 |
<xsl:element name="a">
|
| 486 |
<xsl:attribute name="href">
|
| 487 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=</xsl:text>
|
| 488 |
<xsl:value-of select="$escaped-package" />
|
| 489 |
<xsl:text>&users=debian-qa@lists.debian.org;tag=gift</xsl:text>
|
| 490 |
</xsl:attribute>
|
| 491 |
<xsl:value-of select="$other/bugs/@gift" />
|
| 492 |
</xsl:element>
|
| 493 |
</td>
|
| 494 |
</tr>
|
| 495 |
</xsl:if>
|
| 496 |
</xsl:template>
|
| 497 |
|
| 498 |
<xsl:template name="pts-subscription">
|
| 499 |
<tr class="titlerow">
|
| 500 |
<td class="titlecell" colspan="2">
|
| 501 |
<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
|
| 502 |
</td></tr>
|
| 503 |
<tr class="normalrow">
|
| 504 |
<td class="labelcell">Subscribers count</td>
|
| 505 |
<td class="contentcell"><xsl:if test="$hasother">
|
| 506 |
<xsl:value-of select="$other/pts/@count"/>
|
| 507 |
</xsl:if></td>
|
| 508 |
</tr>
|
| 509 |
<tr class="normalrow">
|
| 510 |
<td class="contentcell" colspan="2">
|
| 511 |
<form method="post" action="/cgi-bin/pts.cgi">
|
| 512 |
<p>
|
| 513 |
<input type="hidden" name="package" value="{$package}"/>
|
| 514 |
<select name="what">
|
| 515 |
<option value="subscribe">Subscribe</option>
|
| 516 |
<option value="unsubscribe">Unsubscribe</option>
|
| 517 |
<option value="advanced">Advanced mode</option>
|
| 518 |
</select>
|
| 519 |
<input type="text" name="email" size="15" value="your email"
|
| 520 |
onfocus="if(email.value=='your email'){{email.value=''}}"/>
|
| 521 |
<input type="submit" name="submit" value="Send"/>
|
| 522 |
</p>
|
| 523 |
</form>
|
| 524 |
</td>
|
| 525 |
</tr>
|
| 526 |
</xsl:template>
|
| 527 |
|
| 528 |
<xsl:template name="binary-packages">
|
| 529 |
<tr class="titlerow">
|
| 530 |
<td class="titlecell" colspan="2">Binary packages</td>
|
| 531 |
</tr>
|
| 532 |
<tr class="normalrow">
|
| 533 |
<td class="normalcell" colspan="2" style="text-align: left">
|
| 534 |
<ul>
|
| 535 |
<xsl:for-each select="binary/item">
|
| 536 |
<xsl:sort select="text()"/>
|
| 537 |
<xsl:variable name="pkg" select="text()"/>
|
| 538 |
<xsl:variable name="tooltip"
|
| 539 |
select="concat($pkg, ': ',
|
| 540 |
$other/descriptions/shortdesc[@package=$pkg])" />
|
| 541 |
<li class="binpkg">
|
| 542 |
<a class="binpkg" title="{$tooltip}"
|
| 543 |
href="http://packages.debian.org/{text()}"><xsl:value-of select="text()"/></a>
|
| 544 |
<span style="font-size: 70%">
|
| 545 |
(<a href="http://bugs.debian.org/{text()}"><xsl:value-of select="$other/bugs/item[@name=$pkg]/@all"/> bugs</a>:
|
| 546 |
|
| 547 |
<xsl:element name="a">
|
| 548 |
<xsl:attribute name="title">critical, grave and serious</xsl:attribute>
|
| 549 |
<xsl:attribute name="href">
|
| 550 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=</xsl:text>
|
| 551 |
<xsl:call-template name="escape-name">
|
| 552 |
<xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
|
| 553 |
</xsl:call-template>
|
| 554 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=critical&sev-inc=grave&sev-inc=serious</xsl:text>
|
| 555 |
</xsl:attribute>
|
| 556 |
<xsl:value-of select="$other/bugs/item[@name=$pkg]/@rc"/>
|
| 557 |
</xsl:element>,
|
| 558 |
|
| 559 |
<xsl:element name="a">
|
| 560 |
<xsl:attribute name="title">important and normal</xsl:attribute>
|
| 561 |
<xsl:attribute name="href">
|
| 562 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=</xsl:text>
|
| 563 |
<xsl:call-template name="escape-name">
|
| 564 |
<xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
|
| 565 |
</xsl:call-template>
|
| 566 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=important&sev-inc=normal</xsl:text>
|
| 567 |
</xsl:attribute>
|
| 568 |
<xsl:value-of select="$other/bugs/item[@name=$pkg]/@normal"/>
|
| 569 |
</xsl:element>,
|
| 570 |
|
| 571 |
<xsl:element name="a">
|
| 572 |
<xsl:attribute name="title">wishlist and minor</xsl:attribute>
|
| 573 |
<xsl:attribute name="href">
|
| 574 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=</xsl:text>
|
| 575 |
<xsl:call-template name="escape-name">
|
| 576 |
<xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
|
| 577 |
</xsl:call-template>
|
| 578 |
<xsl:text>&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=minor&sev-inc=wishlist</xsl:text>
|
| 579 |
</xsl:attribute>
|
| 580 |
<xsl:value-of select="$other/bugs/item[@name=$pkg]/@wishlist"/>
|
| 581 |
</xsl:element>,
|
| 582 |
|
| 583 |
<xsl:element name="a">
|
| 584 |
<xsl:attribute name="title">pending and fixed</xsl:attribute>
|
| 585 |
<xsl:attribute name="href">
|
| 586 |
<xsl:text>http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=</xsl:text>
|
| 587 |
<xsl:call-template name="escape-name">
|
| 588 |
<xsl:with-param name="text"><xsl:value-of select="text()"/></xsl:with-param>
|
| 589 |
</xsl:call-template>
|
| 590 |
<xsl:text>&archive=no&pend-inc=pending-fixed&pend-inc=fixed</xsl:text>
|
| 591 |
</xsl:attribute>
|
| 592 |
<xsl:value-of select="$other/bugs/item[@name=$pkg]/@fixed"/>
|
| 593 |
</xsl:element>)
|
| 594 |
</span>
|
| 595 |
</li>
|
| 596 |
</xsl:for-each>
|
| 597 |
</ul></td></tr>
|
| 598 |
</xsl:template>
|
| 599 |
|
| 600 |
<xsl:template name="available-versions">
|
| 601 |
<tr class="titlerow">
|
| 602 |
<td class="titlecell" colspan="2">
|
| 603 |
Available versions
|
| 604 |
</td></tr>
|
| 605 |
|
| 606 |
<!-- oldstable -->
|
| 607 |
<xsl:if test="$hasoldstable">
|
| 608 |
<tr class="normalrow">
|
| 609 |
<td class="labelcell"><a href="http://www.debian.org/releases/sarge/">Oldstable</a></td>
|
| 610 |
<td class="contentcell">
|
| 611 |
<a href="http://packages.debian.org/source/oldstable/{$package}"><xsl:value-of
|
| 612 |
select="document(concat('../base/', $dir, '/oldstable.xml'))/source/version"/></a>
|
| 613 |
</td>
|
| 614 |
</tr>
|
| 615 |
</xsl:if>
|
| 616 |
<xsl:if test="$hasoldstable-security">
|
| 617 |
<tr class="normalrow">
|
| 618 |
<td class="labelcell"><small>Oldstable Security Updates</small></td>
|
| 619 |
<td class="contentcell">
|
| 620 |
<xsl:value-of select="document(concat('../base/', $dir, '/oldstable-security.xml'))/source/version"/>
|
| 621 |
</td>
|
| 622 |
</tr>
|
| 623 |
</xsl:if>
|
| 624 |
|
| 625 |
<!-- stable -->
|
| 626 |
<xsl:if test="$hasstable">
|
| 627 |
<tr class="normalrow">
|
| 628 |
<td class="labelcell"><a href="http://www.debian.org/releases/stable/">Stable</a></td>
|
| 629 |
<td class="contentcell">
|
| 630 |
<a href="http://packages.debian.org/source/stable/{$package}"><xsl:value-of
|
| 631 |
select="document(concat('../base/', $dir, '/stable.xml'))/source/version"/></a>
|
| 632 |
</td>
|
| 633 |
</tr>
|
| 634 |
</xsl:if>
|
| 635 |
<xsl:if test="$hasstable-security">
|
| 636 |
<tr class="normalrow">
|
| 637 |
<td class="labelcell"><small>Stable Security Updates</small></td>
|
| 638 |
<td class="contentcell">
|
| 639 |
<xsl:value-of select="document(concat('../base/', $dir, '/stable-security.xml'))/source/version"/>
|
| 640 |
</td>
|
| 641 |
</tr>
|
| 642 |
</xsl:if>
|
| 643 |
<xsl:if test="$hasstable-proposed-updates">
|
| 644 |
<tr class="normalrow">
|
| 645 |
<td class="labelcell"><small>Stable Proposed Updates</small></td>
|
| 646 |
<td class="contentcell">
|
| 647 |
<xsl:value-of select="document(concat('../base/', $dir,
|
| 648 |
'/stable-proposed-updates.xml'))/source/version" />
|
| 649 |
</td>
|
| 650 |
</tr>
|
| 651 |
</xsl:if>
|
| 652 |
|
| 653 |
<!-- testing -->
|
| 654 |
<xsl:if test="$hastesting">
|
| 655 |
<tr class="normalrow">
|
| 656 |
<td class="labelcell"><a href="http://www.debian.org/releases/testing/">Testing</a></td>
|
| 657 |
<td class="contentcell">
|
| 658 |
<a href="http://packages.debian.org/source/testing/{$package}"><xsl:value-of
|
| 659 |
select="document(concat('../base/', $dir, '/testing.xml'))/source/version"/></a>
|
| 660 |
</td>
|
| 661 |
</tr>
|
| 662 |
</xsl:if>
|
| 663 |
<xsl:if test="$hastesting-security">
|
| 664 |
<tr class="normalrow">
|
| 665 |
<td class="labelcell"><small>Testing Security Updates</small></td>
|
| 666 |
<td class="contentcell">
|
| 667 |
<xsl:value-of select="document(concat('../base/', $dir, '/testing-security.xml'))/source/version"/>
|
| 668 |
</td>
|
| 669 |
</tr>
|
| 670 |
</xsl:if>
|
| 671 |
<xsl:if test="$hastesting-proposed-updates">
|
| 672 |
<tr class="normalrow">
|
| 673 |
<td class="labelcell"><small>Testing Proposed Updates</small></td>
|
| 674 |
<td class="contentcell">
|
| 675 |
<xsl:value-of select="document(concat('../base/', $dir,
|
| 676 |
'/testing-proposed-updates.xml'))/source/version" />
|
| 677 |
</td>
|
| 678 |
</tr>
|
| 679 |
</xsl:if>
|
| 680 |
|
| 681 |
<!-- unstable -->
|
| 682 |
<xsl:if test="$hasunstable">
|
| 683 |
<tr class="normalrow">
|
| 684 |
<td class="labelcell">Unstable</td>
|
| 685 |
<td class="contentcell">
|
| 686 |
<a href="http://packages.debian.org/source/unstable/{$package}"><xsl:value-of
|
| 687 |
select="document(concat('../base/', $dir, '/unstable.xml'))/source/version"/></a>
|
| 688 |
</td>
|
| 689 |
</tr>
|
| 690 |
</xsl:if>
|
| 691 |
|
| 692 |
<!-- experimental -->
|
| 693 |
<xsl:if test="$hasexperimental">
|
| 694 |
<tr class="normalrow">
|
| 695 |
<td class="labelcell">Experimental</td>
|
| 696 |
<td class="contentcell">
|
| 697 |
<a href="http://packages.debian.org/source/experimental/{$package}"><xsl:value-of
|
| 698 |
select="document(concat('../base/', $dir, '/experimental.xml'))/source/version"/></a>
|
| 699 |
</td>
|
| 700 |
</tr>
|
| 701 |
</xsl:if>
|
| 702 |
|
| 703 |
<!-- secure-testing -->
|
| 704 |
<xsl:if test="$hassecure-testing">
|
| 705 |
<tr class="normalrow">
|
| 706 |
<td class="labelcell">Secure testing</td>
|
| 707 |
<td class="contentcell">
|
| 708 |
<xsl:value-of select="document(concat('../base/', $dir, '/secure-testing.xml'))/source/version"/>
|
| 709 |
</td>
|
| 710 |
</tr>
|
| 711 |
</xsl:if>
|
| 712 |
|
| 713 |
<!-- volatile -->
|
| 714 |
<xsl:if test="$hasvolatile">
|
| 715 |
<tr class="normalrow">
|
| 716 |
<td class="labelcell">Volatile</td>
|
| 717 |
<td class="contentcell">
|
| 718 |
<xsl:value-of select="document(concat('../base/', $dir, '/volatile.xml'))/source/version"/>
|
| 719 |
</td>
|
| 720 |
</tr>
|
| 721 |
</xsl:if>
|
| 722 |
</xsl:template>
|
| 723 |
|
| 724 |
<xsl:template name="ubuntu">
|
| 725 |
<!-- Patches list [FG] -->
|
| 726 |
<xsl:if test="$other/@ubuntu='yes'">
|
| 727 |
<tr class="titlerow">
|
| 728 |
<td class="titlecell" colspan="2"><a
|
| 729 |
title="Information about Ubuntu for Debian Developers"
|
| 730 |
href="https://wiki.ubuntu.com/Ubuntu/ForDebianDevelopers">Ubuntu ...</a>
|
| 731 |
</td>
|
| 732 |
</tr>
|
| 733 |
<tr>
|
| 734 |
<td class="contentcell" colspan="2" style="text-align: left">
|
| 735 |
<ul>
|
| 736 |
<li>
|
| 737 |
Version: <a href="{$other/ubuntu/@url}"><xsl:value-of select="$other/ubuntu/@version"/></a>
|
| 738 |
</li>
|
| 739 |
<xsl:if test="$other/ubuntu/patch">
|
| 740 |
<li>
|
| 741 |
<a href="{$other/ubuntu/patch/@url}">Patch for version <xsl:value-of select="$other/ubuntu/patch/@version"/></a>
|
| 742 |
</li>
|
| 743 |
</xsl:if>
|
| 744 |
<xsl:if test="$other/ubuntu/bugs">
|
| 745 |
<li>
|
| 746 |
<a href="{$other/ubuntu/bugs/@url}"><xsl:value-of select="$other/ubuntu/bugs/@count"/> open bugs</a>
|
| 747 |
</li>
|
| 748 |
</xsl:if>
|
| 749 |
</ul>
|
| 750 |
</td>
|
| 751 |
</tr>
|
| 752 |
</xsl:if>
|
| 753 |
</xsl:template>
|
| 754 |
|
| 755 |
<xsl:template name="other-links">
|
| 756 |
<tr class="titlerow">
|
| 757 |
<td class="titlecell" colspan="2">
|
| 758 |
Other links
|
| 759 |
</td></tr>
|
| 760 |
<tr>
|
| 761 |
<td class="contentcell" colspan="2" style="text-align: left">
|
| 762 |
<ul>
|
| 763 |
<xsl:if test="homepage">
|
| 764 |
<li> <a href="{homepage}">Upstream homepage</a> </li>
|
| 765 |
</xsl:if>
|
| 766 |
<li>
|
| 767 |
<xsl:element name="a">
|
| 768 |
<xsl:attribute name="href">
|
| 769 |
<xsl:text>http://packages.debian.org/changelogs/</xsl:text>
|
| 770 |
<xsl:value-of select="directory"/>
|
| 771 |
<xsl:text>/current/changelog</xsl:text>
|
| 772 |
</xsl:attribute>
|
| 773 |
<xsl:text>Changelog</xsl:text>
|
| 774 |
</xsl:element>
|
| 775 |
/
|
| 776 |
<xsl:element name="a">
|
| 777 |
<xsl:attribute name="href">
|
| 778 |
<xsl:text>http://packages.debian.org/changelogs/</xsl:text>
|
| 779 |
<xsl:value-of select="directory"/>
|
| 780 |
<xsl:text>/current/copyright</xsl:text>
|
| 781 |
</xsl:attribute>
|
| 782 |
<xsl:text>Copyright</xsl:text>
|
| 783 |
</xsl:element>
|
| 784 |
</li>
|
| 785 |
<xsl:if test="architecture!='all'">
|
| 786 |
<li>
|
| 787 |
<xsl:text>Buildd: </xsl:text>
|
| 788 |
<a href="http://buildd.debian.org/pkg.cgi?pkg={$escaped-package}"
|
| 789 |
title="buildd.debian.org build logs">logs</a>
|
| 790 |
<xsl:text>, </xsl:text>
|
| 791 |
<!-- <a href="http://people.debian.org/~igloo/status.php?packages={$escaped-package}"
|
| 792 |
title="igloo's build logs on people.debian.org">more</a> -->
|
| 793 |
<a href="http://buildd.debian.org/~jeroen/status/package.php?p={$escaped-package}"
|
| 794 |
title="jeroen's build logs on buildd.debian.org">more</a>
|
| 795 |
<xsl:text>, </xsl:text>
|
| 796 |
<a href="http://experimental.debian.net/build.php?pkg={$escaped-package}"
|
| 797 |
title="experimental.debian.net build logs">exp</a>
|
| 798 |
<xsl:text>, </xsl:text>
|
| 799 |
<a href="http://buildd.debian-ports.org/status/package.php?p={$escaped-package}"
|
| 800 |
title="debian ports build logs">ports</a>
|
| 801 |
</li>
|
| 802 |
</xsl:if>
|
| 803 |
<!-- DISABLED until ddtp.debian.org is back up
|
| 804 |
<li>
|
| 805 |
<xsl:element name="a">
|
| 806 |
<xsl:attribute name="href">
|
| 807 |
<xsl:text>http://ddtp.debian.org/stats/pdesc/report.cgi?package=</xsl:text>
|
| 808 |
<xsl:call-template name="escape-name">
|
| 809 |
<xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
|
| 810 |
</xsl:call-template>
|
| 811 |
<xsl:text>&lang=all&type=src-drvbin&subword=0</xsl:text>
|
| 812 |
</xsl:attribute>
|
| 813 |
Description's translations (DDTP)
|
| 814 |
</xsl:element>
|
| 815 |
</li>
|
| 816 |
<xsl:if test="$other/@debconf='yes'">
|
| 817 |
<li>
|
| 818 |
<xsl:element name="a">
|
| 819 |
<xsl:attribute name="href">
|
| 820 |
<xsl:text>http://ddtp.debian.org/cgi-bin/ddtp.cgi?part=debconf&package=</xsl:text>
|
| 821 |
<xsl:call-template name="escape-name">
|
| 822 |
<xsl:with-param name="text"><xsl:value-of select="$package"/></xsl:with-param>
|
| 823 |
</xsl:call-template>
|
| 824 |
</xsl:attribute>
|
| 825 |
Debconf templates's translations (DDTP)
|
| 826 |
</xsl:element>
|
| 827 |
</li>
|
| 828 |
</xsl:if>
|
| 829 |
-->
|
| 830 |
<xsl:if test="($hasunstable and $other/debcheck/@unstable='yes')
|
| 831 |
or ($hastesting and $other/debcheck/@testing='yes')
|
| 832 |
or ($hasstable and $other/debcheck/@stable='yes')">
|
| 833 |
<li>
|
| 834 |
Debcheck on:
|
| 835 |
<xsl:if test="$hasunstable">
|
| 836 |
<xsl:text> </xsl:text>
|
| 837 |
<a href="http://qa.debian.org/debcheck.php?dist=unstable&package={$escaped-package}">unstable</a>
|
| 838 |
</xsl:if>
|
| 839 |
<xsl:if test="$hastesting">
|
| 840 |
<xsl:text> </xsl:text>
|
| 841 |
<a href="http://qa.debian.org/debcheck.php?dist=testing&package={$escaped-package}">testing</a>
|
| 842 |
</xsl:if>
|
| 843 |
<xsl:if test="$hasstable">
|
| 844 |
<xsl:text> </xsl:text>
|
| 845 |
<a href="http://qa.debian.org/debcheck.php?dist=stable&package={$escaped-package}">stable</a>
|
| 846 |
</xsl:if>
|
| 847 |
</li>
|
| 848 |
</xsl:if>
|
| 849 |
<xsl:if test="$other/@lintian='yes'">
|
| 850 |
<xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>
|
| 851 |
<li>
|
| 852 |
<a href="{$lintian_url}">Lintian report</a>
|
| 853 |
<xsl:if test="$lin_errs + $lin_warns > 0">
|
| 854 |
<xsl:text> </xsl:text>
|
| 855 |
<small><span title="(errors, warnings)">(<xsl:value-of select="$lin_errs" />,
|
| 856 |
<xsl:value-of select="$lin_warns" />)</span></small>
|
| 857 |
</xsl:if>
|
| 858 |
</li>
|
| 859 |
</xsl:if>
|
| 860 |
<li>
|
| 861 |
<a href="http://qa.debian.org/developer.php?popcon={$escaped-package}">Popcon stats</a>
|
| 862 |
</li>
|
| 863 |
<xsl:if test="$other/@svnbuildstat='yes'">
|
| 864 |
<li>
|
| 865 |
<a href="http://svnbuildstat.debian.net/packages/info/{$escaped-package}">Svnbuildstat</a>
|
| 866 |
</li>
|
| 867 |
</xsl:if>
|
| 868 |
</ul>
|
| 869 |
</td>
|
| 870 |
</tr>
|
| 871 |
</xsl:template>
|
| 872 |
|
| 873 |
<xsl:template name="package-files">
|
| 874 |
<tr class="titlerow">
|
| 875 |
<td class="titlecell" colspan="2">Source package</td>
|
| 876 |
</tr>
|
| 877 |
<tr class="titlerow">
|
| 878 |
<td class="labelcell">
|
| 879 |
<xsl:element name="a">
|
| 880 |
<xsl:attribute name="href">
|
| 881 |
<xsl:call-template name="mirror"/>
|
| 882 |
<xsl:text>/</xsl:text>
|
| 883 |
<xsl:value-of select="directory"/>
|
| 884 |
<xsl:text>/</xsl:text>
|
| 885 |
</xsl:attribute>
|
| 886 |
<xsl:text>Files</xsl:text>
|
| 887 |
</xsl:element>
|
| 888 |
</td>
|
| 889 |
<td class="contentcell" id="src_files">
|
| 890 |
<ul>
|
| 891 |
<xsl:for-each select="files/item">
|
| 892 |
<xsl:variable name="filetype">
|
| 893 |
<xsl:call-template name="categorize-srcfile" />
|
| 894 |
</xsl:variable>
|
| 895 |
<xsl:element name="li">
|
| 896 |
<xsl:attribute name="class">srcfile</xsl:attribute>
|
| 897 |
<xsl:if test="string($filetype)!=''">
|
| 898 |
<xsl:attribute name="id">
|
| 899 |
<xsl:text>srcfile_</xsl:text>
|
| 900 |
<xsl:value-of select="$filetype" />
|
| 901 |
</xsl:attribute>
|
| 902 |
</xsl:if>
|
| 903 |
<xsl:element name="a">
|
| 904 |
<xsl:attribute name="class">srcfile</xsl:attribute>
|
| 905 |
<xsl:attribute name="href">
|
| 906 |
<xsl:call-template name="mirror"/>
|
| 907 |
<xsl:text>/</xsl:text>
|
| 908 |
<xsl:value-of select="../../directory"/>
|
| 909 |
<xsl:text>/</xsl:text>
|
| 910 |
<xsl:value-of select="filename"/>
|
| 911 |
</xsl:attribute>
|
| 912 |
<xsl:attribute name="title">
|
| 913 |
<xsl:value-of select="filename" />
|
| 914 |
<xsl:text>: </xsl:text>
|
| 915 |
<xsl:value-of select="size"/>
|
| 916 |
<xsl:text> bytes</xsl:text>
|
| 917 |
</xsl:attribute>
|
| 918 |
<xsl:text>.</xsl:text>
|
| 919 |
<xsl:value-of select="$filetype"/>
|
| 920 |
</xsl:element>
|
| 921 |
</xsl:element>
|
| 922 |
</xsl:for-each>
|
| 923 |
</ul>
|
| 924 |
</td>
|
| 925 |
</tr>
|
| 926 |
</xsl:template>
|
| 927 |
|
| 928 |
<xsl:template name="todo-list">
|
| 929 |
<xsl:variable name="todo">
|
| 930 |
<xsl:call-template name="issue-nmu" />
|
| 931 |
<xsl:call-template name="issue-lintian" />
|
| 932 |
<xsl:call-template name="issue-mentors-pending" />
|
| 933 |
<xsl:call-template name="issue-comaintenance" />
|
| 934 |
<xsl:call-template name="issue-outdate-stdver" />
|
| 935 |
<xsl:call-template name="issue-new-upstream" />
|
| 936 |
<xsl:call-template name="issue-patches" />
|
| 937 |
<xsl:if test="$hasother">
|
| 938 |
<xsl:for-each select="$other/todo/item">
|
| 939 |
<xsl:call-template name="outputitem" />
|
| 940 |
</xsl:for-each>
|
| 941 |
</xsl:if>
|
| 942 |
</xsl:variable>
|
| 943 |
<xsl:if test="count($todo)>0 and string($todo)!=''">
|
| 944 |
<tr class="titlerow">
|
| 945 |
<td class="titlecell" id="todo">Todo</td>
|
| 946 |
</tr>
|
| 947 |
<tr class="normalrow">
|
| 948 |
<td class="contentcell2"><ul><xsl:copy-of select="$todo"/></ul></td>
|
| 949 |
</tr>
|
| 950 |
</xsl:if>
|
| 951 |
</xsl:template>
|
| 952 |
|
| 953 |
<xsl:template name="problems">
|
| 954 |
<xsl:variable name="problems">
|
| 955 |
<xsl:call-template name="issue-testing-excuses" />
|
| 956 |
<xsl:call-template name="issue-ancient-stdver" />
|
| 957 |
<xsl:call-template name="issue-item-dead-package" />
|
| 958 |
<xsl:call-template name="issue-item-override-disparity" />
|
| 959 |
<xsl:call-template name="issue-item-help-bugs" />
|
| 960 |
<xsl:call-template name="issue-item-wnpp" />
|
| 961 |
<!-- <xsl:call-template name="issue-item-watch-failure" /> -->
|
| 962 |
<xsl:call-template name="issue-item-dehs-failure" />
|
| 963 |
<xsl:if test="$hasother">
|
| 964 |
<xsl:for-each select="$other/problems/item">
|
| 965 |
<xsl:call-template name="outputitem"/>
|
| 966 |
</xsl:for-each>
|
| 967 |
</xsl:if>
|
| 968 |
</xsl:variable>
|
| 969 |
<xsl:if test="count($problems)>0 and string($problems)!=''">
|
| 970 |
<tr class="titlerow">
|
| 971 |
<td class="titlecell" id="problems">Problems</td>
|
| 972 |
</tr>
|
| 973 |
<tr class="normalrow">
|
| 974 |
<td class="contentcell2"><ul><xsl:copy-of select="$problems"/></ul></td>
|
| 975 |
</tr>
|
| 976 |
</xsl:if>
|
| 977 |
</xsl:template>
|
| 978 |
|
| 979 |
<xsl:template name="testing-status">
|
| 980 |
<xsl:if test="$hasexcuse or $other/@transitions='yes'">
|
| 981 |
<tr class="titlerow">
|
| 982 |
<td class="titlecell">
|
| 983 |
Testing status
|
| 984 |
</td></tr>
|
| 985 |
</xsl:if>
|
| 986 |
<xsl:if test="$other/@transitions='yes'">
|
| 987 |
<xsl:variable name="translist">
|
| 988 |
<xsl:for-each select="$other/transitions/transition">
|
| 989 |
<xsl:value-of select="@name" />
|
| 990 |
<xsl:if test="position() != last()">
|
| 991 |
<xsl:text> </xsl:text>
|
| 992 |
</xsl:if>
|
| 993 |
</xsl:for-each>
|
| 994 |
</xsl:variable>
|
| 995 |
<xsl:variable name="transno" select="count($other/transitions/transition)" />
|
| 996 |
<tr class="normalrow">
|
| 997 |
<td class="contentcell2" style="text-align: left">
|
| 998 |
<ul>
|
| 999 |
<!-- XXX unappropriate <ul>, just to make the text looks like other
|
| 1000 |
boxes, should be fixed on the CSS side (getting rid of <ul>) -->
|
| 1001 |
<li>This package is part of <em><xsl:value-of select="$transno" />
|
| 1002 |
ongoing testing transition<xsl:if test="$transno != '1'">s</xsl:if>
|
| 1003 |
</em> (namely: <tt><xsl:value-of select="$translist" /></tt>). For
|
| 1004 |
more information see the
|
| 1005 |
<a href="http://ftp-master.debian.org/transitions.yaml">transition
|
| 1006 |
status file</a>.<br />
|
| 1007 |
<em>Uploads to unstable will be rejected</em> while transitions are
|
| 1008 |
ongoing; you might want to upload to experimental in the
|
| 1009 |
meantime, or contact <tt><a href="mailto:debian-release@lists.debian.org">debian-release</a></tt>
|
| 1010 |
if an upload is really necessary.
|
| 1011 |
</li>
|
| 1012 |
</ul>
|
| 1013 |
</td>
|
| 1014 |
</tr>
|
| 1015 |
</xsl:if>
|
| 1016 |
<xsl:if test="$hasexcuse">
|
| 1017 |
<tr class="normalrow">
|
| 1018 |
<td class="contentcell2" style="text-align: left">
|
| 1019 |
<a title="reasons why the package is not moving to testing"
|
| 1020 |
href="http://qa.debian.org/excuses.php?package={$package}">Excuses</a>:
|
| 1021 |
<ul class="testing-excuses">
|
| 1022 |
<xsl:for-each select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/item">
|
| 1023 |
<xsl:call-template name="outputitem"/>
|
| 1024 |
</xsl:for-each>
|
| 1025 |
</ul>
|
| 1026 |
</td>
|
| 1027 |
</tr>
|
| 1028 |
</xsl:if>
|
| 1029 |
</xsl:template>
|
| 1030 |
|
| 1031 |
<xsl:template name="static-info">
|
| 1032 |
<xsl:call-template name="output-static">
|
| 1033 |
<xsl:with-param name="static" select="$static" />
|
| 1034 |
</xsl:call-template>
|
| 1035 |
</xsl:template>
|
| 1036 |
|
| 1037 |
<xsl:template name="latest-news">
|
| 1038 |
<xsl:call-template name="output-news">
|
| 1039 |
<xsl:with-param name="news" select="$news" />
|
| 1040 |
</xsl:call-template>
|
| 1041 |
</xsl:template>
|
| 1042 |
|
| 1043 |
<xsl:variable name="static">
|
| 1044 |
<xsl:if test="$hasnews">
|
| 1045 |
<xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/static/item">
|
| 1046 |
<xsl:call-template name="outputitem"/>
|
| 1047 |
</xsl:for-each>
|
| 1048 |
</xsl:if>
|
| 1049 |
</xsl:variable>
|
| 1050 |
|
| 1051 |
<xsl:variable name="news">
|
| 1052 |
<xsl:if test="$hasnews">
|
| 1053 |
<xsl:for-each select="document(concat('../base/', $dir, '/news.xml'))/news/news/item">
|
| 1054 |
<xsl:call-template name="outputitem"/>
|
| 1055 |
</xsl:for-each>
|
| 1056 |
</xsl:if>
|
| 1057 |
</xsl:variable>
|
| 1058 |
|
| 1059 |
<!-- All the work is done in a single template -->
|
| 1060 |
<xsl:template match="source">
|
| 1061 |
|
| 1062 |
<!-- Start of html -->
|
| 1063 |
<html>
|
| 1064 |
<head>
|
| 1065 |
<meta name="ROBOTS" content="NOFOLLOW"/>
|
| 1066 |
<link type="text/css" title="User selected" rel="stylesheet" href="../common/default.css"/>
|
| 1067 |
<link type="text/css" title="Official" rel="alternate stylesheet" href="../common/revamp.css"/>
|
| 1068 |
<link type="text/css" title="Legacy PTS" rel="alternate stylesheet" href="../common/pts.css"/>
|
| 1069 |
<link type="text/css" title="Compact rendering" rel="alternate stylesheet" href="../common/compact.css"/>
|
| 1070 |
<script type="text/javascript" src="../common/pts.js"></script>
|
| 1071 |
<xsl:if test="count($news)>0 and string($news)!=''">
|
| 1072 |
<link rel="alternate" type="application/rss+xml" title="RSS"
|
| 1073 |
href="{$package}/news.rss20.xml" />
|
| 1074 |
</xsl:if>
|
| 1075 |
<title>Overview of <xsl:value-of select="$package"/> source package</title>
|
| 1076 |
</head>
|
| 1077 |
<body onload="javascript:onLoad();">
|
| 1078 |
|
| 1079 |
<div id="quickforms" style="float: right;">
|
| 1080 |
<form method="get" action="/common/index.html">
|
| 1081 |
<p><span title="Jump to package">Go:</span>
|
| 1082 |
<input type="text" name="src" value=""/></p>
|
| 1083 |
</form>
|
| 1084 |
<form id="csspref-form" method="get" action="/common/set-csspref.php">
|
| 1085 |
<p>Switch style: <select name="csspref" onchange="javascript:onChangeStyle();">
|
| 1086 |
<option value="revamp.css">Default</option>
|
| 1087 |
<option value="compact.css">Compact</option>
|
| 1088 |
<option value="pts.css">Legacy</option>
|
| 1089 |
</select></p>
|
| 1090 |
</form>
|
| 1091 |
|
| 1092 |
</div>
|
| 1093 |
<h1>Overview of
|
| 1094 |
<xsl:element name="a">
|
| 1095 |
<xsl:attribute name="href">
|
| 1096 |
<xsl:text>http://packages.debian.org/src:</xsl:text>
|
| 1097 |
<xsl:value-of select="$package"/>
|
| 1098 |
</xsl:attribute>
|
| 1099 |
<xsl:value-of select="$package"/>
|
| 1100 |
</xsl:element>
|
| 1101 |
source package</h1>
|
| 1102 |
|
| 1103 |
<div id="body">
|
| 1104 |
<xsl:choose>
|
| 1105 |
<xsl:when test="$removed='yes'">
|
| 1106 |
<!-- REMOVED PACKAGE -->
|
| 1107 |
<p>This package is not part of any Debian distribution. Thus you won't
|
| 1108 |
find much information here. The package is either very new and hasn't
|
| 1109 |
appeared on mirrors yet, or it's an old package that eventually got removed.
|
| 1110 |
The old news are kept for historic purpose only.</p>
|
| 1111 |
|
| 1112 |
<table class="righttable">
|
| 1113 |
<xsl:call-template name="static-info" />
|
| 1114 |
<xsl:call-template name="latest-news" />
|
| 1115 |
</table>
|
| 1116 |
|
| 1117 |
<!-- END REMOVED PACKAGE -->
|
| 1118 |
</xsl:when>
|
| 1119 |
<xsl:otherwise>
|
| 1120 |
<!-- NON REMOVED PACKAGE -->
|
| 1121 |
|
| 1122 |
<table class="containertable">
|
| 1123 |
<tr class="containerrow" valign="top">
|
| 1124 |
<td class="containercell">
|
| 1125 |
<!-- LEFT SIDE -->
|
| 1126 |
<table class="lefttable">
|
| 1127 |
<xsl:call-template name="general-information" />
|
| 1128 |
<xsl:call-template name="available-versions" />
|
| 1129 |
</table>
|
| 1130 |
<table class="lefttable">
|
| 1131 |
<xsl:call-template name="package-files" />
|
| 1132 |
<xsl:call-template name="binary-packages" />
|
| 1133 |
</table>
|
| 1134 |
<!-- END LEFT SIDE -->
|
| 1135 |
</td><td class="containercell">
|
| 1136 |
<!-- RIGHT SIDE -->
|
| 1137 |
<table class="righttable">
|
| 1138 |
<xsl:call-template name="todo-list" />
|
| 1139 |
<xsl:call-template name="problems" />
|
| 1140 |
</table>
|
| 1141 |
<table class="righttable">
|
| 1142 |
<xsl:call-template name="testing-status" />
|
| 1143 |
<xsl:call-template name="static-info" />
|
| 1144 |
<xsl:call-template name="latest-news" />
|
| 1145 |
</table>
|
| 1146 |
<!-- END RIGHT SIDE -->
|
| 1147 |
</td><td class="containercell">
|
| 1148 |
<table class="lefttable">
|
| 1149 |
<xsl:call-template name="bugs-count" />
|
| 1150 |
<xsl:call-template name="pts-subscription" />
|
| 1151 |
</table>
|
| 1152 |
<table class="lefttable">
|
| 1153 |
<xsl:call-template name="other-links" />
|
| 1154 |
</table>
|
| 1155 |
<table class="lefttable" id="ubuntubox">
|
| 1156 |
<xsl:call-template name="ubuntu" />
|
| 1157 |
</table>
|
| 1158 |
</td></tr>
|
| 1159 |
</table>
|
| 1160 |
|
| 1161 |
<!-- END NON REMOVED PACKAGE -->
|
| 1162 |
</xsl:otherwise>
|
| 1163 |
</xsl:choose>
|
| 1164 |
|
| 1165 |
<hr/>
|
| 1166 |
<div class="footer">
|
| 1167 |
<table width="100%">
|
| 1168 |
<tr>
|
| 1169 |
<td>
|
| 1170 |
<p>
|
| 1171 |
<em><a href="http://www.debian.org">Debian</a> Package
|
| 1172 |
Tracking System</em> - Copyright 2002-2008 Raphaël
|
| 1173 |
Hertzog and others.<br/> Report problems to the
|
| 1174 |
<a href="http://bugs.debian.org/qa.debian.org"><tt>qa.debian.org</tt>
|
| 1175 |
pseudopackage</a> in the <a href="http://bugs.debian.org">Debian
|
| 1176 |
<acronym title="Bug Tracking System">BTS</acronym></a>.<br/>
|
| 1177 |
Last modified: <xsl:value-of select="$date"/>.
|
| 1178 |
</p>
|
| 1179 |
</td>
|
| 1180 |
<td>
|
| 1181 |
<a href="http://validator.w3.org/check?uri=referer"><img
|
| 1182 |
src="http://www.w3.org/Icons/valid-xhtml10-blue"
|
| 1183 |
alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
|
| 1184 |
</td>
|
| 1185 |
</tr>
|
| 1186 |
</table>
|
| 1187 |
</div>
|
| 1188 |
</div>
|
| 1189 |
</body>
|
| 1190 |
</html>
|
| 1191 |
</xsl:template>
|
| 1192 |
|
| 1193 |
</xsl:stylesheet>
|