New auto-connects needed for plasma-discover

Hello,

Now that I’m tightening the screws everywhere for the latest KDE based Ubuntu Core Desktop images, I’m finding a few missing auto-connects for plasma-discover. Please find them listed in the request below.


  • name: plasma-discover
  • description: Discover allows to install/uninstall applications, in our case snaps
  • snapcraft: https://invent.kde.org/neon/snap-packaging/discover-snap/-/blob/master/snapcraft.yaml
  • upstream: https://invent.kde.org/plasma/discover.git
  • upstream-relation: Both are produced by the KDE community
  • interfaces:
    • desktop-launch:
      • request-type: auto-connection
      • reasoning: Snaps can be started straight from Discover after they’ve been installed
    • network-manager:
      • request-type: auto-connection
      • reasoning: Discover checks the network connectivity status to know if it can update its appstream cache or not
    • screen-inhibit-control:
      • request-type: auto-connection
      • reasoning: Discover tries to prevent the session from going to sleep while installs/uninstalls are in progress
    • snapd-control:
      • request-type: auto-connection
      • reasoning: Discover just cannot do its job of installing/uninstalling snaps without this interface

Thanks in advance!

1 Like

This request has been added to the queue for review by the @reviewers team.

Hi @kottens!

+1 (#voteFor) from me for the following interfaces:

  • desktop-launch
  • screen-inhibit-control
  • snapd-control

Concerning the network-manager one, if you just intend to check the network status, you may use network-observe instead.

Thanks!

@yomonokio Thanks. You meant network-manager-observe right? Or am I missing something? (network-observe doesn’t seem to give access to the same thing).

Hey @kottens, yes let us know if network-manager-observe plug works in this case

and +1 from my end (#voteFor) to these interfaces: desktop-launch, screen-inhibit-control, and snapd-control

Interestingly the network-manager snap on core doesn’t have network-manager-observe… But on further investigation it looks like on core we can actually do without network-manager and network-manager-observe being connected.

So I’d say let’s ignore it for now I’ll make another request later on if we encounter issues in practice.

Understood. So only desktop-launch, screen-inhibit-control and snapd-control interfaces are in this request for consideration then. Thanks for confirming

Voting period has ended. This request is approved with 2 votes for and 0 votes against.

+2 for, 0 against. Granting the above interfaces to plasma-discover snap. This is now live

Thanks! I confirm this auto-connected to the three plugs.