"version: git" can produce version strings too long for snapd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
The following snapcraft.yaml (to go into the github.
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/.
- $HOME/.
- $HOME/.
parts:
fluxctl:
plugin: go
go-importpath: github.
prime:
- bin/fluxctl
apps:
fluxctl:
command: fluxctl
plugs: [system-files, personal-files, network, network-bind]
snapd gives:
[daniel@reef flux ]$ snap install --dangerous fluxctl_
Fehler: cannot read snap file: invalid snap version "chart-
longer than 32 characters (got: 33)
[daniel@reef flux ]$
You may use `version-script:` to forge your own command line.
Maybe default options of `git describe` aren't good for your project.