← Back to issue list

the snapcore/snapcraft image doesn't have git installed

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1720202
Type
issue
State
closed
Author
~elopio
Labels
—
Created
Updated
Closed

Current evaluation

Git was added to the Snapcraft build Dockerfile by merged PR snapcore/snapcraft#1575 (commit 8910ec250), enabling version: git.

Resolution: closed resolved

Reason: Merged PR canonical/snapcraft#1575 installed Git in the Dockerfile. Commit 8910ec250 records the fix and enables version: git selectors.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Git should be installed in the docker container so we can use version: git in the yaml.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Git was added to the Snapcraft build Dockerfile by merged PR snapcore/snapcraft#1575 (commit 8910ec250), enabling version: git.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR snapcore/snapcraft#1575, which installed Git in the Dockerfile to support YAML using version: git.
stealth/space-bunny-alpha — closed resolved Git was added to the Snapcraft Dockerfile to support version: git, resolved by PR #1575 in commit 8910ec250.
qwen/qwen3.6-35b-a3b — — Closed without discussion or explicit resolution. Likely abandoned or resolved by upstream snapcraft image updates.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The request to include git in the snapcore/snapcraft Docker image was abandoned or superseded by newer builds.
qwen/qwen3.6-35b-a3b — — Request to install git in the snapcraft Docker image was closed without resolution or maintainer comments, indicating it was abandoned due to inactivity. No fix was implemented.
qwen3.6-35b-a3b-mtp-q6 — — Request to install git in the snapcore/snapcraft Docker image was closed without resolution. Likely abandoned or superseded by upstream changes.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1575 (confidence 100%)

    The merged PR added Git to the build image and was linked from the issue.

Related issues

Issue Project State Summary Similarity
#1802899 git package missing from build VM images snapcraft (launchpad) closed Snapcraft began automatically adding git to build-packages for version: git, fixing builds on VMs without git; merged in snapcore/snapcraft#2403 as a5719521c.
80%
#4944 Install `git` inside core24 build environments snapcraft closed Git was bundled for core24 build environments by merged PR #5149 (commit c7d11ac65), making it available as craft.git on Snapcraft's build PATH.
75%
#1137 Build-depend on git snapcraft merged Merged in canonical/snapcraft#1137 (commit 8b3cb387d), adding git as a direct build dependency so Git source tests can invoke git.
74%
#1663605 Local build fails due to missing build-dependency on git snapcraft (launchpad) closed Fixed by PR snapcore/snapcraft#1137 (commit 8b3cb387d), adding git as a Debian build dependency so Git source tests run in sbuild.
73%
#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.
71%