← Back to issue list

project_loader: add git to build-packages for version: git (#2403)

View original Github issue

Metadata

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

Current evaluation

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.

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: 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.
qwen3.6-35b-a3b-mtp-q6 Added git to build-packages when version is set to git, resolving LP: #1802899 and SNAPCRAFT-7P. Merged in PR #2403 by sergiusens.
qwen3.6-35b-a3b-mtp-q6 Merged commit adds git to build-packages when version is set to git, resolving LP #1802899 and SNAPCRAFT-7P. This ensures snapcraft automatically includes git in the build environment for git-based versioning.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2403 project_loader: add git to build-packages for version: git snapcraft merged 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.
96%