/[qa]/trunk/pts/www/xsl/pts-issues.xsl
ViewVC logotype

Contents of /trunk/pts/www/xsl/pts-issues.xsl

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5