Underscores in app names not reported properly

Bug #1798205 reported by Roger Light
6
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.

Revision history for this message
Roger Light (roger.light) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.