← Back to issue list

cli: snapcraft init with a base

View original Github issue

Metadata

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

Current evaluation

Merged #2411 as commit 0aa5508a, adding syntax-documentation links after snapcraft init and addressing LP bug #1803776.

Resolution: closed resolved

Reason: Pull request #2411 was approved and merged as commit 0aa5508a. The change adds links to the defined syntax after running snapcraft init.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add a link to where the syntax is defined after doing an init. LP: #1803776 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] 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 #2411 as commit 0aa5508a, adding syntax-documentation links after snapcraft init and addressing LP bug #1803776.
stealth/space-bunny-alpha — closed resolved Merged #2411 as commit 0aa5508a, adding a syntax documentation link after snapcraft init and addressing LP bug #1803776.
qwen/qwen3.6-35b-a3b — — Merged. Adds a syntax documentation link after snapcraft init execution. Approved by one reviewer, passed CI checks, modified five files, and achieved 100% diff coverage. Resolves LP #1803776.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes adding a syntax documentation link after running snapcraft init. Improves CLI usability by directing users to reference materials. Achieved 100% diff coverage and passed all checks.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1803776 snapcraft init missing a base snapcraft (launchpad) closed Fixed by merged snapcore/snapcraft PR #2411, making snapcraft init generate projects with a base and link the relevant syntax documentation.
82%
#2954 cli: enable config file for base snapcraft command snapcraft merged Merged PR #2954 as 125ec0c5b, enabling the base snapcraft command to read the config file for its snap lifecycle run.
75%
#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.
73%
#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%
#5681 docs: document the base key snapcraft merged Merged PR #5681 in commit caf905ce5, adding 17 lines documenting the snapcraft.yaml base key.
72%
#776 Updated the contents of the snapcraft init template snapcraft merged Merged #776 via commit e1be44bc7, updating the snapcraft init template for LP #1620428 across three files.
71%
#3616 cli: create new snapcraft entry point (CRAFT-729) snapcraft merged Merged #3616, adding a new Snapcraft CLI entry point that initially delegates to the legacy implementation; dispatch logic was deferred to future work (merge 6d233500c).
71%
#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).
71%
#6499 fix: parse build-base for snapcraftctl validation snapcraft merged Fixed a validator bug preventing core22/core24 snaps without a `base` key from using `snapcraftctl`. Merged as #6499, resolving #6336.
71%
#131 add document detailing the snapcraft.yaml syntax snapcraft merged Merged snapcraft.yaml syntax documentation in commit 0039afb12 (merge 4a1f3ff2a); PR #146 later refined the 1.x reference.
70%