Commit Graph

25 Commits

Author SHA1 Message Date
oysteikt dc7b72efe5 flake.nix: add vm for testing non-mariadb mysql 2025-12-14 03:07:14 +09:00
oysteikt 222941509d core: check suid/sgid dynamically instead of checking file
Build and test / check (push) Successful in 1m41s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m56s
Build and test / docs (push) Successful in 5m29s
Build and test / build (push) Successful in 3m9s
2025-12-04 20:29:44 +09:00
oysteikt b0ae6e563d Add nix support for suid/sgid testing
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 4m1s
Build and test / check-license (push) Successful in 4m55s
Build and test / test (push) Successful in 3m26s
Build and test / docs (push) Successful in 6m18s
2025-12-04 11:42:49 +09:00
oysteikt fbf90a456a mysql-admutils: fix generated completions
Build and test / check (push) Successful in 2m35s
Build and test / build (push) Successful in 3m29s
Build and test / check-license (push) Successful in 4m51s
Build and test / test (push) Successful in 3m58s
Build and test / docs (push) Successful in 5m31s
There is a bug in clap dynamic completions, where it does not account
for alternative binary names. This hack should fix it for now
2025-12-03 16:53:35 +09:00
oysteikt 5faf0c2f0a nix: ensure argv0 is correct when generating completions 2025-12-03 16:53:35 +09:00
oysteikt 7df04ec413 Fix verbosity flag and default logging level
Build and test / check (push) Failing after 40s
Build and test / build (push) Successful in 3m9s
Build and test / test (push) Successful in 3m24s
Build and test / check-license (push) Successful in 5m48s
Build and test / docs (push) Successful in 5m18s
2025-12-03 11:39:39 +09:00
oysteikt fae1c2c1c8 Add default config for debian, use systemd-creds by default 2025-12-02 15:19:35 +09:00
oysteikt f348e67622 Add dynamic completion for users and databases
Build and test / check (push) Successful in 1m35s
Build and test / build (push) Successful in 2m46s
Build and test / test (push) Successful in 3m10s
Build and test / check-license (push) Successful in 6m12s
Build and test / docs (push) Successful in 4m39s
2025-12-01 17:26:17 +09:00
oysteikt a6db254c20 server: disable landlock in systemd daemon
This ensures that reloads work correctly
2025-12-01 12:59:53 +09:00
oysteikt fd3fd30df9 module.nix: load mysql.passwordFile via LoadCredential 2025-11-30 04:08:02 +09:00
oysteikt de57860395 module.nix: apply chroot 2025-11-30 04:08:01 +09:00
oysteikt 1fe08b59a3 server: implement graceful shutdown and reloads 2025-11-30 04:08:01 +09:00
oysteikt 877f45c103 nix: vendor systemd units 2025-11-29 15:20:15 +09:00
oysteikt e51e8fe408 flake.nix: fix loglevel setting, module.nix: use default loglevel 'info'
Build and test / check (push) Successful in 2m6s
Build and test / build (push) Successful in 2m45s
Build and test / check-license (push) Successful in 5m30s
Build and test / test (push) Successful in 3m39s
Build and test / docs (push) Successful in 5m2s
2025-11-26 19:11:06 +09:00
oysteikt a4acfe91af Rename project to muscl 2025-11-26 13:50:06 +09:00
oysteikt 39fa228d1c flake.nix: build with crane for vm
Build and test / check (push) Successful in 1m30s
Build and test / build (push) Successful in 3m56s
Build and test / test (push) Successful in 2m55s
Build and test / check-license (push) Successful in 5m32s
Build and test / docs (push) Successful in 6m47s
2025-11-26 01:10:01 +09:00
oysteikt 9e23f03ca2 Use non-templated systemd service
The previous setup was broken

This commit also adds some code to check that the database connection is
valid before it starts, as well as refactors the code that splits
between starting and external or internal server.
2025-11-10 00:38:26 +09:00
oysteikt 05a4f9ad1d module.nix: don't run with debug logging by default (move to test vm) 2025-11-09 20:28:19 +09:00
oysteikt a57eefa5be module.nix: render config to /etc 2025-11-09 20:27:36 +09:00
oysteikt 45fbec1ad4 module.nix: default runtimedir to /run, improve systemd unit 2025-11-09 20:14:48 +09:00
oysteikt 0294381804 module.nix: explicitly disable PrivateIPC
Build / build (push) Successful in 12m55s
Build / check (push) Successful in 11m32s
Build / docs (push) Successful in 15m46s
2025-11-09 16:07:19 +09:00
oysteikt cdb1fb4181 Integrate better with systemd + better logs and protocol usage
This commits adds the following:

- Better systemd integration and usage:
  - More hardening
  - A watchdog thread
  - Journald native logging

as well as

- Better logs
- Some protocol usage fixes
2024-08-20 17:46:40 +02:00
oysteikt b9a1d91630 Add nixos module 2024-08-19 18:00:57 +02:00
oysteikt 807017ea70 add shell completion 2024-08-19 02:23:31 +02:00
oysteikt dc29dd274a flake.nix: create packaging, generate coverage 2024-08-09 19:05:16 +02:00