/[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 2575 - (hide annotations) (download) (as text)
Thu Sep 1 09:19:11 2011 UTC (20 months, 2 weeks ago) by gio
File MIME type: application/xml
File size: 13524 byte(s)
Update PTS link to mentors.debian.net.

Thanks to Damien Raude-Morvan for the patch. Closes: #639943.
1 zack 1955 <?xml version="1.0" encoding="utf-8" ?>
2 zack 1957 <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 zack 1955
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 zack 2048 <xsl:template name="issue-piuparts">
14 zack 2223 <xsl:if test="$hasother and $other/@piuparts='yes'">
15 zack 2048 <li>
16 zack 2223 <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 gio 2570 <xsl:text> version of this package. You should investigate the cause; have a
22 zack 2223 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 zack 2048 </li>
27     </xsl:if>
28     </xsl:template>
29    
30 zack 1955 <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 gio 2575 <a href="http://mentors.debian.net/package/{$escaped-package}">version
55 zack 1955 <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 hertzog 2549 <a href="{$other/dehs/@url}">
80 zack 1955 <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 zack 1978 <li>The <acronym title="Bug Tracking System">BTS</acronym> contains
88 zack 1955 <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
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}&amp;include=tags:patch&amp;exclude=tags:pending&amp;pend-exc=done&amp;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&amp;src={$package}&amp;pend-exc=pending-fixed&amp;pend-exc=fixed&amp;pend-exc=done">
154 zack 2065 <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 zack 1955 </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 hertzog 2550 an error: <pre style="overflow: auto"><xsl:value-of select="$other/dehs/@error"/></pre></li>
295 zack 1955 </xsl:if>
296     </xsl:template>
297    
298 zack 2230 <xsl:template name="issue-l10n">
299     <xsl:if test="$hasother and $other/i18n/@todo='yes'
300     and $other/i18n/@href">
301     <li>
302     Some strings of this package need translation. You should
303     check the <a href="{$other/i18n/@href}">l10n status report</a>
304     for more information.
305     </li>
306     </xsl:if>
307     </xsl:template>
308    
309 geissert 2277 <xsl:template name="issue-security">
310     <xsl:if test="$hasother and $other/@security!='0'">
311 hertzog 2279 <li>
312     There
313     <xsl:choose>
314     <xsl:when test="$other/@security!='1'">are</xsl:when>
315     <xsl:when test="$other/@security='1'">is</xsl:when>
316     </xsl:choose>
317     <xsl:text> </xsl:text>
318 geissert 2292 <a href="http://security-tracker.debian.org/tracker/source-package/{$escaped-package}">
319 geissert 2277 <xsl:value-of select="$other/@security"/>
320 hertzog 2279 open security issue<xsl:if test="$other/@security!='1'">s</xsl:if>
321     </a>, please fix
322     <xsl:choose>
323     <xsl:when test="$other/@security!='1'">them</xsl:when>
324     <xsl:when test="$other/@security='1'">it</xsl:when>
325     </xsl:choose>.
326 geissert 2277 </li>
327     </xsl:if>
328     </xsl:template>
329    
330 zack 1955 </xsl:stylesheet>

  ViewVC Help
Powered by ViewVC 1.1.5