-
Notifications
You must be signed in to change notification settings - Fork 701
git: make git2
support optional
#5956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'm not 100% sure on why, but in my testing this out as an ebuild, I'm running into this while building with
My wild speculation as to what's causing this is the addition of "testutils/git2" to the features enabled by "git2". It builds fine (though I think I'm running into issues with the tests), but then fails to install. Builds and installs fine without git2, so that's nice, though I'm also running into issues with the tests there (the same one that triggered the CI failure, and also some others I think may be unrelated regressions since 0.27 that I need to look into more). |
a80f5e0
to
28e2c10
Compare
Pushed a horrible but apparently working fix for @demize’s issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this! looks generally good, but I think we might want to warn users that have a version of jj
compiled without git2
that they are trying to use the git2
code at config parsing. This is also where the future deprecation warning will come from and seems simpler to me
28e2c10
to
8fe3023
Compare
c7badf6
to
5689787
Compare
2b1fba6
to
9ac37ed
Compare
23b5ff1
to
2c577be
Compare
9ac37ed
to
68fcd4f
Compare
68fcd4f
to
1d53645
Compare
Rebased to make GitHub less confused about how many commits there are here. (And also to get a measurement for how much longer the extra job will make CI.) |
Looks like this shouldn’t lengthen CI times appreciably. Hopefully we can cut down on the redundant This should be ready for review/merge now. |
1d53645
to
fdd770b
Compare
fdd770b
to
34123e3
Compare
The fetch and push code are the only remaining users of this, so let’s not encourage adding any more.
4f96e2c
to
48a4300
Compare
This helps us prepare for removing the functionality down the line and makes things easier for people building or packaging their own Jujutsu.
Just using the fastest platform should be fine for this. Hopefully it shouldn’t slow down CI too much since it’s an independent build job and only temporary, though a potential alternative would be to just check the build instead. (It wouldn’t catch build regressions in the test code, though.)
48a4300
to
8104b65
Compare
This helps us prepare for removing the functionality down the line and makes things easier for people building or packaging their own Jujutsu.
Checklist
If applicable:
CHANGELOG.md