You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON schema for charmcraft.yaml files accepts defining a bundle charm, but it won't indicate to you that it's an option. It only suggests the "charm" type.
To Reproduce
Run charmcraft init. Then, replace the type key's value with something that doesn't exist, like msi, and check the validator error from your IDE.
Environment
Any
charmcraft.yaml
name: epic-charmtype: msititle: Charm Templatesummary: A very short one-line summary of the charm.description: | I'm a short description.platforms:
amd64:
parts:
my-part:
plugin: nil
Relevant log output
Value is not accepted. Valid values: "charm".
The text was updated successfully, but these errors were encountered:
Bug Description
The JSON schema for charmcraft.yaml files accepts defining a bundle charm, but it won't indicate to you that it's an option. It only suggests the "charm" type.
To Reproduce
Run
charmcraft init
. Then, replace thetype
key's value with something that doesn't exist, likemsi
, and check the validator error from your IDE.Environment
Any
charmcraft.yaml
Relevant log output
Value is not accepted. Valid values: "charm".
The text was updated successfully, but these errors were encountered: