mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 18:44:16 +00:00
10
.gitignore
vendored
10
.gitignore
vendored
@@ -11,3 +11,13 @@ tags
|
|||||||
env
|
env
|
||||||
htmlcov
|
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
|
||||||
|
|||||||
32
packages/snap/snapcraft.yaml
Normal file
32
packages/snap/snapcraft.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user