Oystein Kristoffer Tveit oysteikt
oysteikt commented on issue Projects/mysqladm-rs#20 2024-08-08 01:02:20 +02:00
Handle CTRL-C gracefully

We might need to wrap the mysql connection in an Arc<Mutex<_>> for the signal checking thread to close it safely. Not sure how to handle this when the entire operation is wrapped in a transaction

oysteikt pushed to dpkg-packaging at Projects/mysqladm-rs 2024-08-08 00:59:25 +02:00
a160407906 WIP: create dpkg package
69870147f5 Add a few more status prints to the commands
f78c88517f Add `lock-user` and `unlock-user`
Compare 3 commits »
oysteikt commented on issue Projects/mysqladm-rs#38 2024-08-08 00:59:00 +02:00
Add dryrun modes for commands that modify stuff

Note: this would probably warrant it's own variant of CommandStatus

oysteikt pushed to main at Projects/mysqladm-rs 2024-08-08 00:56:34 +02:00
69870147f5 Add a few more status prints to the commands
oysteikt pushed to main at Projects/mysqladm-rs 2024-08-08 00:54:07 +02:00
f78c88517f Add `lock-user` and `unlock-user`
oysteikt deleted branch add-lock-unlock-feature from Projects/mysqladm-rs 2024-08-08 00:54:07 +02:00
oysteikt merged pull request Projects/mysqladm-rs#43 2024-08-08 00:54:06 +02:00
Add `lock-user` and `unlock-user`
oysteikt closed issue Projects/mysqladm-rs#25 2024-08-08 00:54:06 +02:00
Add command for locking/unlocking users
oysteikt created pull request Projects/mysqladm-rs#43 2024-08-08 00:53:58 +02:00
Add lock-user and unlock-user
oysteikt pushed to add-lock-unlock-feature at Projects/mysqladm-rs 2024-08-08 00:53:34 +02:00
f78c88517f Add `lock-user` and `unlock-user`
oysteikt created branch add-lock-unlock-feature in Projects/mysqladm-rs 2024-08-08 00:53:33 +02:00
oysteikt opened issue Projects/mysqladm-rs#42 2024-08-08 00:05:21 +02:00
Allow users to configure fields on show-user and show-db
oysteikt pushed to dpkg-packaging at Projects/mysqladm-rs 2024-08-07 23:37:15 +02:00
9892370632 WIP: create dpkg package
7e71b5071f Report back more detailed results from commands
21c1f8cc87 Fix clippy warnings
011bcf9edc More spring cleaning for privs, add test
1bb1c133e8 Consistently name db connection `connection`
Compare 35 commits »
oysteikt deleted branch report-status-on-modification from Projects/mysqladm-rs 2024-08-07 23:34:00 +02:00
oysteikt pushed to main at Projects/mysqladm-rs 2024-08-07 23:34:00 +02:00
7e71b5071f Report back more detailed results from commands
oysteikt merged pull request Projects/mysqladm-rs#41 2024-08-07 23:33:58 +02:00
Report back more detailed results from commands
oysteikt closed issue Projects/mysqladm-rs#37 2024-08-07 23:33:58 +02:00
Only print changes commited and changes aborted for commands that actually modify something
oysteikt created pull request Projects/mysqladm-rs#41 2024-08-07 23:33:50 +02:00
Report back more detailed results from commands
oysteikt pushed to report-status-on-modification at Projects/mysqladm-rs 2024-08-07 23:33:13 +02:00
7e71b5071f Report back more detailed results from commands
oysteikt created branch report-status-on-modification in Projects/mysqladm-rs 2024-08-07 23:33:12 +02:00