-
-
A snapcraft.yaml file holds the basic meta data for the snap.
We have generated an example snapcraft.yaml for you using the snap name you have chosen, don’t worry you can edit this at any point later on.
To discover more about the
snapcraft.yaml
, mouse over each piece of metadata in the interactive.yaml
viewer below:snapcraft.yamlname: ros-talker-listener-{name}
The name must be unique in the Snap Store. Valid snap names consist of at least two lower-case alphanumeric characters and can contain hyphens. They cannot consist of only numbers and cannot start or end with a hyphen.version: '0.1'
The version is a string that is assigned to the project by its developers, according to their development practices. It is a free text field that should be human readable and tell the user what content to expect from a snap.summary: ROS Talker/Listener Example
A sentence summarising the snap in short and simple terms.description: | This example launches a ROS talker and listener.
A multi-line description of the snap. This should be a more in-depth look at what your snap does and who may find it most useful.base: core18
A base is a special kind of snap that provides a minimal set of libraries common to most applications. A base snap mounts itself as the root filesystem within your snap so that when your application runs, the base’s library paths are searched directly after the paths for your specific snap.confinement: devmode
Confinement determines if the snap should be restricted in access or not. Possible values are strict (for no access outside of declared interfaces through plugs), devmode (for unrestricted access) or classic.parts: ros-tutorials: plugin: catkin source: https://github.com/ros/ros_tutorials.git source-branch: melodic-devel source-space: roscpp_tutorials/
Parts are a set of building blocks which are usually independent. These building blocks consist of either code, pre-built packages or other assets. At times some blocks depend on another and as such may be built in a defined sequence.apps: ros-talker-listener-{name}: command: roslaunch roscpp_tutorials talker_listener.launch
A map of app-names representing entry points to run for the snap.