From 73f9f3c9d5a00943b0080134baf167b0fcaa3ea2 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 12 Nov 2019 20:12:19 +0000 Subject: [PATCH] fix connectivity and permissions => back to --classic --- snapcraft.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 8548c98d2..b2fad552f 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -3,7 +3,7 @@ summary: Data Version Control description: Git for Data & Models https://dvc.org adopt-info: dvc grade: stable -confinement: strict +confinement: classic # for same reasons as snap `git-ubuntu` base: core18 license: Apache-2.0 parts: @@ -14,10 +14,16 @@ parts: build-packages: - git - libc-dev + stage-packages: + - git + - libc-dev override-pull: | snapcraftctl pull snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC && git describe --tags` apps: dvc: command: bin/dvc - plugs: [home] # for config + environment: + GIT_PYTHON_GIT_EXECUTABLE: dvc.git + git: + command: /usr/bin/git