← Back to issue list

Does not warn/error when no apps are defined

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1807871
Type
issue
State
open
Author
~ev
Labels
Created
Updated
Closed

Current evaluation

Feature request for snapcraft to warn or error when no apps are defined in snapcraft.yaml, and to add a lint check. 7.7 years old, no labels, no maintainer comments, never triaged.

Suggested action: needs triage

Reason: The issue has no labels, no comments, and no assignee, showing it was never assessed by a maintainer. Although 7.7 years old with a core18 example, the underlying request (warn when no apps) is still a valid concept and there is no evidence it has been implemented, so it needs triage rather than closure.

Impact: 35 Quick Win: 19.25 Staleness: 90 Complexity: 45 Confidence: 45 Support Request: 15

Issue body

Consider the following yaml: name: bcal base: core18 version: git summary: Storage and general-purpose calculator description: | `bcal` (*Byte CALculator*) is a REPL CLI utility for storage expressions, unit conversions or address calculations. If you can't calculate the hex address offset for (512 - 16) MiB, or the value when the 43rd bit of a 64-bit address is set mentally, `bcal` is for you. grade: stable confinement: strict parts: bcal: plugin: make build-packages: [clang, libreadline-dev] source: . I've forgotten to create some apps, but I won't know this until after build and install. We should: * Add this check to snapcraft lint * At your option, warn or error when this is encountered in `snapcraft`

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 19.25
Staleness: 90
Complexity: 45
Confidence: 45
Support Request: 15
needs triage Feature request for snapcraft to warn or error when no apps are defined in snapcraft.yaml, and to add a lint check. 7.7 years old, no labels, no maintainer comments, never triaged.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 10
close stale Requests snapcraft to warn or error when a snap definition lacks an apps section. Unaddressed for over 7 years with no maintainer interaction or labels.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 10
close stale Suggests adding a lint check or warning when a snapcraft YAML defines no apps. Issue is completely inactive for over 7 years with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Feature request to add a lint check or warning when a snapcraft YAML lacks an apps definition. Issue is extremely stale with no activity or maintainer interaction in over 7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Feature request to add a lint check or build error when a snapcraft.yaml lacks an apps section. Issue remains open with no maintainer comments or labels after over seven years.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1591207 Parser should warn when it encounters an invalid snapcraft.yaml snapcraft (launchpad) open 2015-era feature request asking the snapcraft parser to warn when snapcraft.yaml is missing the 'parts' key. No labels, no comments, no activity for ~10 years. Modern snapcraft validates the file against a schema requiring parts, so the concern is outdated.
71%
#4636 Better error message when we can't find snapcraft.yaml snapcraft open Feature request to improve the error message when snapcraft.yaml is not found in the craft-application branch, adding a helpful message with a documentation link. No labels, no assignee, last activity 536 days ago.
70%
#1845276 snapcraft shouldn't complain about snap/README.md snapcraft (launchpad) open Request to stop snapcraft warning about snap/README.md as a non-snapcraft path so docs can live in the snap/ dir. 7 years old, zero comments, no labels or maintainer response; the warning is intentional and already documents the snap/local/ workaround.
70%