-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemplate.html
168 lines (161 loc) · 6.54 KB
/
template.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Report of packages">
<meta name="author" content="alexsaezm">
<title>{{ title }}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs5/dt-1.11.3/datatables.min.css"/>
<style type="text/css" media="screen">
.importing, .pending {
color: #0dcaf0;
}
.starting, .running {
color: #ffc107;
}
.succeeded, .forked, .skipped {
color: #198754;
}
.failed {
color: #dc3545;
}
.canceled {
color: #212529;
}
.missing {
visibility: hidden;
}
.rebuild, .rebuild > a {
color: grey;
}
</style>
</head>
<body>
<div class="container">
<div class="page-header">
<h1>{{ title }}</h1>
<a href='f36-todo.html'>Fedora 36</a>
<a href='f37-todo.html'>Fedora 37</a>
<a href='f38-todo.html'>Fedora 38</a>
<a href='f38-llvm17-20230401-todo.html'>Fedora 38/LLVM 17 Snapshot (2023-04-01)</a>
<a href='f38-llvm17-20230508-todo.html'>Fedora 38/LLVM 17 Snapshot (2023-05-08)</a>
<a href='f38-llvm17-20230601-todo.html'>Fedora 38/LLVM 17 Snapshot (2023-06-01)</a>
<a href='f38-llvm18-20231016-todo.html'>Fedora 38/LLVM 17 Snapshot (2023-10-06)</a>
<a href='f38-status.html'>More Data</a><br><br>
{{ description }}
</p>
</div>
<div class="table-responsive">
<table id="packages" class="table table-striped" style="width:100%">
<thead>
<tr>
<th>Name</th>
<th>Builds with current clang release</th>
<th>Builds with next clang release</th>
<th>Changes</th>
<th>Notes</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Name</th>
<th>Builds with current clang release</th>
<th>Builds with next clang release</th>
<th>Changes</th>
<th>Notes</th>
</tr>
</tfoot>
<tbody>
{% for name, data in results.items() -%}
<tr>
<td>{{ name }}</td>
<td>
{% for k, b in data["builds_a"]["chroots"].items()|sort() %}
<p class="{{ b.state }}">
{% if b.state == "importing" or b.state == "pending" %}
<i class="bi bi-hourglass-top"></i>
{% endif %}
{% if b.state == "starting" or b.state == "running" %}
<i class="bi bi-hourglass-split"></i>
{% endif %}
{% if b.state == "succeeded" or b.state == "forked" or b.state == "skipped" %}
<i class="bi bi-check-circle"></i>
{% endif %}
{% if b.state == "failed" %}
<i class="bi bi-exclamation-octagon"></i>
{% endif %}
{% if b.state == "canceled" %}
<i class="bi bi-slash-circle"></i>
{% endif %}
<a href="{{ b['url_build_log'] }}"> {{ k.split('-')[-1] }} </a>
 <span class="rebuild">
(<a href="{{ b['url_resubmit'] }}">Resubmit</a>)
</span>
</p>
{% endfor %}
<span class="rebuild">
(<a href="{{ data['builds_a']['url_rebuild'] }}">Rebuild</a>)
</span>
</td>
<td>
{% for k, b in data["builds_b"]["chroots"].items()|sort() %}
<p class="{{ b.state }}">
{% if b.state == "importing" or b.state == "pending" %}
<i class="bi bi-hourglass-top"></i>
{% endif %}
{% if b.state == "starting" or b.state == "running" %}
<i class="bi bi-hourglass-split"></i>
{% endif %}
{% if b.state == "succeeded" or b.state == "forked" or b.state == "skipped" %}
<i class="bi bi-check-circle"></i>
{% endif %}
{% if b.state == "failed" %}
<i class="bi bi-exclamation-octagon"></i>
{% endif %}
{% if b.state == "canceled" %}
<i class="bi bi-slash-circle"></i>
{% endif %}
{% if b.url is not none %}
<a href="{{ b.url_build_log }}"> {{ k.split('-')[-1] }} </a>
 <span class="rebuild">
(<a href="{{ b['url_resubmit'] }}">Resubmit</a>)
</span>
{% else %}
{{ b.arch }}
{% endif %}
</p>
{% endfor %}
<span class="rebuild">
(<a href="{{ data['builds_b']['url_rebuild'] }}">Rebuild</a>)
</span>
</td><td>
{% if data['changed'] == 'Regression' %}
{{ data['changed'] }}
{% endif %}
</td>
<td>{{ data['note'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<footer class="py-3 my-4">
<p class="text-center text-muted">Generated: {{ date }}</p>
</footer>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs5/dt-1.11.3/datatables.min.js"></script>
<script>
$(document).ready(function () {
$('#packages').DataTable();
});
</script>
</body>
</html>