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
74cf3e0711
add anoia.net.constants for SOCK_{STREAM,DGRAM} etc
...
we use an ugly bit of C preprocessor to get the values from
header files, because certain constants are different on MIPS
than on other architectures
2024-04-26 16:43:09 +01:00
cdb23b147c
convert anoia.fs to use lualinux
2024-04-25 21:14:37 +01:00
dbd1264352
convert anoia.fs to use lualinux instead of lfs
2024-04-24 20:44:32 +01:00
8af4e9fd5b
package anoia assert macros and point fennelrepl at them
2024-04-20 14:59:14 +01:00
7e19d80130
anoia: add assert macro module
...
contains expect and expect=
2024-04-20 14:04:32 +01:00
ea2b25168e
add uevent-watch, which toggles services based on uevent msgs
2024-04-15 21:15:07 +01:00
b231664a06
anoia: add basename, dirname
2024-04-11 23:11:20 +01:00
f4bf3029fa
anoia: alphabetize exports
2024-04-11 23:11:13 +01:00
e4ac7f19dc
fix ifwait deps
2024-03-16 20:16:49 +00:00
5184ff63f7
add anoia.nl, a convenience wrapper on netlink
2024-03-06 23:19:47 +00:00
9730cdd63b
add assoc to anoia
2024-03-06 23:19:47 +00:00
84fa8d65f4
fennel: system: verbose log of command that was run
2024-02-21 19:27:14 +00:00
b3e505abf4
anoia.system print command if it failed
2023-09-13 17:50:40 +01:00
8f97c5bf3c
anoia service :events method behaves as iterator
2023-09-12 20:46:52 +01:00
7904c6bfe9
anoia users now need lfs
...
... and we need to figure out how to do transitive
dependencies, because this is not a great experience
2023-09-12 18:46:04 +01:00
d49cbbb8ed
test for acquire-wan-address
2023-09-11 00:07:49 +01:00
22275f311c
anoia: add simple hash function and base64 encoder
2023-09-10 12:14:39 +01:00
870da62a1e
anoia.svc outputs may be directories (read as table)
2023-09-09 00:30:02 +01:00
9dd3cf23b4
anoia.fs.mktree replaces mkdir
...
This uses lfs to make the tree in-process instead of
shelling out to the mkdir command
2023-09-08 21:17:42 +01:00
4e9227dff3
move rmtree to anoia library
2023-09-08 21:03:18 +01:00
353a199ab2
odhcpc script: parse ADDRESSES and PREFIXES
...
so downstream doesn't have to
2023-09-05 22:42:25 +01:00
0c41e9305c
extract service output watcher to fennel module
2023-07-08 23:08:24 +01:00
2de4d7a8f9
fennel: extract some common functions into a shareable module
2023-07-05 20:23:27 +01:00