snapcraft icon indicating copy to clipboard operation
snapcraft copied to clipboard

"snapcraft extension" does not recognize core22 extensions

Open rpjday opened this issue 2 years ago • 1 comments

Bug Description

"snapcraft extension" does not accept a core22 extension as an argument. Here, ros2-humble is a valid core22 extension:

$ snapcraft extension ros1-noetic Setup a ROS 1 build and runtime environment suitable for a snap. $ snapcraft extension ros2-foxy Drives ROS 2 build and runtime environment for snap. $ snapcraft extension ros2-humble Failed to find extension 'ros2-humble': a extension by that name does not exist. Check the extension name and try again. $

This despite the fact that "snapcraft extensions" clearly lists ros2-humble as a valid core22 extension. Same problem with the other core22 extensions:

$ snapcraft extension gnome Failed to find extension 'gnome': a extension by that name does not exist. Check the extension name and try again. $

To Reproduce

$ snapcraft extension ros2-humble $ snapcraft extension gnome

Environment

Ubuntu 22.04, snap 7.5.2

snapcraft.yaml

None.

Relevant log output

None.

Additional context

No response

rpjday avatar Aug 30 '23 08:08 rpjday

We had an extended discussion of this issue at https://chat.charmhub.io/charmhub/pl/odyssdtda7rdzjgo5cqbdiwy7e

ghost avatar Sep 07 '23 12:09 ghost

The extension command was removed in snapcraft.

mr-cal avatar Apr 24 '25 14:04 mr-cal