Skip to content
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

Use system git instead of libgit2 #777

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Use system git instead of libgit2 #777

merged 2 commits into from
Oct 24, 2024

Conversation

nbacquey
Copy link
Member

@nbacquey nbacquey commented Oct 24, 2024

Description

This PR replaces the Git version we use from libgit2 to the system's version. This removes the dependency from OpenSSL, which caused errors when trying to build on arm64/MacOS.
It also solves an error when trying to build grammars from private repositories.

Incidentally, I discovered when making this PR that the previous version did not properly checkout the pinned revision on grammars in language.ncl: the grammars/ocaml directory did not exist in the revision we pin, but it does exist on main

Closes #776

Checklist

Checklist before merging:

  • CHANGELOG.md updated
  • README.md up-to-date

@nbacquey nbacquey requested a review from Xophmeister October 24, 2024 10:19
@nbacquey nbacquey force-pushed the nb/replace_git branch 2 times, most recently from f5b77b4 to 15ff8ed Compare October 24, 2024 12:29
@nbacquey nbacquey merged commit 2836913 into main Oct 24, 2024
17 of 20 checks passed
@nbacquey nbacquey deleted the nb/replace_git branch October 24, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support grammars in private repositories / repositories accessed via Git+SSH
2 participants