diff --git a/.gitignore b/.gitignore index e398e3f..68e4a46 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,13 @@ tags env htmlcov +# Snap packages +parts/ +prime/ +stage/ +*.snap + +/packages/snap/.snapcraft/ + +# Source archive packed by `snapcraft cleanbuild` before pushing to the LXD container +/packages/*_source.tar.bz2 diff --git a/packages/snap/snapcraft.yaml b/packages/snap/snapcraft.yaml new file mode 100644 index 0000000..134075c --- /dev/null +++ b/packages/snap/snapcraft.yaml @@ -0,0 +1,32 @@ +name: dotdrop +version: latest +version-script: cat $SNAPCRAFT_STAGE/bin/dotdrop | grep '__requires__' | sed "s/.*'dotdrop==\(.*\)'/\1/" +summary: It makes the management of dotfiles between different hosts easy. +description: > + It allows to store your dotfiles on git and automagically deploy + different versions of the same file on different setups. + + It also allows to manage different *sets* of dotfiles. + For example you can have a set of dotfiles for your home laptop and + a different set for your office desktop. Those sets may overlap and different + versions of the same dotfiles can be deployed on different predefined *profiles*. + Or you may have a main set of dotfiles for your + everyday's host and a sub-set you only need to deploy to temporary + hosts (cloud VM, etc) that may be using + a slightly different version of some of the dotfiles. +confinement: strict +grade: stable + +apps: + dotdrop: + command: dotdrop + plugs: + - home + +parts: + dotdrop: + plugin: python + python-version: python3 + source: ../ + stage-packages: + - file