← Back to issue list

docs: "snapcraft pack" did not work

View original Github issue

Metadata

Project
snapcraft
Number
#5896
Type
issue
State
closed
Author
markylaing
Labels
Status: Triaged Type: Enhancement Type: Documentation
Created
Updated
Closed

Current evaluation

The reporter accidentally replaced snapcraft init’s YAML stanzas, removing the required confinement field, then acknowledged the editing error.

Resolution: closed not a bug

Reason: A maintainer showed that the reporter had replaced the generated stanza containing “confinement: devmode”; the reporter confirmed this was their mistake. Documentation follow-up was tracked internally as SNAPCRAFT-1260.

Evaluated by: mr-cal-bot

No scores available.

Issue body

*Please describe the question or issue you're facing with "Craft a snap - Snapcraft 8.13.2 documentation".* Running the tutorial in a fresh LXD ubuntu:24.04 VM got me: ``` root@v1:~/ukuzama-pyfiglet# snapcraft pack Bad snapcraft.yaml content: - field 'confinement' required in top-level configuration ``` --- *Reported from: https://documentation.ubuntu.com/snapcraft/stable/tutorials/craft-a-snap/*

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug The reporter accidentally replaced snapcraft init’s YAML stanzas, removing the required confinement field, then acknowledged the editing error.
stealth/space-bunny-alpha — closed not a bug Closed as user error: the reporter removed the required confinement field by replacing both snapcraft.yaml stanzas and acknowledged the mistake. Documentation improvements were tracked separately.
stealth/space-bunny-alpha — closed not a bug Closed as user error: the reporter replaced YAML stanzas and removed confinement. The tutorial was clarified in merged PR #5929 (commit 01356fc85).
stealth/space-bunny-alpha — closed not a bug Closed as a user-editing mistake: the reporter replaced the YAML stanzas and removed the required confinement field, then acknowledged the error. Documentation improvements were logged as SNAPCRAFT-1260.
qwen/qwen3.6-35b-a3b — — Closed as user error. The reporter accidentally replaced required configuration stanzas during the tutorial. The team created internal ticket SNAPCRAFT-1260 to improve tutorial examples and prevent future confusion.
qwen/qwen3.6-35b-a3b — — Closed as user error. The documentation team acknowledged the confusion and created an internal ticket to revise the tutorial flow, preventing future mistakes with YAML stanza replacement.
qwen/qwen3.6-35b-a3b — — Closed as user error. The documentation team acknowledged the tutorial ambiguity and will update the flow to prevent confusion. An internal ticket was created to track the documentation improvement.
qwen3.6-35b-a3b-mtp-q6 — — Closed as user error. The tutorial caused confusion when replacing YAML stanzas, omitting the required confinement field. Maintainers acknowledged the report and will revise the documentation flow to prevent future mistakes.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.