Interface autoconnection request for the glances snap


#1

Dear @reviewers, I would like to request the auto-connection of the following interfaces for https://snapcraft.io/glances according to the Process for aliases, auto-connections and tracks.

Interface Name Reasoning
system-files
(for accessing /etc/glances/glances.conf)
This is the system-wide configuration file of the application(source)
personal-files
(for accessing ~/.config/glances/glances.conf and $XDG_CONFIG_HOME/glances/glances.conf)
This is the user-wide configuration file of the application(source)

Here’s the upstream conversation regarding this request:


#2

+1 from me as these files are specifically for glances itself, and not shared.


#3

The files themselves aren’t particularly controversial, but do you need read-only access or read/write? Why isn’t SNAP_USER_DATA/.config/glances good enough? Why do you need access to /etc/glances instead of SNAP_DATA/etc/glances (or similar)?