Why does neon 16.04 show as "neon" in the store?

My KDE Neon system tells the store this when it starts:-

Aug 12 13:37:22 KinkPad-K450 snapd[4018]: daemon.go:343: started snapd/2.35~pre1 (series 16; classic) neon/16.04 (amd64) linux/4.15.0-30-generic.

But looking at store stats, I see this:

Screenshot_20180814_150227

Why is it showing “neon” and not “neon 16.04”?

I ask because there’s a new neon out - “neon 18.04” and the store doesn’t seem to differentiate.

$ cat /etc/os-release 
NAME="KDE neon LTS"
VERSION="5.12"
ID=neon
ID_LIKE="ubuntu debian"
PRETTY_NAME="KDE neon LTS User Edition 5.12"
VERSION_ID="16.04"
HOME_URL="http://neon.kde.org/"
SUPPORT_URL="http://neon.kde.org/"
BUG_REPORT_URL="http://bugs.kde.org/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

Shall it be a relational issue?

@cprov Any ideas here?

The publisher (absolute) and public (relative/normalized) metrics both mention neon/16.04 and neon/18.04 specifically.

We have to find out if the storefront is doing some misleading aggregation/cleanup, if it is the case, stop doing it.

https://github.com/canonical-websites/snapcraft.io/blob/master/static/js/publisher/metrics/graphs/activeDevices.js#L53

3 Likes

We are currently deploying at production after testing on staging so the fix will be available pretty soon – Thanks for the snippet @sparkiegeek.

We can think about displaying aggregated metrics grouped by distro independent of version numbers? This can give a better overview to publishers about which distributions are their snaps most used on.

3 Likes

This is now fixed, thank you!