passthrough field being added to snap.yaml

Bug #1862197 reported by Ian M. Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Undecided
Chris Patterson

Bug Description

The last few automatic builds on snapcraft.io of my snippetpixie snap have been flagged for manual review each time because the resulting meta/snap.yaml has the `passthrough` field in its apps section.

Apparently this in the snapcraft.yaml...

```
apps:
  snippetpixie:
    command: bin/desktop-launch $SNAP/usr/bin/com.github.bytepixie.snippetpixie
    passthrough:
      autostart: snippetpixie_snippetpixie.desktop
    desktop: usr/share/applications/com.github.bytepixie.snippetpixie.desktop
    environment:
      GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas
```

...results in the snap.yaml getting this...

```
apps:
  snippetpixie:
    autostart: snippetpixie_snippetpixie.desktop
    passthrough:
      autostart: snippetpixie_snippetpixie.desktop
```

This was discussed and the actual problem brought to my attention on the forum.

https://forum.snapcraft.io/t/blocked-from-updating-snap-due-to-some-auto-revision-i-didnt-trigger/15309/10

The snapcraft.yaml that has surfaced this bug can be found in the snippetpixie GitHub repo.

https://github.com/bytepixie/snippetpixie/blob/768d53503616a6cb5657bf296c3ce5ae2a06c348/snapcraft.yaml#L29

Chris Patterson (cjp256)
Changed in snapcraft:
assignee: nobody → Chris Patterson (cjp256)
Revision history for this message
Chris Patterson (cjp256) wrote :
Changed in snapcraft:
status: New → In Progress
Revision history for this message
Chris Patterson (cjp256) wrote :

Sorry for the troubles Ian! I have opened a PR that should address this issue and I expect we will backport it as well. Thank you for the report :)

Changed in snapcraft:
status: In Progress → Fix Committed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Part of 3.10

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.