snapcraft expand-extensions is broken
Bug #2011719 reported by
Scarlett Gately Moore
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
snapcraft expand-extensions > snapcraft-
extra field ‘parse-info’ not permitted in ‘parts.blinken’ configuration
To post a comment you must log in.
I was able to reproduce this failure with:
```
name: expand-extensions
base: core22
version: '0.1'
summary: "Test `expand-extensions` can successfully parse the snapcraf.yaml."
description: |
This snapcraft.yaml includes regression tests where extensions, parse-info,
and advanced grammar are not parsed before expanding extensions.
grade: stable
confinement: strict
apps:
list-plugins:
command: /bin/true
extensions: [gnome]
parts: metainfo/ photos. ansel.app. appdata. xml
nil:
plugin: nil
parse-info:
- usr/share/
stage-packages:
- mesa-opencl-icd
- ocl-icd-libopencl1
- on amd64:
- intel-opencl-icd
```
This reproducer exposes a few failure points - advanced grammar, an extension, and parse-info.
Recently, we fixed a similar bug for the `snapcraft list-plugins` command. (https:/ /github. com/snapcore/ snapcraft/ pull/4035)
It looks like that same fix needs to be applied `snapcraft expand-extensions`.
Originally reported here: https:/ /forum. snapcraft. io/t/parts- part-parse- info-broken/ 34335