← Back to issue list

project_loader: add git to build-packages for version: git

View original Github issue

Metadata

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

Current evaluation

Merged into master. Adds git to build-packages when version is set to git, resolving SNAPCRAFT-7P and Launchpad bug #1802899. Approved, passed CI, and verified by a maintainer and reviewer.

Suggested action:

No scores available.

Issue body

When version is set to git, snapcraft should ensure that git makes it into the build-packages set. LP: #1802899 Fixes SNAPCRAFT-7P - [ ] 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/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into master. Adds git to build-packages when version is set to git, resolving SNAPCRAFT-7P and Launchpad bug #1802899. Approved, passed CI, and verified by a maintainer and reviewer.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Automatically includes git in build-packages when snapcraft version is set to git, resolving SNAPCRAFT-7P and Launchpad bug #1802899.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Automatically includes git in build-packages when version is set to git, resolving a missing dependency bug. Verified working by maintainers and users.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2406 project_loader: add git to build-packages for version: git (#2403) snapcraft merged Merged: adds git to build-packages when project version is set to git. Resolves SNAPCRAFT-7P and Launchpad bug #1802899 by ensuring the build environment includes git for versioned projects.
96%
#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.
72%