[kteam-tools][PATCH 4/5] wfl: add a helper class for snap store

Andy Whitcroft apw at canonical.com
Tue Nov 14 12:48:25 UTC 2017


On Fri, Nov 10, 2017 at 09:18:16AM +0100, Kleber Sacilotto de Souza wrote:
> Add a helper class to handle the snap store operations. For now it loads
> the versioning info for a snap associated with a tracking bug on first
> use and provides a method to check if the kernel package version matches
> the snap version for a given channel.
> 
> Signed-off-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>
> ---
[...]
> +# SnapStore
> +#
> +class SnapStore:
> +    """
> +    A helper class to handle Snapcraft store operations.
> +    """
> +    base_url = "https://search.apps.ubuntu.com/api/v1/snaps/details/"
> +    common_headers = {'X-Ubuntu-Series': '16'}

I assume this should be recorded somewhere ?  Should it in fact be a key
on the dependent-snap record?  With BB opening I assume we will have an
18 in here soon?

-apw




More information about the kernel-team mailing list