This patch supports canonical config paths by the help of the
`personal-files` and the `system-files` security confinement interfaces.
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
This patch specifies the exact release of the dependencies to pull in,
this avoids regressions and incompatibilities from the new upstream
changes.
The maintainer should check and bump the dependency version once in a
while and check for breakage.
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
This patch replaces the deprecated `version-script` key with new
Snapcraft metadata extracting features based on the `adopt-info` and
`parse-info` keys and the `snapcraftctl set-version` command.
This allows metadata sharing with Setuptools setup.py file.
Refernce:
Extracting information from sources in snapcraft parts - doc - snapcraft.io
https://forum.snapcraft.io/t/extracting-information-from-sources-in-snapcraft-parts/4642
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
The snap version string generated by the `git` value of the `version`
key isn't mimicing the previous versioning style due to the prefixing
`v` in the git tag, this patch replace it with a custom implementation
based on the `version-script` key.
Note the `version` key is still required to exist due to schema
requirements, but has no effect when the `version-script` key is
defined.
Reference:
Snapcraft version scripts - snapcraft - snapcraft.io
https://forum.snapcraft.io/t/snapcraft-version-scripts/106
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
The snapd version that supports the interface hasn't released to the
stable channel yet, and the Snap Store autoconnection isn't granted,
hold back the patch until both conditions are met.
This reverts commit c904a8a and (parts of) 108dc7b.