← Back to issue list

fix: add part in snapcraft.yaml to build libgit2

View original Github issue

Metadata

Project
snapcraft
Number
#4393
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged PR #4393 resolves #4379 by adding a snapcraft.yaml part to compile libgit2 from source and disable wheel downloads. Approved by two reviewers, passed CI, and merged into main.

Suggested action:

No scores available.

Issue body

Build libgit2 from source, also ensure we do not download any wheels. - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `pytest tests/unit`? ----- Fixes #4379

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged PR #4393 resolves #4379 by adding a snapcraft.yaml part to compile libgit2 from source and disable wheel downloads. Approved by two reviewers, passed CI, and merged into main.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Added a snapcraft.yaml part to build libgit2 from source and prevent wheel downloads, resolving issue #4379. Codecov reported a 0.03% coverage decrease upon merge.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Updates snapcraft.yaml to build libgit2 from source rather than downloading wheels, resolving #4379. Codecov noted a 0.03% coverage decrease upon integration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5149 feat(snap): add git as craft.git to snapcraft snapcraft merged Merged addition of a git binary as craft.git to snapcraft. Approved by two reviewers, the 72-line change across four files enables craft libraries to use the git client, resolving CRAFT-3547.
75%
#4376 fix(snap): add missing build-packages for git snapcraft closed Closed after the CI dependency discussion moved elsewhere. The change addressed a libgit2 version mismatch causing build failures on s390x.
72%
#4379 Build pygit2 as a part snapcraft closed Resolved by isolating pygit2 as a separate build part in snapcraft.yaml, fixing cross-architecture build failures. The change was implemented via the referenced pull requests and the issue was closed.
71%
#274 fix: add build-aux location for snapcraft project fetch-service merged Merged to add the build-aux location for the snapcraft project. Approved by two reviewers, the change updates two files with a net addition of five lines. The maintainer merged it from main to resolve an OSV issue.
71%