Comment 1 for bug 1617302

Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: Specifying a nonexistent part does cause any errors

I am not sure how to fix this on snapcraft (as some interfaces may be specific to the target and not host) but leaving the bug open.

If there is a way to call snap and have it list in a machine readable format ALL the interface types it know about that we can already be in a good state in preventing typos. The other solution I am not fond of is a hard coded list, which would make new interfaces added to snapd harder to use as you will have to wait for snapcraft to whitelist it.

That said, snap could raise an error on invalid interface being used.