Request for dbus slot for the app's session bus name (dev.aadhil.devtpro)

Hi, requesting a session-bus dbus slot for the snap devtpro. Details below.

name: devtpro
description: DevT Pro, an offline Flutter/GTK 3 desktop app with developer
  tools (format, convert and validate JSON/XML/YAML, encoders, hashes and
  similar), plus a bundled CLI (devtpro.cli). https://devtpro.app
snapcraft: not publicly available (relevant excerpt below)
upstream: PRIVATE
upstream-relation: maintainer (I develop and publish the app)
slots:
  dbus-devtpro:
    interface: dbus
    attributes:
      bus: session
      name: dev.aadhil.devtpro
    request-type: installation
    reasoning: The GUI is a GtkApplication with the application ID
      dev.aadhil.devtpro and registers it on the session bus for
      single-instance handling. A second launch, or a devtpro:// link opened
      from the desktop, is forwarded to the running window. The bus name
      matches the application ID used in the desktop file, the AppStream
      metainfo and the Flatpak, and comes from my domain aadhil.dev, which
      also hosts the release archives. Without the slot, strict confinement
      denies the name ("Failed to register: ... Request to own name refused
      by policy") and the window never opens.

Excerpt from snapcraft.yaml:

slots:
  dbus-devtpro:
    interface: dbus
    bus: session
    name: dev.aadhil.devtpro

apps:
  devtpro:
    slots: [dbus-devtpro]

A few notes:

  • The slot is only on the GUI app. The cli app doesn’t use D-Bus.
  • Only the app itself uses the name. No other snap is expected to connect to it.

Happy to upload a revision with the slot for review or answer any questions. Thanks!

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

Hi @aadhilkh

dbus interface does not require a forum request as long as the name of the interface makes sense and in this case, it does. Please upload the new revision of the snap with the dbus interface and I will go ahead and grant it. Thanks!

Thanks! I have uploaded revision 7 (9.0.2) of devtpro with the session-bus dbus slot dbus-devtpro. It’s waiting in manual review.

Hi @aadhilkh

I have granted the dbus interface and the new revision(7) of devtpro is now live.