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

chore(deps): remove build-time dependency on libgit2 #7078

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Feb 10, 2024

Motivation

Every user who builds Foundry from source has git installed.

Solution

Use the "gitcl" feature to make vergen use the git binary in the PATH instead of depending on libgit2.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reasonable

Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough

DaniPopes added a commit to paradigmxyz/reth that referenced this pull request Feb 10, 2024
Every user who builds Foundry from source has git installed.

Use the `"gitcl"` feature to make `vergen` use the `git` binary in the `PATH` instead of depending on `libgit2`.

Same as foundry-rs/foundry#7078
DaniPopes added a commit to paradigmxyz/reth that referenced this pull request Feb 10, 2024
Every user who builds Foundry from source has git installed.

Use the `"gitcl"` feature to make `vergen` use the `git` binary in the `PATH`
instead of depending on `libgit2`.

Same as foundry-rs/foundry#7078
DaniPopes added a commit to paradigmxyz/reth that referenced this pull request Feb 10, 2024
Every user who builds from source has git installed.

Use the `"gitcl"` feature to make `vergen` use the `git` binary in the `PATH`
instead of depending on `libgit2`.

Same as foundry-rs/foundry#7078
@DaniPopes DaniPopes merged commit e897bd6 into master Feb 10, 2024
20 checks passed
@DaniPopes DaniPopes deleted the dani/drop-git2 branch February 10, 2024 17:58
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.

3 participants