← 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

Requests early detection of snapcraft.yaml files without apps via lint and a warning or error; it is reproducible but remains unlabeled and unmaintainer-reviewed.

Suggested action: needs triage

Reason: The report provides a concrete snapcraft.yaml and explains that a missing app is discovered only after build and install, making an early diagnostic useful. It has no labels, maintainer comments, or other triage evidence, and the choice between a warning and an error remains unresolved because some valid snap types may intentionally have no apps.

Evaluated by: mr-cal-bot

Impact: 42 Quick Win: 19 Complexity: 38 Confidence: 86 Actionability: 72

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
stealth/space-bunny-alpha
Impact: 42
Quick Win: 19
Complexity: 38
Confidence: 86
Actionability: 72
needs triage Requests early detection of snapcraft.yaml files without apps via lint and a warning or error; it is reproducible but remains unlabeled and unmaintainer-reviewed.
stealth/space-bunny-alpha
Impact: 30
Quick Win: 19
Complexity: 12
Confidence: 76
Actionability: 72
needs triage Requested lint/build warning when snapcraft.yaml defines no apps; a command-line-only snap can build and install without detecting the omission until later
qwen/qwen3.8-27b
Impact: 35
Quick Win: 19
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.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.