summaryrefslogtreecommitdiff
path: root/server/common
AgeCommit message (Collapse)Author
2025-02-20WIPWIPJoel Klinghed
2025-02-06Add DELETE command for reviewJoel Klinghed
Only the owner or a maintainer of the project can remove a review. Removing a review also removes the git branch. Only reviews that are either draft or dropped can be removed.
2025-02-05Improve flycheck-rust for workspacesJoel Klinghed
2025-02-04common: fs_utils: Style fixJoel Klinghed
2025-02-04common: git: Improve config cachingJoel Klinghed
Git treats most of a config name as case-insensitive. Specifically section and value are case-insenstive while optional subsection, if it exists, is case-sensitive. So, in "a.b.c" a and c will be made lowercase but not b before checking the cache. And in "a.b" both a and b will be made lowercase
2025-02-04common: Add tests for gitJoel Klinghed
Wanted to include a non-bare repo as well but git doesn't like one adding a non-bare git repo NOT as a submodule. And bare repos are the main code path anyway.
2025-02-03code coverage: Add tests for commonJoel Klinghed
Add coverage for common as well as server. Fix fs_utils::create_dir_allow_existing to fail if entry exists but isn't a dir.
2025-02-01Use workspace instead of featuresJoel Klinghed
Having to include --feature=build-server in basically all commands that wasn't building eyeballs-githook got tiring quickly. Instead, use workspaces, with a separate project for building the githook. It means I also had to add a library common with code shared by both githook and server.