← Back to issue list

snapcraft init missing a base

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1803776
Type
issue
State
closed
Author
~sergiusens
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Fixed by merged snapcore/snapcraft PR #2411, making snapcraft init generate projects with a base and link the relevant syntax documentation.

Resolution: closed resolved

Reason: snapcore/snapcraft PR #2411 was merged as commit 0aa5508a. The change makes snapcraft init initialize new projects with a base.

Evaluated by: mr-cal-bot

No scores available.

Issue body

snapcraft init needs to initialize with a base.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged snapcore/snapcraft PR #2411, making snapcraft init generate projects with a base and link the relevant syntax documentation.
stealth/space-bunny-alpha — closed resolved Bug moved to Launchpad (LP #1803776) and fixed by PR #2411 'cli: snapcraft init with a base', merged as commit 0aa5508a; snapcraft init now initializes with a base and links the syntax docs.
stealth/space-bunny-alpha — closed resolved Added a base to `snapcraft init` via merged PR #2411, commit 0aa5508a, which also linked the syntax documentation and addressed LP bug #1803776.
qwen/qwen3.6-35b-a3b — — Closed without resolution or discussion. The requirement for snapcraft init to specify a base was not implemented and the issue remains abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The base requirement for snapcraft init was later implemented in subsequent releases, superseding this report.
qwen/qwen3.6-35b-a3b — — Abandoned. Closed without comments or resolution, leaving the requirement for snapcraft init to specify a base unaddressed.
qwen3.6-35b-a3b-mtp-q6 — — Closed without comments or linked pull request. No fix or merge details were recorded, indicating the issue was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2411 (confidence 100%)

    Merged resolving PR, recorded as commit 0aa5508a and cited in the issue comment.

Related issues

Issue Project State Summary Similarity
#2411 cli: snapcraft init with a base snapcraft merged Merged #2411 as commit 0aa5508a, adding syntax-documentation links after snapcraft init and addressing LP bug #1803776.
82%
#1939713 snapcraft init create base: core18 snap snapcraft (launchpad) closed Snapcraft init was updated to scaffold core20 instead of core18 by merged canonical/snapcraft#3587 (merge commit f91632aab).
76%
#4118 init: use core22 base for `snapcraft init` snapcraft merged Merged PR #4118 (mr-cal, CRAFT-1670): snapcraft init now scaffolds core22 as the default base instead of core20, with the command moved from snapcraft_legacy/ to snapcraft/ and a spread test added. Squash-merged as 4afc9e4c9.
74%
#1819290 Support for "base: core" snapcraft (launchpad) closed Implemented by merged snapcore/snapcraft#2499 (commit e1cc2b91c), adding 'base: core' support in snapcraft.yaml and stripping it from generated snap.yaml; Launchpad base config updated by cjwatson.
72%
#1575581 "snapcraft init" doesn't generate a valid template snapcraft (launchpad) closed Fixed by PR ubuntu-core/snapcraft#528 and released in Snapcraft 2.10 for Xenial; verification confirmed `snapcraft init` followed by `snapcraft` produced a valid snap.
72%
#6193 fix: snapcraft try error shows effective base snapcraft merged Merged PR #6193 fixed `snapcraft try` to report the project's effective base via `get_effective_base()`, with core24 and core26 test coverage, in commit bcae1c3ed.
71%
#1706564 Please allow the new "base" key in snapcraft.yaml snapcraft (launchpad) closed Added support for snapcraft.yaml's top-level base key in merged snapcore/snapcraft PR #1419 (commit 024b9203c).
70%