My snap argos-translate
currently has a plug called argos-packages
that connects to a slot from argos-translate-base-langs
. argos-translate-base-langs
is the default provider and is currently auto installed and connected when argos-translate
is installed. I want to maintain this behavior but have argos-translate
greedily connect to any other argos-packages
providing slots that are installed, for example argos-translate-de-en
(but only auto install argos-translate-base-langs
).
argos-translate:
plugs:
argos-packages:
interface: content
content: argos-packages
target: $SNAP/snap_custom/content_snap_packages
default-provider: argos-translate-base-langs
content snaps:
slots:
argos-packages:
interface: content
content: argos-packages
source:
read:
- $SNAP/packages
My understanding is that I need to do this through a store request?
Relevant forum post: Plug/slot declaration rules: greedy plugs
Code: https://github.com/argosopentech/argos-translate
Thanks!