jj/.github/workflows
Martin von Zweigbergk 0fd1969e8f lib: make git support optional via crate feature
I've wanted to make the Git support optional for a long time. However,
since everyone uses the Git backend (and we want to support it even in
the custom binary at Google), there hasn't been much practical reason
to make Git support optional.

Since we now use jj-lib on the server at Google, it does make sense to
have the server not include Git support. In addition to making the
server binary smaller, it would make it easier for us (jj team at
Googlle) to prove that our server is not affected by some libgit2 or
Gitoxide vulnerability. But to be honest, neither of those problems
have come up, so it's more of an excuse to make the Git support
optional at this point.

It turned out to be much simpler than I expected to make Git support
in the lib crate optional. We have done a pretty good job of keeping
Git-related logic separated there.

If we make Git support optional in the lib crate, it's going to make
it a bit harder to move logic from the CLI crate into the lib crate
(as we have planned to do). Maybe that's good, though, since it helps
remind us to keep Git-related logic separated.
2024-06-11 22:03:20 +09:00
..
build-nix.yml github: bump the github-dependencies group with 3 updates 2024-06-05 10:41:03 +09:00
build.yml lib: make git support optional via crate feature 2024-06-11 22:03:20 +09:00
codespell.yml github: silence codespell false-positive "NotIn" 2024-05-24 11:34:03 +09:00
dependabot.yml github: fix name of workflow for Dependabot auto-merge 2023-03-30 19:29:18 -07:00
docs.yml docs: disable main and nightly aliases for prerelease version 2024-06-08 23:21:00 -07:00
release.yml require poetry 1.8, recommend installing it via pipx 2024-05-27 10:53:35 -07:00
scorecards.yml github: bump the github-dependencies group with 3 updates 2024-06-05 10:41:03 +09:00