1
0
Commit Graph

26 Commits

Author SHA1 Message Date
7e2b0068e6 nixfmt-rfc-style
There is nothing in this commit except for the changes made by
nix-shell -p nixfmt-rfc-style --run "nixfmt ."

If this has mucked up your open branches then sorry about that. You
can probably nixfmt them to match before merging
2025-02-10 21:55:08 +00:00
7d6c80570c refactor all writeFennelScript calls to use writeFennel directly 2024-08-30 20:57:42 +01:00
3df1ec76ff cleanup whitespace and commas
* [] is now [ ]
* {} is now { }
* commas in arglists go at end of line not beginning

In short, I ran the whole thing through nixfmt-rfc-style but only
accepted about 30% of its changes. I might grow accustomed to more
of it over time
2024-06-30 17:16:28 +01:00
e94bf62ec1 remove dead code (run deadnix) 2024-06-29 22:59:27 +01:00
771585546d import expect= where previously it was copy-pasted 2024-04-20 15:09:50 +01:00
77f1a78331 ifwait block if s6-rc lock is held
otherwise it doesn't trigger the service if something else is
slow to start
2024-03-28 20:59:39 +00:00
e4ac7f19dc fix ifwait deps 2024-03-16 20:16:49 +00:00
f164f19d95 service starts and stops 2024-03-06 23:19:47 +00:00
dd4ab41f6a rename run-event 2024-03-06 23:19:47 +00:00
5d5dff6729 WIP add failing test that service starts 2024-03-06 23:19:47 +00:00
570d29c368 pass command line params to run instead of reffing global 2024-03-06 23:19:47 +00:00
725af00dc9 improve test for dummy0 up
if we run off the end of the events fixture, it didn't work
2024-03-06 23:19:47 +00:00
e1b932ec27 remove hardcoded filename in test event generator 2024-03-06 23:19:47 +00:00
7173b6fb1c don't call os.exit 2024-03-06 23:19:47 +00:00
ed9548f21d pass event producer fn as param 2024-03-06 23:19:47 +00:00
0787807a7f ifwait: don't run on load if in test harness 2024-03-06 23:19:47 +00:00
38ed91f641 simplify assertion 2024-03-06 23:19:47 +00:00
ffe9603c39 remove file-scoped parameters var 2024-03-06 23:19:47 +00:00
cbd3dfefc5 ifwait fixture/test harness 2024-03-06 23:19:47 +00:00
018c1868b5 ifwait: use anoia.assoc 2024-03-06 23:19:47 +00:00
5184ff63f7 add anoia.nl, a convenience wrapper on netlink 2024-03-06 23:19:47 +00:00
41687e916d rename luaSmall package to lua 2023-07-02 18:19:54 +01:00
fdffdbb22a add writeFennelScript function, make ifwait use it 2023-05-29 20:20:12 +01:00
a172180be8 don't set lua5_3 in overlay
sphinx depends on lua5_3, so overriding it globally means rebuilding
that - which isn't really necessary
2023-03-24 23:43:13 +00:00
1565a8414d remove inadvertant references to bash 2023-03-06 17:48:31 +00:00
626a365f79 replace waitup with more generally useful ifwait
* wait for $interface present before ip link set up dev
* wait for wlan0 running before adding to bridge
2023-03-01 18:16:01 +00:00