"snapcraft plugins" (latest/stable) chokes on parsing "extensions" line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
With snapcraft latest/stable (Rev 8619), simply asking to list plugins with "snapcraft plugins" in a project with an "extensions:" line in snapcraft.yaml produces (log file):
2023-01-10 13:31:36.747 Starting Snapcraft 7.2.9
2023-01-10 13:31:36.766 Bad snapcraft.yaml content:
- extra field 'extensions' not permitted in 'apps.proto-
2023-01-10 13:31:36.780 Traceback (most recent call last):
2023-01-10 13:31:36.780 File "/snap/
2023-01-10 13:31:36.780 project = Project(**data)
2023-01-10 13:31:36.780 File "pydantic/main.py", line 331, in pydantic.
2023-01-10 13:31:36.780 pydantic.
2023-01-10 13:31:36.780 apps -> proto-device-
2023-01-10 13:31:36.780 extra fields not permitted (type=value_
2023-01-10 13:31:36.780 Full execution log: '/home/
Thread in channel here, where someone else confirms: https:/
Ok, this is list plugins, the root cause is that we are passing the entire spec to craft parts.