mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 07:18:31 +01:00
Fixes https://github.com/iterative/dvc/pull/2778#issuecomment-554651335
31 lines
704 B
YAML
31 lines
704 B
YAML
name: dvc
|
|
summary: Data Version Control
|
|
description: Git for Data & Models https://dvc.org
|
|
adopt-info: dvc
|
|
grade: stable
|
|
confinement: classic # for same reasons as snap `git-ubuntu`
|
|
base: core18
|
|
license: Apache-2.0
|
|
parts:
|
|
dvc:
|
|
plugin: python
|
|
python-packages: [wheel]
|
|
source: .
|
|
build-packages:
|
|
- git
|
|
- libc-dev
|
|
stage-packages:
|
|
- git
|
|
- libc-dev
|
|
override-pull: |
|
|
snapcraftctl pull
|
|
echo 'PKG = "snap"' > $SNAPCRAFT_PART_SRC/dvc/utils/build.py
|
|
snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC && git describe --tags`
|
|
apps:
|
|
dvc:
|
|
command: bin/dvc
|
|
environment:
|
|
GIT_PYTHON_GIT_EXECUTABLE: dvc.git
|
|
git:
|
|
command: /usr/bin/git
|