Hi,
I’m getting ready to publish a first draft of ubuntu-accomplishments. This app needs dbus access (both plug and slot) for org.ubuntu.Accomplishments
on the session bus:
slots:
accomplishments-service:
interface: dbus
bus: session
name: org.ubuntu.Accomplishments
plugs:
accomplishments-viewer:
interface: dbus
bus: session
name: org.ubuntu.Accomplishments
An automatic connection for this dbus plug/slot is required as follows (the viewer needs to connect to its daemon both in the same snap):
ubuntu-accomplishments:accomplishments-viewer -> ubuntu-accomplishments:accomplishments-service
In addition, for the “Upgraded ubuntu” trophy to be awarded, the app needs to read the following system-files
. Could the app be granted usage rights to the following plug, and also automatically connected:
plugs:
etc-lsb-release:
interface: system-files
read:
- /etc/lsb-release
Edit: forgot to request hardware-observe
autoconnect for trophies that inspect the cpu information from /proc/cpuinfo
.
Edit: also autoconnect of log-observe
as suggested by @alexmurray