Skip to content

Commit e377762

Browse files
committed
fix: tests
1 parent 0097b4c commit e377762

3 files changed

Lines changed: 353 additions & 195 deletions

File tree

www/config.js

Lines changed: 82 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,59 @@ var config = {
1818
"2020.4-ow19",
1919
],
2020
versions_info: {
21-
"master-SNAPSHOT": { build_only: true, openwrt_version: "SNAPSHOT", libremesh_ref: "master", flavor: "default" },
22-
"master-ow25.12-SNAPSHOT": { build_only: true, openwrt_version: "25.12-SNAPSHOT", libremesh_ref: "master", flavor: "default" },
23-
"master-ow24.10-SNAPSHOT": { build_only: true, openwrt_version: "24.10-SNAPSHOT", libremesh_ref: "master", flavor: "default" },
24-
"master-ow24.10.5": {build_only: true, openwrt_version: "24.10.5", libremesh_ref: "master",flavor: "default" },
25-
"master-ow24.10.4": {build_only: true, openwrt_version: "24.10.4", libremesh_ref: "master",flavor: "default" },
26-
"master-ow23.05-SNAPSHOT": {build_only: true,openwrt_version: "23.05-SNAPSHOT", libremesh_ref: "master",flavor: "default" },
27-
"master-ow23.05.6": {build_only: true, openwrt_version: "23.05.6", libremesh_ref: "master",flavor: "default" },
28-
"2024.1-ow23.05.5-default": {openwrt_version: "23.05.5", libremesh_ref: "2024.1", flavor: "default"},
29-
"2024.1-ow23.05.5-mini": {openwrt_version: "23.05.5", libremesh_ref: "2024.1", flavor: "mini"},
30-
"2020.4-ow19": {allow_build: false, openwrt_version: "19.07.10"},
21+
"master-SNAPSHOT": {
22+
build_only: true,
23+
openwrt_version: "SNAPSHOT",
24+
libremesh_ref: "master",
25+
flavor: "default",
26+
},
27+
"master-ow25.12-SNAPSHOT": {
28+
build_only: true,
29+
openwrt_version: "25.12-SNAPSHOT",
30+
libremesh_ref: "master",
31+
flavor: "default",
32+
},
33+
"master-ow24.10-SNAPSHOT": {
34+
build_only: true,
35+
openwrt_version: "24.10-SNAPSHOT",
36+
libremesh_ref: "master",
37+
flavor: "default",
38+
},
39+
"master-ow24.10.5": {
40+
build_only: true,
41+
openwrt_version: "24.10.5",
42+
libremesh_ref: "master",
43+
flavor: "default",
44+
},
45+
"master-ow24.10.4": {
46+
build_only: true,
47+
openwrt_version: "24.10.4",
48+
libremesh_ref: "master",
49+
flavor: "default",
50+
},
51+
"master-ow23.05-SNAPSHOT": {
52+
build_only: true,
53+
openwrt_version: "23.05-SNAPSHOT",
54+
libremesh_ref: "master",
55+
flavor: "default",
56+
},
57+
"master-ow23.05.6": {
58+
build_only: true,
59+
openwrt_version: "23.05.6",
60+
libremesh_ref: "master",
61+
flavor: "default",
62+
},
63+
"2024.1-ow23.05.5-default": {
64+
openwrt_version: "23.05.5",
65+
libremesh_ref: "2024.1",
66+
flavor: "default",
67+
},
68+
"2024.1-ow23.05.5-mini": {
69+
openwrt_version: "23.05.5",
70+
libremesh_ref: "2024.1",
71+
flavor: "mini",
72+
},
73+
"2020.4-ow19": { allow_build: false, openwrt_version: "19.07.10" },
3174
},
3275

3376
// Pre-selected version (optional if provided by .versions.json)
@@ -47,17 +90,37 @@ var config = {
4790
asu_url: "https://sysupgrade.antennine.org",
4891
// asu_extra_packages: ["owut"],
4992

50-
flavors: {"default": [ "babeld-auto-gw-mode", "batctl-default", "check-date-http", "lime-app", "lime-debug", "lime-docs", "lime-docs-minimal", "lime-hwd-ground-routing", "lime-hwd-openwrt-wan", "lime-proto-anygw", "lime-proto-babeld", "lime-proto-batadv", "shared-state", "shared-state-babeld_hosts", "shared-state-bat_hosts", "shared-state-nodes_and_links"
93+
flavors: {
94+
default: [
95+
"babeld-auto-gw-mode",
96+
"batctl-default",
97+
"check-date-http",
98+
"lime-app",
99+
"lime-debug",
100+
"lime-docs",
101+
"lime-docs-minimal",
102+
"lime-hwd-ground-routing",
103+
"lime-hwd-openwrt-wan",
104+
"lime-proto-anygw",
105+
"lime-proto-babeld",
106+
"lime-proto-batadv",
107+
"shared-state",
108+
"shared-state-babeld_hosts",
109+
"shared-state-bat_hosts",
110+
"shared-state-nodes_and_links",
111+
],
112+
mini: [
113+
"babeld-auto-gw-mode",
114+
"lime-docs-minimal",
115+
"lime-hwd-openwrt-wan",
116+
"lime-proto-anygw",
117+
"lime-proto-babeld",
118+
"lime-proto-batadv",
119+
"shared-state",
120+
"shared-state-babeld_hosts",
51121
],
52-
"mini": [ "babeld-auto-gw-mode", "lime-docs-minimal", "lime-hwd-openwrt-wan", "lime-proto-anygw", "lime-proto-babeld", "lime-proto-batadv", "shared-state", "shared-state-babeld_hosts",
53-
]
54122
},
55123

56124
// packages changes from openwrt's default_packages
57-
version_packages: [
58-
"-dnsmasq",
59-
"-odhcpd-ipv6only",
60-
"-ppp",
61-
"-ppp-mod-pppoe"
62-
]
125+
version_packages: ["-dnsmasq", "-odhcpd-ipv6only", "-ppp", "-ppp-mod-pppoe"],
63126
};

www/index.html

Lines changed: 64 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -161,47 +161,96 @@ <h3 id="build-title" class="tr-version-build">About this build</h3>
161161
<!-- libremesh info -->
162162
<details class="libremesh-info">
163163
<summary>Libremesh packages info</summary>
164-
<div style="margin-top:1em">
165-
<a style="display:block; margin:1em 0;" href="https://libremesh.org/development.html">https://libremesh.org/development.html</a>
164+
<div style="margin-top: 1em">
165+
<a
166+
style="display: block; margin: 1em 0"
167+
href="https://libremesh.org/development.html"
168+
>https://libremesh.org/development.html</a
169+
>
166170
<div style="font-size: 0.85em">
167171
<div class="libremesh-version-packages-wrapper">
168-
<strong>Version packages:</strong><span> related to openwrt default_packages</span>
169-
<p class="info-item" id="libremesh-version-packages"></p>
172+
<strong>Version packages:</strong
173+
><span> related to openwrt default_packages</span>
174+
<p
175+
class="info-item"
176+
id="libremesh-version-packages"
177+
></p>
170178
</div>
171179
<div class="libremesh-device-packages-wrapper">
172180
<strong>Device packages: </strong>
173181
<ul>
174-
<li><b>ath10k</b>: replace ath10k-ct with ath10k to work with 802.11s on most devices <a href="https://openwrt.org/docs/guide-user/network/wifi/mesh/80211s">Source</a></li>
175-
<li><b>ath9k</b>: add the package <i><b>wifi-unstuck-wa</b></i> to workaround deaf radios <a href="https://github.com/openwrt/openwrt/issues/7016">Source</a></li>
182+
<li>
183+
<b>ath10k</b>: replace ath10k-ct with ath10k to work
184+
with 802.11s on most devices
185+
<a
186+
href="https://openwrt.org/docs/guide-user/network/wifi/mesh/80211s"
187+
>Source</a
188+
>
189+
</li>
190+
<li>
191+
<b>ath9k</b>: add the package
192+
<i><b>wifi-unstuck-wa</b></i> to workaround deaf
193+
radios
194+
<a
195+
href="https://github.com/openwrt/openwrt/issues/7016"
196+
>Source</a
197+
>
198+
</li>
176199
</ul>
177200
<p class="info-item" id="libremesh-device-packages"></p>
178201
</div>
179202
<div class="libremesh-default-packages-wrapper">
180203
<strong>Suggested packages:</strong>
181204
<ul>
182-
<li><b>default</b>: or use the network profile <i><b>profile-libremesh-suggested-packages</b></i> <a href="https://github.com/libremesh/network-profiles/blob/master/libremesh/suggested-packages/Makefile">Source</a></li>
183-
<li><b>mini</b>: or use the network profile <i><b>profile-libremesh-suggested-packages-tiny</b></i> <a href="https://github.com/libremesh/network-profiles/blob/master/libremesh/suggested-packages-tiny/Makefile">Source</a></li>
205+
<li>
206+
<b>default</b>: or use the network profile
207+
<i><b>profile-libremesh-suggested-packages</b></i>
208+
<a
209+
href="https://github.com/libremesh/network-profiles/blob/master/libremesh/suggested-packages/Makefile"
210+
>Source</a
211+
>
212+
</li>
213+
<li>
214+
<b>mini</b>: or use the network profile
215+
<i
216+
><b
217+
>profile-libremesh-suggested-packages-tiny</b
218+
></i
219+
>
220+
<a
221+
href="https://github.com/libremesh/network-profiles/blob/master/libremesh/suggested-packages-tiny/Makefile"
222+
>Source</a
223+
>
224+
</li>
184225
</ul>
185-
<p class="info-item" id="libremesh-default-packages"></p>
226+
<p
227+
class="info-item"
228+
id="libremesh-default-packages"
229+
></p>
186230
</div>
187231
</div>
188232
</div>
189233
</details>
190-
234+
191235
<style>
192236
.info-item {
193237
background-color: #fff;
194-
border-radius: .3em;
195-
padding: 0.5em
238+
border-radius: 0.3em;
239+
padding: 0.5em;
196240
}
197241
.libremesh-info {
198-
margin: 1em 0; font-size:.9em; background-color: #ccfea7; padding: 1em; border-radius: .3em; line-height: normal;
242+
margin: 1em 0;
243+
font-size: 0.9em;
244+
background-color: #ccfea7;
245+
padding: 1em;
246+
border-radius: 0.3em;
247+
line-height: normal;
199248
}
200-
249+
201250
@media (prefers-color-scheme: dark) {
202251
.info-item {
203252
background-color: #18181b;
204-
color: #fff
253+
color: #fff;
205254
}
206255
.libremesh-info {
207256
background-color: #004d00;

0 commit comments

Comments
 (0)