Commit graph

71 commits

Author SHA1 Message Date
Qyriad
ccd37ee169 daemon tests for gotosocial 2026-03-25 19:21:37 +01:00
Qyriad
7f4a5a35ca daemon w/ tests PoC 2026-03-24 15:07:52 +01:00
Qyriad
68fc04a6d2 nix: output docs in 2026-03-23 17:38:16 +01:00
Qyriad
2ecd987be6 refactor daemon polling and event handling 2026-03-22 18:41:13 +01:00
Qyriad
d4b40e8cc1 WIP: refactor daemon API types to daemon/api.rs 2026-03-22 18:24:14 +01:00
Qyriad
420fac5f18 fix a bunch of lints 2026-03-22 17:10:26 +01:00
Qyriad
aed73e99be use lld for faster link times 2026-03-22 17:02:53 +01:00
Qyriad
88be53cd2f remove the persistent buffer until a refactor makes it per-connection 2026-03-22 17:02:53 +01:00
Qyriad
bd3ec3a904 nix: apply mkPretty to sub-derivations 2026-03-22 17:02:53 +01:00
Qyriad
e016c37634 customize Cargo a bit, for now 2026-03-22 16:41:01 +01:00
Qyriad
373e300b59 flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/64407ddb1932af06ed5cd711f6a2ed946b2548b9' (2026-03-10)
  → 'github:nix-community/fenix/4cd28929c68cae521589bc21958d3793904ed1e2' (2026-03-22)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/608d0cadfed240589a7eea422407a547ad626a14' (2026-03-08)
  → 'github:NixOS/nixpkgs/9cf7092bdd603554bd8b63c216e8943cf9b12512' (2026-03-18)
2026-03-22 15:00:06 +01:00
Qyriad
ac53850fd1 PoC daemon edition 2026-03-20 20:43:17 +01:00
Qyriad
16f2649334 close() fds that have nothing more to read 2026-03-20 19:21:31 +01:00
Qyriad
b11627d030 track poller and daemon fds like the rest 2026-03-19 21:28:32 +01:00
Qyriad
aee8dcb31a more reasonable tracking of open FDs 2026-03-19 19:54:20 +01:00
Qyriad
398fccc5d0 some semblance of socket support 2026-03-19 17:47:42 +01:00
Qyriad
470fe05b76 cli: default RUST_LOG if it's not set 2026-03-17 14:33:49 +01:00
Qyriad
74c2eaf66d some semblance of an event loop 2026-03-16 19:19:40 +01:00
Qyriad
a72a48f92b add types in preparation for non-blocking stdin 2026-03-11 17:48:36 +01:00
Qyriad
a9068f86f3 maint: remove unnecessary srcs/phases in derivations 2026-03-11 14:27:06 +01:00
Qyriad
117652a6a6 maint: put cargo completions in the dev shell 2026-03-10 19:58:56 +01:00
Qyriad
61e66599f7 maint: update Cargo.lock
clap v4.5.58 -> v4.5.60
clap_builder v4.5.58 -> v4.5.60
libc v0.2.182 -> v0.2.183
linux-raw-sys v0.11.0 -> v0.12.1
owo-colors v4.2.3 -> v4.3.0
pin-project-lite v0.2.16 -> v0.2.17
quote v1.0.44 -> v1.0.45
regex-syntax v0.8.9 -> v0.8.10
rustix v1.1.3 -> v1.1.4
syn v2.0.116 -> v2.0.117
2026-03-10 19:35:15 +01:00
Qyriad
b48209a33a fix a bunch of warnings! 2026-03-10 18:47:06 +01:00
Qyriad
b49032d5f4 flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/6dfabfd5c569304182ca0b670c0d5765acbd1081' (2026-03-05)
  → 'github:nix-community/fenix/64407ddb1932af06ed5cd711f6a2ed946b2548b9' (2026-03-10)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/66d9241e3dc2296726dc522e62dbfe89c7b449f3' (2026-03-05)
  → 'github:NixOS/nixpkgs/608d0cadfed240589a7eea422407a547ad626a14' (2026-03-08)
• Updated input 'qyriad-nur':
    'github:Qyriad/nur-packages/3d535db1396b61d78fb5e3debcaf8c8bc0aa13ee' (2026-03-03)
  → 'github:Qyriad/nur-packages/c94411f1020bc95f6f90f3d3b8ec1207ab635cd9' (2026-03-10)
2026-03-10 16:19:22 +01:00
Qyriad
e42e76d167 flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/2e3759c5ef51f320eb0aaf83f2a32baae33db237' (2026-02-16)
  → 'github:nix-community/fenix/6dfabfd5c569304182ca0b670c0d5765acbd1081' (2026-03-05)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fef9403a3e4d31b0a23f0bacebbec52c248fbb51' (2026-02-08)
  → 'github:NixOS/nixpkgs/66d9241e3dc2296726dc522e62dbfe89c7b449f3' (2026-03-05)
• Updated input 'qyriad-nur':
    'github:Qyriad/nur-packages/23716e0347215a721f9489515a0c3dc91122c7d5' (2026-02-06)
  → 'github:Qyriad/nur-packages/3d535db1396b61d78fb5e3debcaf8c8bc0aa13ee' (2026-03-03)
2026-03-05 17:23:17 +01:00
Qyriad
fa81457170 packaging: checkMeta 2026-03-05 17:19:49 +01:00
Qyriad
d681b96bc4 license under the European Union Public License 1.2 2026-03-05 17:19:49 +01:00
Qyriad
5d541b9b30 by default, don't use a tmpfs for the /nix/store in the VM tests 2026-03-05 16:03:17 +01:00
Qyriad
301fe041c4 add --no-reexec to nixos-rebuild in the VM tests 2026-03-05 16:02:55 +01:00
Qyriad
442728a5ca do less string coercion in test modules in case that reduces copies
idk honestly but these tests take sooo long I'm paranoid
2026-03-05 15:47:02 +01:00
Qyriad
a8a2d6e043 don't include build dependencies for the nixos-rebuilds *in* the VMs 2026-03-05 15:46:05 +01:00
Qyriad
9301d5f6a9 note IFD in tests 2026-03-05 15:45:36 +01:00
Qyriad
ec8f61f4d9 remove unused finalAttrs/self 2026-03-05 15:45:23 +01:00
Qyriad
a82b521d04 README: oops, finish lead sentence 2026-02-18 16:35:00 +01:00
Qyriad
e7cdbdd39b README: add backticks around local paths 2026-02-18 16:26:31 +01:00
Qyriad
9e575d269a add README.md 2026-02-18 16:21:13 +01:00
Qyriad
f447fd0a99 cleanup in tests 2026-02-18 16:17:06 +01:00
Qyriad
6931853de3 remove unused code 2026-02-18 15:02:26 +01:00
Qyriad
a91c419858 normalize whitespace 2026-02-18 13:03:26 +01:00
Qyriad
d76474c524 how did THAT break it 2026-02-17 20:17:24 +01:00
Qyriad
3765e918d6 IT WORKS 2026-02-17 19:48:53 +01:00
Qyriad
da509d97c7 packaging: split derivations correctly to avoid Rust rebuilds for module
changes
2026-02-17 16:12:12 +01:00
Qyriad
26397ccf37 packaging: use fenix for dev shell 2026-02-17 16:10:10 +01:00
Qyriad
f46c2a9934 packaging: convert split derivation to hybrid split/multi-derivation 2026-02-17 13:13:36 +01:00
Qyriad
4aac9a8dba maint(deps): update Cargo.lock 2026-02-16 19:39:48 +01:00
Qyriad
dfdf027bc6 restore old files now! 2026-02-16 19:05:02 +01:00
Qyriad
76b5ac628d start new dynamic apply function 2026-02-16 18:22:04 +01:00
Qyriad
3ed2f2e1a8 add distccd 2026-02-16 12:23:38 +01:00
Qyriad
af46de5628 include post-change configuration in allActivationScripts passthru 2026-02-13 20:47:30 +01:00
Qyriad
4268754afb little more cleanup 2026-02-13 20:47:30 +01:00