Underscores in app names not reported properly
Bug #1798205 reported by
Roger Light
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
If you have a snap with multiple apps, and one of the apps has an underscore in its name (p.s. it'd be nice to see something move on #1616507 :), then a confusing error is reported against the first app only, even if that is valid.
For example, with the attached snapcraft.yaml including an app "one" and "two_three", the error is:
Issues while validating snapcraft.yaml: The 'apps' property does not match the required schema: 'one' is not a valid app name. App names consist of upper- and lower-case alphanumeric characters and hyphens. They cannot start or end with a hyphen.
To post a comment you must log in.