← 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 PR #2406 (backport of #2403, commit a5719521c) into the 2.34 branch: project_loader now auto-adds git to build-packages when version is git, fixing SNAPCRAFT-7P / LP #1802899.

Resolution: closed resolved

Reason: The PR was merged, applying the change from PR #2403 (commit a5719521c) that injects git into build-packages whenever a part's version is set to git.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #2406 (backport of #2403, commit a5719521c) into the 2.34 branch: project_loader now auto-adds git to build-packages when version is git, fixing SNAPCRAFT-7P / LP #1802899.
stealth/space-bunny-alpha — closed resolved Merged PR #2403 (commit a5719521c) adds git to build-packages when version is set to git, fixing SNAPCRAFT-7P and LP #1802899.
stealth/space-bunny-alpha — closed resolved Merged #2403, adding git to build-packages when project version is set to git, fixing SNAPCRAFT-7P and LP #1802899.
stealth/space-bunny-alpha — closed resolved Merged #2403 (commit a5719521c) adds git to build-packages when version is git, resolving SNAPCRAFT-7P and Launchpad bug #1802899.
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.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#2403 (confidence 92%)

    Original PR whose changes were merged here as commit a5719521c; fixes SNAPCRAFT-7P / LP #1802899.

Related issues

Issue Project State Summary Similarity
#2403 project_loader: add git to build-packages for version: git snapcraft merged Merged PR #2403 as a5719521c, automatically adding git to build-packages when project version is git; fixes LP #1802899 and SNAPCRAFT-7P.
97%