-
-
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: test-offlineimap-{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: '1.0'
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: OfflineIMAP
A sentence summarising the snap in short and simple terms.description: | OfflineIMAP is software that downloads your email mailbox(es) as local Maildirs. OfflineIMAP will synchronize both sides via IMAP.
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.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.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.parts: test-offlineimap-{name}: plugin: python python-version: python2 source: https://github.com/snapcraft-docs/offlineimap.git stage-packages: - python-six
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: test-offlineimap-{name}: command: bin/offlineimap
A map of app-names representing entry points to run for the snap.