blob: 38d958901c5e426c32b2ae822956885fe57cc3f7 [file] [log] [blame]
david_williams3926e9f2006-12-09 08:23:14 +00001<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet
3 version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6 <xsl:output
7 method="html"
8 indent="yes" />
9
10 <xsl:template match="/">
11 <html>
12 <body>
13 <xsl:apply-templates select="versioningReport" />
14 </body>
15 </html>
16 </xsl:template>
17
18 <xsl:template match="versioningReport">
19 <h2>Versioning Report</h2>
david_williams762b7a52007-02-22 07:59:57 +000020
21
david_williams3926e9f2006-12-09 08:23:14 +000022 <xsl:apply-templates select="versioningReportData" />
23 </xsl:template>
24
25
26
27 <xsl:template
28 name="errors"
29 match="versioningReportData">
30 <p>
31 For
32 <xsl:value-of select="@current" />
33 using
34 <xsl:value-of select="@id" />
david_williamsab04f962006-12-10 09:39:38 +000035 as the reference.
david_williams762b7a52007-02-22 07:59:57 +000036 </p>
37 <p>Remember this listing is subject to inaccuracies based on bugs in the scripts that generate it, or, more likely in the exact way or time
38 the reference data was obtained. In other words, the code is correct and self documenting, and this report is intended to provide a quick sneek peek only.</p>
39 <p>Errors (decreases in version numbers)</p>
40 <ul>
41 <li><a href="#bundleerrors">Bundles with versioning errors</a></li>
42 <li><a href="#featureerrors">Features with versioning errors</a></li>
43 </ul>
44 <p>Bundles</p>
45 <ul>
46 <li><a href="#bundlemajor">Bundles with major version increase</a></li>
47 <li><a href="#bundleminor">Bundles with minor version increase</a></li>
48 <li><a href="#bundleservice">Bundles with service version increase</a></li>
49 <li><a href="#bundlequalifier">Bundles with qualifier-only increases</a></li>
50 </ul>
51 <p>Features</p>
52 <ul>
53 <li><a href="#featuremajor">Features with major version increase</a></li>
54 <li><a href="#featureminor">Features with minor version increase</a></li>
55 <li><a href="#featureservice">Features with service version increase</a></li>
56 <li><a href="#feauturequalifier">Features with qualifier-only increases</a></li>
57 </ul>
58 <p>New</p>
59 <ul>
60 <li><a href="#bundlesnew">New bundles in current but not in reference</a></li>
61 <li><a href="#featuresnew">New features in current but not in reference</a></li>
62 </ul>
63 <p>Gone</p>
64 <ul>
65 <li><a href="#bundlesgone">Bundles in reference but not in current</a></li>
66 <li><a href="#featuresgone">Features in reference but not in current</a></li>
67 </ul>
68 <p>No Change</p>
69 <ul>
70 <li><a href="#bundlenochange">Bundles with no change</a></li>
71 <li><a href="#featurenochange">Features with no change</a></li>
72 </ul>
73
74 <h3 id="bundleerrors">Bundles with versioning errors</h3>
david_williamsab04f962006-12-10 09:39:38 +000075 <dl>
76 <xsl:for-each select="versioningCompare">
77 <xsl:if
david_williamsc84ab8c2006-12-11 18:50:34 +000078 test="@kind = 'error' and @codePackageType ='bundle'">
david_williamsab04f962006-12-10 09:39:38 +000079 <dt style="font-weight: bold; color: crimson">
80 <xsl:value-of select="entry" />
81 </dt>
82 <dd style="font-family: monospace;">
83 <xsl:value-of select="current" />
84 (current)
85 </dd>
86 <dd style="font-family: monospace;">
87 <xsl:value-of select="reference" />
88 (reference)
89 </dd>
90 </xsl:if>
91 </xsl:for-each>
92 </dl>
david_williams762b7a52007-02-22 07:59:57 +000093 <h3 id="featureerrors">Features with versioning errors</h3>
david_williamsab04f962006-12-10 09:39:38 +000094 <dl>
95 <xsl:for-each select="versioningCompare">
96 <xsl:if
david_williamsc84ab8c2006-12-11 18:50:34 +000097 test="@kind = 'error' and @codePackageType ='feature'">
david_williamsab04f962006-12-10 09:39:38 +000098 <dt style="font-weight: bold; color: crimson">
99 <xsl:value-of select="entry" />
100 </dt>
101 <dd style="font-family: monospace;">
102 <xsl:value-of select="current" />
103 (current)
104 </dd>
105 <dd style="font-family: monospace;">
106 <xsl:value-of select="reference" />
107 (reference)
108 </dd>
109 </xsl:if>
110 </xsl:for-each>
111 </dl>
david_williams762b7a52007-02-22 07:59:57 +0000112
113 <h3 id="bundlemajor">Bundles with major version increase</h3>
114 <p>These should be rare, so be sure to check for versioning error, but when it a legitamate change, needs special attention from clients to adopt.</p>
115 <dl>
116 <xsl:for-each select="versioningCompare">
117 <xsl:if
118 test="@kind = 'increase' and @field='major' and @codePackageType ='bundle'">
119 <dt style="font-weight: bold; color: gold">
120 <xsl:value-of select="entry" />
121 </dt>
122 <dd style="font-family: monospace">
123 <xsl:value-of select="current" />
124 (current)
125 </dd>
126 <dd style="font-family: monospace">
127 <xsl:value-of select="reference" />
128 (reference)
129 </dd>
130 </xsl:if>
131 </xsl:for-each>
132 </dl>
133
134
135 <h3 id="bundleminor">Bundles with minor version increase</h3>
136 <dl>
137 <xsl:for-each select="versioningCompare">
138 <xsl:if
139 test="@kind = 'increase' and @field='minor' and @codePackageType ='bundle'">
140 <dt style="font-weight: bold; color: gold">
141 <xsl:value-of select="entry" />
142 </dt>
143 <dd style="font-family: monospace">
144 <xsl:value-of select="current" />
145 (current)
146 </dd>
147 <dd style="font-family: monospace">
148 <xsl:value-of select="reference" />
149 (reference)
150 </dd>
151 </xsl:if>
152 </xsl:for-each>
153 </dl>
154 <h3 id="bundleservice">Bundles with service version increase</h3>
155 <dl>
156 <xsl:for-each select="versioningCompare">
157 <xsl:if
158 test="@kind = 'increase' and @field='service' and @codePackageType ='bundle'">
159 <dt style="font-weight: bold; color: gold">
160 <xsl:value-of select="entry" />
161 </dt>
162 <dd style="font-family: monospace">
163 <xsl:value-of select="current" />
164 (current)
165 </dd>
166 <dd style="font-family: monospace">
167 <xsl:value-of select="reference" />
168 (reference)
169 </dd>
170 </xsl:if>
171 </xsl:for-each>
172 </dl>
173
174
175 <h3 id="bundlequalifier">Bundles with qualifier-only increases</h3>
176 <p>These may be an error, as normally, when compared to a release, at least the service version will
177 increase. But, not always an error. And, certainly, within a developement cycle, such as milestone to milestone,
178 is is quite normal for the qualifer, only, to increase.</p>
david_williamsab04f962006-12-10 09:39:38 +0000179 <dl>
180 <xsl:for-each select="versioningCompare">
181 <xsl:if
david_williamsc84ab8c2006-12-11 18:50:34 +0000182 test="@kind = 'increase' and @field='qualifier' and @codePackageType ='bundle'">
david_williamsab04f962006-12-10 09:39:38 +0000183 <dt style="font-weight: bold; color: gold">
184 <xsl:value-of select="entry" />
185 </dt>
186 <dd style="font-family: monospace">
187 <xsl:value-of select="current" />
188 (current)
189 </dd>
190 <dd style="font-family: monospace">
191 <xsl:value-of select="reference" />
192 (reference)
193 </dd>
194 </xsl:if>
195 </xsl:for-each>
196 </dl>
david_williams762b7a52007-02-22 07:59:57 +0000197
198
199
200 <h3 id="featuremajor">Features with major version increase</h3>
201 <dl>
david_williamsab04f962006-12-10 09:39:38 +0000202 <xsl:for-each select="versioningCompare">
203 <xsl:if
david_williams762b7a52007-02-22 07:59:57 +0000204 test="@kind = 'increase' and @field='major' and @codePackageType ='feature'">
david_williamsab04f962006-12-10 09:39:38 +0000205 <dt style="font-weight: bold; color: gold">
206 <xsl:value-of select="entry" />
207 </dt>
208 <dd style="font-family: monospace">
209 <xsl:value-of select="current" />
210 (current)
211 </dd>
212 <dd style="font-family: monospace">
213 <xsl:value-of select="reference" />
214 (reference)
215 </dd>
216 </xsl:if>
217 </xsl:for-each>
218 </dl>
david_williams762b7a52007-02-22 07:59:57 +0000219 <h3 id="featureminor">Features with minor version increase</h3>
220 <dl>
david_williamsab04f962006-12-10 09:39:38 +0000221 <xsl:for-each select="versioningCompare">
david_williams762b7a52007-02-22 07:59:57 +0000222 <xsl:if
223 test="@kind = 'increase' and @field='minor' and @codePackageType ='feature'">
224 <dt style="font-weight: bold; color: gold">
david_williamsab04f962006-12-10 09:39:38 +0000225 <xsl:value-of select="entry" />
david_williams762b7a52007-02-22 07:59:57 +0000226 </dt>
227 <dd style="font-family: monospace">
228 <xsl:value-of select="current" />
229 (current)
230 </dd>
231 <dd style="font-family: monospace">
232 <xsl:value-of select="reference" />
233 (reference)
234 </dd>
david_williamsab04f962006-12-10 09:39:38 +0000235 </xsl:if>
236 </xsl:for-each>
david_williams762b7a52007-02-22 07:59:57 +0000237 </dl>
238 <h3 id="featureservice">Features with service version increase</h3>
239 <dl>
david_williamsab04f962006-12-10 09:39:38 +0000240 <xsl:for-each select="versioningCompare">
david_williams762b7a52007-02-22 07:59:57 +0000241 <xsl:if
242 test="@kind = 'increase' and @field='service' and @codePackageType ='feature'">
243 <dt style="font-weight: bold; color: gold">
david_williamsab04f962006-12-10 09:39:38 +0000244 <xsl:value-of select="entry" />
david_williams762b7a52007-02-22 07:59:57 +0000245 </dt>
246 <dd style="font-family: monospace">
247 <xsl:value-of select="current" />
248 (current)
249 </dd>
250 <dd style="font-family: monospace">
251 <xsl:value-of select="reference" />
252 (reference)
253 </dd>
david_williamsab04f962006-12-10 09:39:38 +0000254 </xsl:if>
255 </xsl:for-each>
david_williams762b7a52007-02-22 07:59:57 +0000256 </dl>
257
258
259
260 <h3 id="feauturequalifier">Features with qualifier-only increases</h3>
261 <dl>
david_williamsab04f962006-12-10 09:39:38 +0000262 <xsl:for-each select="versioningCompare">
david_williams762b7a52007-02-22 07:59:57 +0000263 <xsl:if
264 test="@kind = 'increase' and @field='qualifier' and @codePackageType ='feature'">
265 <dt style="font-weight: bold; color: gold">
david_williamsab04f962006-12-10 09:39:38 +0000266 <xsl:value-of select="entry" />
david_williams762b7a52007-02-22 07:59:57 +0000267 </dt>
268 <dd style="font-family: monospace">
269 <xsl:value-of select="current" />
270 (current)
271 </dd>
272 <dd style="font-family: monospace">
273 <xsl:value-of select="reference" />
274 (reference)
275 </dd>
david_williamsab04f962006-12-10 09:39:38 +0000276 </xsl:if>
277 </xsl:for-each>
david_williams762b7a52007-02-22 07:59:57 +0000278 </dl>
279
280
281
282
283
284
285
286 <h3 id="bundlesnew">New bundles in current but not in reference</h3>
287 <table border="1">
288 <tr><th>bundle</th><th>version</th></tr>
289
290 <xsl:for-each select="versioningCompare">
291 <xsl:if test="@kind = 'extraInReference' and @codePackageType ='bundle'">
292 <tr>
293 <td><xsl:value-of select="entry" /></td>
294 <td><xsl:value-of select="reference" /></td>
295 </tr>
296 </xsl:if>
297 </xsl:for-each>
298 </table>
299 <h3 id="featuresnew">New features in current but not in reference</h3>
300 <table border="1">
301 <tr><th>feature</th><th>version</th></tr>
302 <xsl:for-each select="versioningCompare">
303 <xsl:if test="@kind = 'extraInReference' and @codePackageType ='feature'">
304 <tr>
305 <td><xsl:value-of select="entry" /></td>
306 <td><xsl:value-of select="reference" /></td>
307 </tr>
308 </xsl:if>
309 </xsl:for-each>
310 </table>
311
312
313 <h3 id="bundlesgone">Bundles in reference but not in current</h3>
314 <table border="1">
315 <tr><th>bundle</th><th>version</th></tr>
316
317 <xsl:for-each select="versioningCompare">
318 <xsl:if test="@kind = 'extraInCurrent' and @codePackageType ='bundle'">
319 <tr>
320 <td><xsl:value-of select="entry" /></td>
321 <td><xsl:value-of select="reference" /></td>
322 </tr>
323 </xsl:if>
324 </xsl:for-each>
325 </table>
326 <h3 id="featuresgone">Features in reference but not in current</h3>
327 <table border="1">
328 <tr><th>feature</th><th>version</th></tr>
329 <xsl:for-each select="versioningCompare">
330 <xsl:if test="@kind = 'extraInCurrent' and @codePackageType ='feature'">
331 <tr>
332 <td><xsl:value-of select="entry" /></td>
333 <td><xsl:value-of select="reference" /></td>
334 </tr>
335 </xsl:if>
336 </xsl:for-each>
337 </table>
338
339 <h3 id="featurenochange">Features with no change</h3>
340 <table border="1">
341 <tr><th>feature</th><th>version</th></tr>
342
343 <xsl:for-each select="versioningCompare">
344 <xsl:if test="@kind = 'noChange' and @codePackageType ='feature'">
345 <tr>
346 <td><xsl:value-of select="entry" /></td>
347 <td><xsl:value-of select="current" /></td>
348 </tr>
349 </xsl:if>
350 </xsl:for-each>
351 </table>
352
353
354 <h3 id="bundlenochange">Bundles with no change</h3>
355
356 <table border="1">
357 <tr><th>bundle</th><th>version</th></tr>
358
359 <xsl:for-each select="versioningCompare">
360 <xsl:if test="@kind = 'noChange' and @codePackageType ='bundle'">
361 <tr>
362 <td><xsl:value-of select="entry" /></td>
363 <td><xsl:value-of select="current" /></td>
364 </tr>
365 </xsl:if>
366 </xsl:for-each>
367 </table>
368
369
370
david_williams3926e9f2006-12-09 08:23:14 +0000371 </xsl:template>
372
373
374</xsl:stylesheet>