snapcraft should filter out 'adapter' when generating snap.yaml

Bug #1750658 reported by Jamie Strandboge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

As of https://github.com/snapcore/snapcraft/pull/1420, snapcraft supports:

apps:
  foo:
    adapter: none

It unfortunately passes this along into the snap.yaml, but snapd doesn't do anything with 'adapter'. Snapcraft should instead filter out 'adpater' when generating snap.yaml. Please see https://forum.snapcraft.io/t/telling-snapcraft-to-skip-generating-wrapper-scripts/1635/5 for details.

description: updated
Revision history for this message
Cris Dywan (kalikiana) wrote :

This should probably be dropped from the YAML in snapcraft/internal/meta/_snap_packaging.py when processing the wrappers.

Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
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.