fix: add part in snapcraft.yaml to build libgit2
Metadata
Current evaluation
Merged PR #4393 (commit 5fbaab144) added a snapcraft.yaml part to build libgit2 from source and block wheel downloads, fixing #4379.
Resolution: closed resolved
Reason: PR #4393 was merged, with its implementation recorded in commit 5fbaab144. The PR explicitly fixes #4379 by adding native libgit2 build support and ensuring wheels are not downloaded.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4393 (commit 5fbaab144) added a snapcraft.yaml part to build libgit2 from source and block wheel downloads, fixing #4379. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4393 (commit 5fbaab144) added a libgit2 cmake part to snap/snapcraft.yaml, building libgit2 from source and blocking binary wheels, fixing cross-arch builds in #4379. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4393 added a snapcraft.yaml part to build libgit2 from source and prevent wheel downloads, resolving #4379. | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#4379
(confidence 100%)
PR #4393 explicitly states that it fixes #4379.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4376 fix(snap): add missing build-packages for git | snapcraft | closed | Closed unmerged as superseded by PR #4393 (commit 5fbaab144), which built libgit2 from source for compatible pygit2 cross-architecture builds. | |
| #557 build: fix snap build in non-amd64 archs | rockcraft | merged | Merged PR #557 fixed Rockcraft snap builds on non-amd64 architectures lacking dependency wheels, including pygit2; merged as f03bda56. | |
| #4478 bug: remote-build broke in snapcraft 8.0 | snapcraft | closed | Fixed by PR #4482, merged as commit 6300e0ee2: remote-build pushes now use the Git CLI instead of libgit2, avoiding SSL broken-pipe failures. | |
| #5149 feat(snap): add git as craft.git to snapcraft | snapcraft | merged | PR merged as commit c7d11ac65: adds a git binary as `craft.git` in $SNAP/libexec/snapcraft for Craft libraries needing a Git client (CRAFT-3547), with new spread tests. |