Snapcraft Extensions

What version of snapcraft are you using? This should still be supported and works for me.

@mr_cal I’m running Ubuntu 24.04 with the latest stable snapcraft.

Ah thanks, I was testing on the latest/edge channel. I can reproduce this on 8.2.12.

This behavior will be fixed in snapcraft 8.3 via refactor: migrate commands to craft-application by mr-cal · Pull Request #4830 · canonical/snapcraft · GitHub

2 Likes

Further information about any specific extension can be obtained by typing snapcraft extension followed by the extension name:

$ snapcraft extension gnome-3-28
This extension eases creation of snaps that integrate with GNOME 3.28
...

This doesn’t appear to work for me:

$ snapcraft --version
snapcraft 8.4.3                                                                                         
$ snapcraft extensions | grep kde-neon
kde-neon                core18, core20, core22
kde-neon-6              core22
$ snapcraft extension kde-neon-6
Usage: snapcraft [options] command [args]...
Try 'snapcraft -h' for help.

Error: no such command 'extension', maybe you meant 'extensions', 'list-extensions' or 'expand-extensions'

Hi @waveform, can you file a bug report for this on snapcraft’s github page?

This works in snapcraft 7 but not snapcraft 8. I think this was accidentally lost as part of a refactor.

Filed as #5117

1 Like