| 1 |
<?xml version="1.0" encoding="utf-8" ?>
|
| 2 |
<xsl:stylesheet
|
| 3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
| 4 |
xmlns="http://www.w3.org/1999/xhtml"
|
| 5 |
version="1.0">
|
| 6 |
|
| 7 |
<xsl:template name="issue-nmu">
|
| 8 |
<xsl:if test="@nmu">
|
| 9 |
<li>Incorporate and acknowledge the changes from the non maintainer upload.</li>
|
| 10 |
</xsl:if>
|
| 11 |
</xsl:template>
|
| 12 |
|
| 13 |
<xsl:template name="issue-piuparts">
|
| 14 |
<xsl:if test="$hasother and $other/@piuparts='yes'">
|
| 15 |
<li>
|
| 16 |
<a href="http://piuparts.debian.org">Piuparts</a>
|
| 17 |
<xsl:text> found an </xsl:text>
|
| 18 |
<a href="http://piuparts.debian.org/sid/source/{$hash}/{$package}.html">(un)installation error</a>
|
| 19 |
<xsl:text> in the </xsl:text>
|
| 20 |
<a href="http://www.debian.org/releases/unstable/">Sid</a>
|
| 21 |
<xsl:text> version of this package. You should fix it; have a
|
| 22 |
look at the </xsl:text>
|
| 23 |
<a href="http://piuparts.debian.org/sid/source/{$hash}/{$package}.html">corresponding
|
| 24 |
<em>piuparts log</em></a>
|
| 25 |
<xsl:text>.</xsl:text>
|
| 26 |
</li>
|
| 27 |
</xsl:if>
|
| 28 |
</xsl:template>
|
| 29 |
|
| 30 |
<xsl:template name="issue-lintian">
|
| 31 |
<xsl:if test="$lin_errs + $lin_warns > 0">
|
| 32 |
<li>
|
| 33 |
<xsl:variable name="lintian_url"><xsl:call-template name="mk_lintian_url" /></xsl:variable>
|
| 34 |
<a href="http://lintian.debian.org">Lintian</a><xsl:text> </xsl:text>
|
| 35 |
<xsl:text>reports </xsl:text>
|
| 36 |
<a href="{$lintian_url}">
|
| 37 |
<xsl:if test="$lin_errs > 0"><xsl:value-of select="$lin_errs" /> error<xsl:if test="$lin_errs > 1">s</xsl:if></xsl:if>
|
| 38 |
<xsl:if test="$lin_errs > 0 and $lin_warns > 0"> and </xsl:if>
|
| 39 |
<xsl:if test="$lin_warns > 0"><xsl:value-of select="$lin_warns" /> warning<xsl:if test="$lin_warns > 1">s</xsl:if></xsl:if>
|
| 40 |
</a>
|
| 41 |
about this package. You should make the package <em>lintian clean</em>
|
| 42 |
getting rid of <xsl:if test="$lin_errs + $lin_warns = 1">it</xsl:if>
|
| 43 |
<xsl:if test="$lin_errs + $lin_warns > 1">them</xsl:if>.
|
| 44 |
</li>
|
| 45 |
</xsl:if>
|
| 46 |
</xsl:template>
|
| 47 |
|
| 48 |
<xsl:template name="issue-mentors-pending">
|
| 49 |
<xsl:if test="$hasmentors"> <!-- todo item about sponsoring mentors.d.n. uploads -->
|
| 50 |
<xsl:variable name="mentors_version"
|
| 51 |
select="document(concat('../base/', $dir, '/mentors.xml'))/source/version" />
|
| 52 |
<li>
|
| 53 |
<a href="http://mentors.debian.net"><tt>mentors.debian.net</tt></a> has
|
| 54 |
<a href="http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package={$package}">version
|
| 55 |
<xsl:value-of select="$mentors_version" /></a> of this package, you
|
| 56 |
should consider sponsoring its upload.
|
| 57 |
</li>
|
| 58 |
</xsl:if>
|
| 59 |
</xsl:template>
|
| 60 |
|
| 61 |
<xsl:template name="issue-comaintenance">
|
| 62 |
<xsl:if test="not(uploaders)and(priority='standard' or priority='required' or priority='important')">
|
| 63 |
<li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
|
| 64 |
</xsl:if>
|
| 65 |
</xsl:template>
|
| 66 |
|
| 67 |
<xsl:template name="issue-outdate-stdver">
|
| 68 |
<xsl:if test="standards-version!='' and not(starts-with(standards-version, $lastsv))">
|
| 69 |
<li>The package should be updated to follow the last version of
|
| 70 |
<a href="http://www.debian.org/doc/debian-policy/">Debian Policy</a> (Standards-Version
|
| 71 |
<xsl:value-of select="$lastsv"/> instead of
|
| 72 |
<xsl:value-of select="standards-version"/>).</li>
|
| 73 |
</xsl:if>
|
| 74 |
</xsl:template>
|
| 75 |
|
| 76 |
<xsl:template name="issue-new-upstream">
|
| 77 |
<xsl:if test="$hasother and $other[dehs/@newer]">
|
| 78 |
<li>A new upstream version is available:
|
| 79 |
<a href="http://dehs.alioth.debian.org/report.php?package={$escaped-package}">
|
| 80 |
<xsl:value-of select="$other/dehs/@newer"/>
|
| 81 |
</a>, you should consider packaging it.</li>
|
| 82 |
</xsl:if>
|
| 83 |
</xsl:template>
|
| 84 |
|
| 85 |
<xsl:template name="issue-patches">
|
| 86 |
<xsl:if test="$hasother and $other/bugs/@patch!='0'">
|
| 87 |
<li>The <acronym title="Bug Tracking System">BTS</acronym> contains
|
| 88 |
<a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?src={$escaped-package}&include=tags:patch&exclude=tags:pending&pend-exc=done&repeatmerged=no">patches fixing
|
| 89 |
<xsl:value-of select="$other/bugs/@patch"/> bug<xsl:if test="$other/bugs/@patch!='1'">s</xsl:if>
|
| 90 |
</a>
|
| 91 |
<xsl:if test="$other/bugs/@patch_m">
|
| 92 |
<xsl:text> (</xsl:text>
|
| 93 |
<a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?src={$escaped-package}&include=tags:patch&exclude=tags:pending&pend-exc=done&repeatmerged=yes">
|
| 94 |
<xsl:value-of select="$other/bugs/@patch_m"/>
|
| 95 |
</a>
|
| 96 |
<xsl:text> if counting merged bugs)</xsl:text>
|
| 97 |
</xsl:if>, consider including or untagging
|
| 98 |
<xsl:if test="$other/bugs/@patch!='1'">them</xsl:if>
|
| 99 |
<xsl:if test="$other/bugs/@patch='1'">it</xsl:if>.
|
| 100 |
</li>
|
| 101 |
</xsl:if>
|
| 102 |
</xsl:template>
|
| 103 |
|
| 104 |
<xsl:template name="issue-testing-excuses">
|
| 105 |
<xsl:if test="$hasexcuse and document(concat('../base/', $dir, '/excuse.xml'))/excuse/@problematic">
|
| 106 |
<li>The package has not yet entered <a
|
| 107 |
href="http://ftp-master.debian.org/testing/update_excuses.html.gz#{$package}">testing</a>
|
| 108 |
even though the <xsl:value-of select="document(concat('../base/', $dir, '/excuse.xml'))/excuse/@limit"/>-day
|
| 109 |
delay is over.
|
| 110 |
<a href="http://release.debian.org/migration/testing.pl?package={$escaped-package}">Check why</a>.</li>
|
| 111 |
</xsl:if>
|
| 112 |
</xsl:template>
|
| 113 |
|
| 114 |
<xsl:template name="issue-ancient-stdver">
|
| 115 |
<xsl:if test="standards-version!='' and not(starts-with(standards-version, $lastmajorsv))">
|
| 116 |
<li>The package is severly out of date with respect to the Debian
|
| 117 |
Policy. Latest version is <xsl:value-of select="$lastsv"/>
|
| 118 |
and your package only follows
|
| 119 |
<xsl:value-of select="standards-version"/>...</li>
|
| 120 |
</xsl:if>
|
| 121 |
</xsl:template>
|
| 122 |
|
| 123 |
<xsl:template name="issue-item-dead-package">
|
| 124 |
<xsl:if test="@release!='unstable' and @release!='experimental'">
|
| 125 |
<li>This package is neither part of unstable nor experimental. This
|
| 126 |
probably means that the package <a
|
| 127 |
href="http://ftp-master.debian.org/removals.txt">has been removed</a> (or
|
| 128 |
has been renamed). Thus the information here is of little interest ...
|
| 129 |
the package is going to disappear unless someone takes it over and
|
| 130 |
reintroduces it into unstable.</li>
|
| 131 |
</xsl:if>
|
| 132 |
</xsl:template>
|
| 133 |
|
| 134 |
<xsl:template name="issue-item-override-disparity">
|
| 135 |
<xsl:if test="$hasother and $other/@override='yes'"> <!-- Override disparity handling. [JvW] -->
|
| 136 |
<xsl:for-each select="$other/override/group">
|
| 137 |
<li>There were override disparities found in suite <xsl:value-of
|
| 138 |
select="@suite"/>:
|
| 139 |
<ul>
|
| 140 |
<xsl:for-each select="disparity">
|
| 141 |
<li><xsl:value-of select="text()"/></li>
|
| 142 |
</xsl:for-each>
|
| 143 |
</ul>
|
| 144 |
</li>
|
| 145 |
</xsl:for-each>
|
| 146 |
</xsl:if>
|
| 147 |
</xsl:template>
|
| 148 |
|
| 149 |
<xsl:template name="issue-item-help-bugs"> <!-- mention bugs tagged "help" -->
|
| 150 |
<xsl:if test="$hasother and $other/bugs/@help > 0">
|
| 151 |
<li>
|
| 152 |
The <acronym title="Bug Tracking System">BTS</acronym> contains
|
| 153 |
<a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=help&src={$package}&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done">
|
| 154 |
<span class="bugcount" title="help">
|
| 155 |
<xsl:value-of select="$other/bugs/@help" />
|
| 156 |
</span>
|
| 157 |
bug<xsl:if test="$other/bugs/@help > 1">s</xsl:if>
|
| 158 |
</a>
|
| 159 |
tagged <a href="http://www.debian.org/Bugs/Developer#tags"><tt>help</tt></a>,
|
| 160 |
please consider helping the maintainer in dealing with
|
| 161 |
<xsl:choose>
|
| 162 |
<xsl:when test="$other/bugs/@help = 1">it.</xsl:when>
|
| 163 |
<xsl:when test="$other/bugs/@help > 1">them.</xsl:when>
|
| 164 |
</xsl:choose>
|
| 165 |
</li>
|
| 166 |
</xsl:if>
|
| 167 |
</xsl:template>
|
| 168 |
|
| 169 |
<xsl:template name="issue-item-wnpp"> <!-- Wnpp handling. [PvR] -->
|
| 170 |
<xsl:if test="$hasother and $other/@wnpp='yes'">
|
| 171 |
<li>
|
| 172 |
<xsl:choose>
|
| 173 |
<xsl:when test="$other/wnpp/@type='O'">
|
| 174 |
<xsl:choose>
|
| 175 |
<xsl:when test="@release!='unstable' and @release!='experimental'">
|
| 176 |
The WNPP database contains an O (Orphaned) entry for this
|
| 177 |
package. This is probably an error, as it is neither part of
|
| 178 |
unstable nor experimental.
|
| 179 |
</xsl:when>
|
| 180 |
<xsl:otherwise>
|
| 181 |
<span style="font-weight: bold">This package has been
|
| 182 |
orphaned</span>. This means that it does not have a real
|
| 183 |
maintainer at the moment. Please consider adopting this package
|
| 184 |
if you are interested in it.
|
| 185 |
</xsl:otherwise>
|
| 186 |
</xsl:choose>
|
| 187 |
</xsl:when>
|
| 188 |
<xsl:when test="$other/wnpp/@type='ITA'">
|
| 189 |
<xsl:choose>
|
| 190 |
<xsl:when test="@release!='unstable' and @release!='experimental'">
|
| 191 |
The WNPP database contains an ITA (Intent To Adopt) entry for
|
| 192 |
this package. This is probably an error, as it is neither part
|
| 193 |
of unstable nor experimental.
|
| 194 |
</xsl:when>
|
| 195 |
<xsl:otherwise>
|
| 196 |
This package has been orphaned, but someone intends to maintain
|
| 197 |
it.
|
| 198 |
</xsl:otherwise>
|
| 199 |
</xsl:choose>
|
| 200 |
</xsl:when>
|
| 201 |
<xsl:when test="$other/wnpp/@type='RFA'">
|
| 202 |
<xsl:choose>
|
| 203 |
<xsl:when test="@release!='unstable' and @release!='experimental'">
|
| 204 |
The WNPP database contains an RFA (Request For Adoption) entry
|
| 205 |
for this package. This is probably an error, as it is neither
|
| 206 |
part of unstable nor experimental.
|
| 207 |
</xsl:when>
|
| 208 |
<xsl:otherwise>
|
| 209 |
The current maintainer is looking for someone who can take over
|
| 210 |
maintenance of this package. If you are interested in this
|
| 211 |
package, please consider taking it over. Alternatively you may
|
| 212 |
want to be co-maintainer in order to help the actual
|
| 213 |
maintainer.
|
| 214 |
</xsl:otherwise>
|
| 215 |
</xsl:choose>
|
| 216 |
</xsl:when>
|
| 217 |
<xsl:when test="$other/wnpp/@type='RFH'">
|
| 218 |
<xsl:choose>
|
| 219 |
<xsl:when test="@release!='unstable' and @release!='experimental'">
|
| 220 |
The WNPP database contains an RFH (Request For Help) entry for
|
| 221 |
this package. This is probably an error, as it is neither part
|
| 222 |
of unstable nor experimental.
|
| 223 |
</xsl:when>
|
| 224 |
<xsl:otherwise>
|
| 225 |
The current maintainer is looking for someone who can help with
|
| 226 |
the maintenance of this package. If you are interested in this
|
| 227 |
package, please consider helping out. One way you can help is
|
| 228 |
offer to be a co-maintainer or triage bugs in the bts.
|
| 229 |
</xsl:otherwise>
|
| 230 |
</xsl:choose>
|
| 231 |
</xsl:when>
|
| 232 |
<xsl:when test="$other/wnpp/@type='ITP'">
|
| 233 |
<xsl:choose>
|
| 234 |
<xsl:when test="@release!='unstable' and @release!='experimental'">
|
| 235 |
The WNPP database contains an ITP (Intent To Package). This
|
| 236 |
probably means that somebody is going to reintroduce this
|
| 237 |
package into unstable.
|
| 238 |
</xsl:when>
|
| 239 |
<xsl:otherwise>
|
| 240 |
The WNPP database contains an ITP (Intent To Package) entry for
|
| 241 |
this package. This is probably an error, as it has already been
|
| 242 |
packaged.
|
| 243 |
</xsl:otherwise>
|
| 244 |
</xsl:choose>
|
| 245 |
</xsl:when>
|
| 246 |
<xsl:when test="$other/wnpp/@type='RFP'">
|
| 247 |
<xsl:choose>
|
| 248 |
<xsl:when test="@release!='unstable' and @release!='experimental'">
|
| 249 |
The WNPP database contains an RFP (Request For Package). This
|
| 250 |
probably means that somebody would like to see this package
|
| 251 |
reintroduced into unstable by a volunteer.
|
| 252 |
</xsl:when>
|
| 253 |
<xsl:otherwise>
|
| 254 |
The WNPP database contains an RFP (Request For Package) entry
|
| 255 |
for this package. This is probably an error, as it has already
|
| 256 |
been packaged.
|
| 257 |
</xsl:otherwise>
|
| 258 |
</xsl:choose>
|
| 259 |
</xsl:when>
|
| 260 |
<xsl:when test="$other/wnpp/@type='RM'">
|
| 261 |
<span style="font-weight: bold">This package has been requested to
|
| 262 |
be removed</span>. This means that, when this request gets
|
| 263 |
processed by an ftp-master, this package will no longer be in
|
| 264 |
unstable, and will automatically be removed from testing too
|
| 265 |
afterwards. If for some reason you want keep this package in
|
| 266 |
unstable, please discuss so in the bug.
|
| 267 |
</xsl:when>
|
| 268 |
<xsl:otherwise>
|
| 269 |
The WNPP database contains an entry for this package, but it is
|
| 270 |
unclear what kind of entry it is. This is probably an error.
|
| 271 |
</xsl:otherwise>
|
| 272 |
</xsl:choose>
|
| 273 |
<xsl:variable name="bn" select="$other/wnpp/@bugnumber"/>
|
| 274 |
Please see bug number <a href="http://bugs.debian.org/{$bn}">
|
| 275 |
#<xsl:value-of select="$bn"/></a> for more information.
|
| 276 |
</li>
|
| 277 |
</xsl:if>
|
| 278 |
</xsl:template>
|
| 279 |
|
| 280 |
<xsl:template name="issue-item-watch-failure">
|
| 281 |
<xsl:if test="$hasother and $other/@watch='yes'">
|
| 282 |
<li>
|
| 283 |
<xsl:if test="$other/watch/@warning!=''">
|
| 284 |
uscan had problems while searching for a new upstream version: <xsl:value-of select="$other/watch/@warning"/>
|
| 285 |
</xsl:if>
|
| 286 |
</li>
|
| 287 |
</xsl:if>
|
| 288 |
</xsl:template>
|
| 289 |
|
| 290 |
<xsl:template name="issue-item-dehs-failure">
|
| 291 |
<xsl:if test="$hasother and $other[dehs/@error]">
|
| 292 |
<li>The package has a <kbd>debian/watch</kbd> file, but the last attempt
|
| 293 |
to use it for checking for newer upstream versions failed with
|
| 294 |
<a href="http://dehs.alioth.debian.org/report.php?package={$escaped-package}">an
|
| 295 |
error</a>.</li>
|
| 296 |
</xsl:if>
|
| 297 |
</xsl:template>
|
| 298 |
|
| 299 |
</xsl:stylesheet>
|