~lmd-jazzededtech/snapstore-client/+git/snapstore-client-2:master

Last commit made on 2022-01-14
Get this branch:
git clone -b master https://git.launchpad.net/~lmd-jazzededtech/snapstore-client/+git/snapstore-client-2
Only violethaze74@jazzededtech.com can upload to this branch. If you are violethaze74@jazzededtech.com please log in for upload directions.

Branch merges

Branch information

Recent commits

e8f6b4f... by Wouter van Bommel

Update the dependencies & snap base

* Build snaps using core20 (vs core)
* Use ols-goodyear for the dependencies
* Update snapcraft.yaml to work with newer snapcraft versions
* Bumped version to 1.1 (as there is a base update)

Merged from https://code.launchpad.net/~woutervb/snapstore-client/+git/snapstore-client/+merge/414001

761170f... by Wouter van Bommel

Refer to focal

942ebbd... by Wouter van Bommel

Modernize snapbuild, core20

Updates
* snapcraft.yaml to use core20 as a base (coming from core!)
* Makefile to use the curated wheels from ols-goodyear
* Makefile to place the virtualenv in a local subdirectory (that was a
  problem once, with ancient versions of snapcraft, that prevented this)
* Updated gitignore
* Updated the build & clean commands for a more modern snapcraft
* removed libsodium as it no longer needed

0a6f1fc... by Przemysław Suliga

Fixes for remote airgap snap uploads

- missing utf-8 encoding of assertions payload
- ignore missing revisions when uploading snap files
- missing package_type field in various API calls

Merged from https://code.launchpad.net/~suligap/snapstore-client/+git/snapstore-client/+merge/381974

9c22a42... by Przemysław Suliga

Add missing package_type field to various API calls

A required package_type field was added to some API endpoints along the
way.

This fixes calls to:

- snapdevicegw/snaps/update
- snapdevicegw/revisions/create
- snapdevicegw/channelmaps/filter
- snapdevicegw/channelmaps/update

A better fix could be to include snapstore-schemas here for better testing.

63cd217... by Przemysław Suliga

Ignore missing snap revision uploads

Tarballs produced by `snap-store-proxy fetch-snaps` can contain
channel-maps with more revisions than snap files of those revisions.

Skip missing revisions if they're not included in the tarball while
trying to push snap files to an airgapped proxy.

TODO: This function is not tested and should probably be, but lots of
the code is repeated with the one from snap-store-proxy, so we might
want to fix that by deduplicating it into a library.

d2771f2... by Przemysław Suliga

UTF-8 encode assertions payload before pushing

Fixes a missing requests request body utf-8 encode.

6332c7e... by Tom Wardill

Add control and upload for an offline proxy

Merged from https://code.launchpad.net/~twom/snapstore-client/+git/snapstore-client/+merge/364917

00476d8... by Tom Wardill

Extract a tar file before upload

935fb22... by Tom Wardill

Rename upload to push