I try to create my first snap and I failed with this. However to my mind and knowledge it shoudl be works. I study over one week different pages with verious snap descriptions, I also study many examples. But I have no idea why my snap is not build!
My snap is as follow. Error message is below:
name: backup
version: '0.1'
summary: Simple backup daemon
description: |
Simple backup daemon.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
backup:
command: bin/backup
parts:
7z:
plugin: nil
stage-packages:
- p7zip
QtCsv:
plugin: qmake
source: https://github.com/iamantony/qtcsv/archive/v1.4.1.zip
backup:
plugin: qmake
source: ../Src
Error message:
Issues while validating snapcraft.yaml: The 'parts' property does not match the required schema: '7z' is not a valid part name. Part names consist of lower-case alphanumeric characters, hyphens, plus signs, and forward slashes. As a special case, 'plugins' is also not a valid part name.
thanks and best regards
Szyk Cech