Thanks @niemeyer.
I get the general idea but when I look at Launchpad package configuration page (this is where we build the packages) I don’t really see how this is going to work.
Looking at the “Create a new snap package” page, there are several form fields to fill:
Name:
Registered store package name:
Risk:
Track:
Let’s take PostgreSQL version 9.3.17 for example.
My guess is you expect this:
Name: postgresql (perhaps postgresql-9.3.17 would be better?)
Registered store package name: postgresql
Risk: stable
Track: 9.3
Consequently, for PostgreSQL 9.6.1 it should be:
Name: postgresql (similarly, postgresql-9.6.1 would be a better name?)
Registered store package name: postgresql
Risk: stable
Track: 9.6
and so on.
But I don’t see where the actual version number comes into play. Is it derived from corresponding entry in snapcraft.yaml?
Also, snap (2.25) install command offers only --revision and --channel but nothing, it seems, pertaining to the concept of the tracks.
Basically, what I’m trying to figure out is how one would configure Launchpad and how one would install a specific version of the package that belongs to a specific track.
I would appreciated it if somebody explained how this is supposed to work.