Parts.part.parse-info broken?

Relevant snapcraft.yaml name: blinken adopt-info: blinken parts: blinken: parse-info: - usr/share/metainfo/org.kde.blinken.appdata.xml

I get error: Starting Snapcraft 7.3.1 Logging execution to '/root/.local/state/snapcraft/log/snapcraft-20230314-192811.829795.log' Bad snapcraft.yaml content: - extra field 'parse-info' not permitted in 'parts.blinken' configuration

If I remove it of course bits like Summary are missing and build fails. I am moving my snaps to core22 if that is relevant, it always worked in core20.

Thanks for any assistance. Scarlett

1 Like

Ok so it is snapcraft expand-extensions that is broken. We use this to be able to sed content versions before it is updated in snapcraft neon extension.

snapcraft expand-extensions > snapcraft-expanded.yaml Bad snapcraft.yaml content:

  • extra field ‘parse-info’ not permitted in ‘parts.blinken’ configuration

Thanks for reporting this, @sgmoore!

Recently, we fixed a similar bug for the snapcraft list-plugins command.

It looks like that same fix needs to be applied snapcraft expand-extensions.

Do you mind reporting this on launchpad, so we can triage and track it?

1 Like

Will do that right now Thank you Scarlett

1 Like