Comment 2 for bug 1711329

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

The specification for the content interface already includes the definition of a "default-provider" setting which may be set to the name of a snap that will be installed if no other snap in the system can satisfy that specific content interface.

Please note that in such cases where the snap holds binary data and other implicit dependencies, the snap name and the content interface label should really include an identifier that uniquely defines the content in it. For example, I would suggest something like "kde-5-1604" for a content snap shipping all the KDE libraries that are compatible with Ubuntu 16.04.

If you're interested, I've explained in more detail that problem in the following whiteboard session. Please just note that the name there will likely change from "gnome-16-04" to "gnome-3-24-1604" similar to what was suggested above with "kde-5-1604". https://youtu.be/KEm5WNsAnbE