810c66ac86
Make log level configurable, remove custom log message handler
2024-11-09 17:09:47 +01:00
31af39ce4c
Embed default daemon.yml directly in entrypoint
2024-09-24 11:27:54 +02:00
de7aac1f25
Refactor command-line parsing, pass --network to most commands
2024-09-23 20:50:45 +02:00
df4eae8a5c
Support configuring more than one network
2024-09-10 22:51:33 +02:00
8c3e6a2845
Separate Daemon and Network logic into separate packages
...
In a world where the daemon can manage more than one network, the Daemon
is really responsible only for knowing which networks are currently
joined, creating/joining/leaving networks, and routing incoming RPC
requests to the correct network handler as needed.
The new network package, with its Network interface, inherits most of
the logic that Daemon used to have, leaving Daemon only the parts needed
for the functionality just described. There's a lot of cleanup done here
in order to really nail down the separation of concerns between the two,
especially around directory creation.
2024-09-09 16:34:00 +02:00
a840d0e701
Move common daemon types and values into daecommon
2024-09-07 15:11:04 +02:00
ef86c1bbd1
Make Daemon into a concrete type which implements RPC directly
2024-09-07 14:05:07 +02:00
06a345ecd1
Embed context directly into subCmdCtx
2024-09-04 22:35:29 +02:00
4f6a89ced0
Roadmap has been moved to micropelago.net
2024-09-01 12:20:37 +02:00
c94f8e3475
Move creation of children into daemon initialize method
2024-07-20 11:14:59 +02:00
e657061482
Set permission bits on unix socket, so it's group read/writable
2024-07-16 17:30:36 +02:00
c5e919dc86
Remove runtime dir locking code
2024-07-12 16:13:44 +02:00
7d8b274445
Implement JoinNetwork RPC method, and accompanying sub-command
2024-07-07 12:44:49 +02:00
81368821b7
Refactor Daemon into Children and DaemonRestarter into Daemon
2024-07-06 15:36:48 +02:00
05e91cd657
Move daemon restarting logic into daemon package
2024-06-24 18:55:36 +02:00
c808fa81b9
Move some environment variables into daemon package
2024-06-24 14:45:57 +02:00
c3609252a5
Implement RPC socket and use it to list hosts
2024-06-23 14:37:10 +02:00
47e53dffb7
Switch to using latest mediocre-go-lib
2024-06-22 17:49:56 +02:00
4e5d3b28ab
Move some Bootstrap methods onto Daemon
2024-06-17 22:15:28 +02:00
a8893e4fc6
Move daemon sub-process logic into daemon package
2024-06-17 21:06:57 +02:00
aa1a8ea806
Implement archlinux pkg build as part of release
2024-06-17 17:20:34 +02:00
8a1c8d2ed6
Use XDG_STATE_HOME rather than XDG_DATA_HOME for storing bootstrap
2024-06-17 17:20:26 +02:00
f13a08abfb
Use JSON instead of YAML for files which aren't intended for human editing
2024-06-10 18:56:36 +02:00
Brian Picciano
661e2b28cb
Move go code into 'go' tld, to make organization clearer
2023-08-25 15:19:31 +02:00