snapcraft expand-extensions is broken

Bug #2011719 reported by Scarlett Gately Moore
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

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

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

Revision history for this message
Callahan Kovacs (mr-cal) wrote :

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

    command: /bin/true
    extensions: [gnome]

    plugin: nil
    - usr/share/metainfo/
      - 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. (

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

Originally reported here:

Changed in snapcraft:
status: New → Confirmed
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.