-
Notifications
You must be signed in to change notification settings - Fork 0
/
migration-reporter.html
47 lines (41 loc) · 1005 Bytes
/
migration-reporter.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<head>
<title>migration-reporter</title>
</head>
<body>
{{> headlineFigures}}
{{> errorVersionsTable}}
</body>
<template name="headlineFigures">
<h1>Atmosphere / Troposphere Migration</h1>
<h3>{{count 'allVersions'}} versions in DB</h3>
<h3>{{successfullyMigrated}} successfully migrated!</h3>
</template>
<template name="errorVersionsTable">
<h2>Errors:</h2>
<ul>
{{#each knownErrorTypes}}
<li>{{count this}} <code>{{this}}</code>.</li>
{{/each}}
</ul>
<h3>{{versions.count}} unknown errors:</h3>
<table>
<thead>
<tr>
<th>Package</th>
<th>Version</th>
<th>Author</th>
<th>Error</th>
</tr>
</thead>
<tbody>
{{#each versions}}
<tr>
<td>{{name}}</td>
<td>{{version}}</td>
<td>{{username}}</td>
<td><pre>{{#if expand}}{{error}}{{else}}{{truncateLines error}}{{/if}}</pre></td>
</tr>
{{/each}}
</tbody>
</table>
</template>