← Back to issue list

Underscores in app names cause inscrutable error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1606890
Type
issue
State
closed
Author
~oddbloke
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. The confusing validation error for underscores in app names remains unaddressed, with the report abandoned due to zero comments and extended inactivity.

Suggested action:

No scores available.

Issue body

With the following apps stanza: apps: foo_bar: ... snapcraft will fail with an error message that looks like this: Issues while validating snapcraft.yaml: The 'apps' property does not match the required schema: Additional properties are not allowed ('foo_bar' was unexpected) This doesn't explain what the error is at all, and it took a lot of trial and error to work it out.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. The confusing validation error for underscores in app names remains unaddressed, with the report abandoned due to zero comments and extended inactivity.
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. The confusing validation error for underscores in app names remains unaddressed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1798205 Underscores in app names not reported properly snapcraft (launchpad) open Snapcraft reports the wrong app name in validation errors when an app name contains an underscore: with apps 'one' and 'two_three', the error blames the valid app 'one' instead of 'two_three'. Open since 2014, no labels, comments, or maintainer activity.
78%
#1616507 app names cannot contain underscores snapcraft (launchpad) closed Abandoned without resolution due to inactivity. The validation schema still rejects underscores in snapcraft.yaml app names, leaving the request unaddressed.
70%