← Back to issue list

"version: git" can produce version strings too long for snapd

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1812633
Type
issue
State
open
Author
~dholbach
Labels
Created
2019-01-21 10:35:38.702534+00:00
Updated
2019-02-11 15:01:24.140870+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The following snapcraft.yaml (to go into the github.com/weaveworks/flux tree): name: fluxctl version: git summary: fluxctl talks to Weave Flux and helps you deploy your code description: | fluxctl talks to your Weave Flux instance and exposes all its functionality to an easy to use command line interface. grade: devel # must be 'stable' to release into candidate/stable channels confinement: strict plugs: system-files: read: [/etc/kube/config] personal-files: read: - $HOME/.kube/config - $HOME/.minikube/client.key - $HOME/.minikube/client.crt - $HOME/.minikube/ca.crt parts: fluxctl: plugin: go go-importpath: github.com/weaveworks/flux prime: - bin/fluxctl apps: fluxctl: command: fluxctl plugs: [system-files, personal-files, network, network-bind] snapd gives: [daniel@reef flux ]$ snap install --dangerous fluxctl_chart-0.2.1+git664.3a0e5b88-dirty_amd64.snap Fehler: cannot read snap file: invalid snap version "chart-0.2.1+git664.3a0e5b88-dirty": cannot be longer than 32 characters (got: 33) [daniel@reef flux ]$

Evaluation history

No evaluation history available.