Kiosk apps with xwayland-kiosk-launch needing an x11 slot that makes them go into manual review


#1

When packaging a new kiosk app that uses the xwayland launch helper for mir-kiosk, these apps always go into manual review and the reviewers team needs to do an initial bump to get them released …

during a discussion on IRC @jdstrand said he had an idea how to automate this process, this post is supposed to serve as a base to outline this idea …


#2

Right, I think we should adjust the base declaration to have this work something like the content snap.

Eg, today we have:

  x11:
    allow-installation:
      slot-snap-type:
        - app
        - core
    deny-connection:
      on-classic: false
    deny-auto-connection:
      on-classic: false

Perhaps this should be changed to (untested):

  x11:
    allow-installation:
      slot-snap-type:
        - app
        - core
    allow-connection:
      - on-classic: true
      - plug-publisher-id:
        - $SLOT_PUBLISHER_ID
    allow-auto-connection:
      - on-classic: true
      - plug-publisher-id:
        - $SLOT_PUBLISHER_ID

Ie, we use alternate constraints for auto-connection and connection such that we continue to auto-connect on classic, but we also allow auto-connect and and connect when the publisher is the same. With this, I can adjust the review-tools to be less strict about snaps that slots x11.

@pedronis - thoughts?