We recently landed support to adding better version information to the core snap.
The previous version of the core snap was
16-2. With the new version support we can put a more meaningful version derived from from the “upstream” version of snapd. The only caveat is that the total version is max. 32 chars long. For releases of snapd this works great, e.g.
We just need to decide what to encode in the development version of snapd. Some options:
16-2.26.1+git.115 # 115 commits since the last tag
More ideas welcome.
Fwiw, we should fix this directly in the build recipe in https://code.launchpad.net/~snappy-dev/+recipe/snapd-vendor-daily if we can. The caveat for the build recipe version is that it must follow the dpkg version ordering. But even if we decide to use a different version string that is not dpkg sortable we can fixup things in https://github.com/snapcore/core/blob/master/snapcraft.yaml