Commit Graph

237 Commits

Author SHA1 Message Date
47a4bccd2c flake.lock: bump, Cargo.{toml,lock}: update inputs
All checks were successful
Build and test / check (push) Successful in 1m41s
Build and test / build (push) Successful in 3m27s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 6m7s
Build and test / docs (push) Successful in 6m15s
2025-12-15 09:07:23 +09:00
8811a41980 docs: split SUID/SGID installation section into its own document
Some checks failed
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
2025-12-15 09:05:18 +09:00
6e914dec34 Misc. clap improvements, , more accurate value names, ... 2025-12-15 00:46:56 +09:00
7b79f7b163 client/show-privs: allow showing single char hints in table output
All checks were successful
Build and test / check (push) Successful in 1m44s
Build and test / build (push) Successful in 3m24s
Build and test / test (push) Successful in 3m28s
Build and test / check-license (push) Successful in 4m54s
Build and test / docs (push) Successful in 6m43s
2025-12-14 16:01:51 +09:00
56596835fa docs/installation: fix wording for apt repo, reduce number of sudo commands
All checks were successful
Build and test / check (push) Successful in 1m52s
Build and test / build (push) Successful in 3m5s
Build and test / test (push) Successful in 3m26s
Build and test / check-license (push) Successful in 6m9s
Build and test / docs (push) Successful in 5m22s
2025-12-14 15:42:10 +09:00
3bc3f35294 docs/installation: move password into an envvar
Some checks failed
Build and test / check (push) Successful in 2m29s
Build and test / build (push) Successful in 3m31s
Build and test / test (push) Successful in 3m27s
Build and test / docs (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
2025-12-14 15:34:21 +09:00
919fd326ba server: fix remaining broken mysql queries
All checks were successful
Build and test / check (push) Successful in 2m48s
Build and test / build (push) Successful in 3m30s
Build and test / check-license (push) Successful in 4m52s
Build and test / test (push) Successful in 4m46s
Build and test / docs (push) Successful in 6m7s
2025-12-14 15:22:37 +09:00
920544ef3a client/edit-privs: return better parsing errors
All checks were successful
Build and test / check (push) Successful in 1m43s
Build and test / build (push) Successful in 3m27s
Build and test / check-license (push) Successful in 4m54s
Build and test / test (push) Successful in 3m28s
Build and test / docs (push) Successful in 5m11s
2025-12-14 04:01:48 +09:00
4c82da390f server: determine sql server variant, fix lock-user,unlock-user
All checks were successful
Build and test / check (push) Successful in 1m54s
Build and test / build (push) Successful in 3m10s
Build and test / test (push) Successful in 3m30s
Build and test / check-license (push) Successful in 7m25s
Build and test / docs (push) Successful in 5m26s
2025-12-14 03:30:40 +09:00
dc7b72efe5 flake.nix: add vm for testing non-mariadb mysql 2025-12-14 03:07:14 +09:00
e56c41cee6 {client,server}/edit-privs: check for user existence 2025-12-14 01:58:48 +09:00
bd23cf693d .gitea/workflows: update actions/checkout: v3 -> v6
All checks were successful
Build and test / check (push) Successful in 1m54s
Build and test / build (push) Successful in 4m12s
Build and test / check-license (push) Successful in 4m50s
Build and test / test (push) Successful in 3m27s
Build and test / docs (push) Successful in 6m44s
2025-12-08 18:41:21 +09:00
6c1ae5479e CHANGELOG.md: fix inaccurate description
All checks were successful
Build and test / check (push) Successful in 2m49s
Build and test / build (push) Successful in 3m28s
Build and test / test (push) Successful in 3m24s
Build and test / docs (push) Successful in 4m59s
Build and test / check-license (push) Successful in 6m9s
2025-12-08 18:28:17 +09:00
222941509d core: check suid/sgid dynamically instead of checking file
All checks were successful
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
eeef8bd546 docs/installation: add a note on minimum required versions
All checks were successful
Build and test / check (push) Successful in 1m54s
Build and test / build (push) Successful in 3m54s
Build and test / check-license (push) Successful in 4m50s
Build and test / test (push) Successful in 3m39s
Build and test / docs (push) Successful in 6m45s
2025-12-04 19:50:26 +09:00
a036fd03c9 Cargo.toml: (deb) generate maintainer scripts
All checks were successful
Build and test / check (push) Successful in 1m43s
Build and test / build (push) Successful in 3m58s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m29s
Build and test / docs (push) Successful in 6m43s
2025-12-04 17:10:36 +09:00
bf66055f7f .gitea/workflows: matrix builds, build on ubuntu
All checks were successful
Build and test / check (push) Successful in 2m39s
Build and test / build (push) Successful in 3m33s
Build and test / test (push) Successful in 3m10s
Build and test / check-license (push) Successful in 6m3s
Build and test / docs (push) Successful in 5m33s
2025-12-04 16:31:18 +09:00
94619edf73 docs/installation: add instructions for installing apt repo
All checks were successful
Build and test / check (push) Successful in 1m41s
Build and test / build (push) Successful in 3m28s
Build and test / test (push) Successful in 3m7s
Build and test / check-license (push) Successful in 6m10s
Build and test / docs (push) Successful in 5m28s
2025-12-04 15:24:35 +09:00
bfa50b4d7e .gitea/workflows: run main pipeline on debian
Some checks failed
Build and test / build (push) Successful in 3m29s
Build and test / check (push) Successful in 2m48s
Build and test / check-license (push) Successful in 4m51s
Build and test / test (push) Successful in 3m41s
Build and test / docs (push) Has been cancelled
2025-12-04 15:09:41 +09:00
9408096391 .gitea/workflows: build for both trixie and bookworm
Some checks failed
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check (push) Has been cancelled
2025-12-04 15:05:58 +09:00
69cb96014b .gitea/workflows: set run-name for all workflows
All checks were successful
Build and test / check (push) Successful in 1m57s
Build and test / build (push) Successful in 3m56s
Build and test / test (push) Successful in 3m30s
Build and test / check-license (push) Successful in 4m50s
Build and test / docs (push) Successful in 6m36s
2025-12-04 14:24:41 +09:00
67ff31f405 .gitea/workflows: fix deb building args
Some checks failed
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
Build and test / check (push) Has been cancelled
2025-12-04 14:22:20 +09:00
a4084e2ecc Cargo.{toml,lock}: bump deps 2025-12-04 14:05:27 +09:00
a6804e01df .gitea/workflows: don't clippy check all features
Some checks failed
Build and test / check (push) Successful in 1m44s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
2025-12-04 13:51:33 +09:00
162c8cd422 Cargo.toml: (deb) fix metadata
Some checks failed
Build and test / check (push) Failing after 2m39s
Build and test / build (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m31s
Build and test / test (push) Successful in 4m5s
Build and test / docs (push) Successful in 4m58s
2025-12-04 13:39:31 +09:00
44fde9f780 .gitea/workflows: allow configuring version + revision 2025-12-04 13:39:31 +09:00
7911985410 .gitea/workflows: add commented inputs for package publishing 2025-12-04 13:39:31 +09:00
1e7911023e client: add error subtypes for name and owner validation in json output 2025-12-04 13:39:30 +09:00
f5d3c46e60 client: disable dynamic completions when in suid/sgid mode
Some checks failed
Build and test / check (push) Failing after 1m47s
Build and test / build (push) Successful in 3m48s
Build and test / test (push) Successful in 3m7s
Build and test / check-license (push) Successful in 5m39s
Build and test / docs (push) Successful in 8m9s
2025-12-04 12:06:49 +09:00
b0ae6e563d Add nix support for suid/sgid testing
All checks were successful
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
4c21d083df Cargo.toml: (deb) mark /etc/muscl/config.toml as config file 2025-12-04 09:27:41 +09:00
c5c6236e50 Cargo.toml: (deb) preserve symlinks 2025-12-04 09:27:03 +09:00
a5a5522ad0 Cargo.toml: (deb) install changelog 2025-12-04 09:26:55 +09:00
6194fcef26 Cargo.toml: (deb) let systemd-units install units instead of assets 2025-12-04 09:26:33 +09:00
51a6390aa6 build.rs: use relative symlinks for mysql-admutils aliases 2025-12-04 09:25:33 +09:00
614a756aa7 .gitignore: reorder 2025-12-04 09:24:32 +09:00
f2d404e864 create-deb.sh: don't reinvoke cargo build during cargo deb 2025-12-04 09:24:17 +09:00
271ce66022 CHANGELOG.md: init
All checks were successful
Build and test / check (push) Successful in 1m42s
Build and test / build (push) Successful in 3m27s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m52s
Build and test / docs (push) Successful in 5m19s
2025-12-03 18:38:12 +09:00
acde3a9d5d Cargo.toml: add mysql-admutils symlinks to deb
All checks were successful
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 3m5s
Build and test / test (push) Successful in 3m29s
Build and test / check-license (push) Successful in 5m47s
Build and test / docs (push) Successful in 4m43s
2025-12-03 17:31:58 +09:00
fbf90a456a mysql-admutils: fix generated completions
All checks were successful
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
0df19654d6 mysql-admutils: expect Ready from server before continuing 2025-12-03 16:53:35 +09:00
5faf0c2f0a nix: ensure argv0 is correct when generating completions 2025-12-03 16:53:35 +09:00
9297afec2f client: add dynamic completions for mysql-admutils commands 2025-12-03 16:53:35 +09:00
829a91705b flake.nix: add jq to test vm packages
All checks were successful
Build and test / check (push) Successful in 1m53s
Build and test / build (push) Successful in 3m4s
Build and test / test (push) Successful in 3m29s
Build and test / check-license (push) Successful in 5m47s
Build and test / docs (push) Successful in 4m45s
2025-12-03 15:49:50 +09:00
afbba78e39 client: add error type field for --json outputs
Some checks failed
Build and test / test (push) Has been cancelled
Build and test / check (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
2025-12-03 15:44:18 +09:00
32b70c44c6 client: print only json for show-db/show-user/show-privs --json
All checks were successful
Build and test / check (push) Successful in 1m52s
Build and test / build (push) Successful in 3m4s
Build and test / test (push) Successful in 3m28s
Build and test / check-license (push) Successful in 5m47s
Build and test / docs (push) Successful in 4m45s
The earlier version would print out human readable errors before
printing the json, which was not ideal. This version prints out the
errors inside the json.
2025-12-03 15:28:15 +09:00
6a4a83367e Add --yes flag for drop operations
All checks were successful
Build and test / check (push) Successful in 2m23s
Build and test / build (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m31s
Build and test / test (push) Successful in 4m0s
Build and test / docs (push) Successful in 4m46s
2025-12-03 14:21:09 +09:00
6aceda6f3d Remove empty file
All checks were successful
Build and test / check (push) Successful in 1m43s
Build and test / build (push) Successful in 3m54s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m29s
Build and test / docs (push) Successful in 6m13s
2025-12-03 13:52:28 +09:00
7bdecf78ff Remove old completion generator logic
All checks were successful
Build and test / check (push) Successful in 1m44s
Build and test / build (push) Successful in 3m23s
Build and test / test (push) Successful in 3m6s
Build and test / check-license (push) Successful in 6m8s
Build and test / docs (push) Successful in 5m32s
2025-12-03 13:07:26 +09:00
3ac90dcb26 Embed extra build time information in --version
All checks were successful
Build and test / check (push) Successful in 2m38s
Build and test / build (push) Successful in 3m30s
Build and test / check-license (push) Successful in 4m49s
Build and test / test (push) Successful in 4m20s
Build and test / docs (push) Successful in 5m40s
2025-12-03 12:32:09 +09:00