~suligap/snapstore-client:export-store-fetch-snap-declarations-for-revisionless-snaps

Last commit made on 2022-04-14
Get this branch:
git clone -b export-store-fetch-snap-declarations-for-revisionless-snaps https://git.launchpad.net/~suligap/snapstore-client
Only Przemysław Suliga can upload to this branch. If you are Przemysław Suliga please log in for upload directions.

Branch merges

Branch information

Name:
export-store-fetch-snap-declarations-for-revisionless-snaps
Repository:
lp:~suligap/snapstore-client

Recent commits

3bf8429... by Przemysław Suliga

Add revisionless snaps bundles export to "export store"

Download snap-declaration assert stream and construct snap ident data
for import into offline store for all revisionless snaps registered in
the target store or its parent. Each snap gets its own tarball with
assert file and an ident data json file.

5684ab3... by Przemysław Suliga

Change extract_unpublished_snap_ids() to extract_unpublished_snaps()

93338fd... by Przemysław Suliga

Fix test_download_snap_files_success with use_file_read_cb param

c09cc22... by Przemysław Suliga

Download snap declarations of unpublished snaps in snaps.export

5b77d97... by Przemysław Suliga

Add assertions.get_snap_declaration_stream()

7a54432... by Przemysław Suliga

Add stores.extract_unpublished_snap_ids()

To get a list of snap IDs we need to fetch snap-declaration assertions
for. We assume that some of those snaps can be the ones that will have
their revision authority delegated, and we need their declarations
exported.

01720e3... by Przemysław Suliga

Remove "brand store" related terminology

In favor of IoT App Store (https://ubuntu.com/internet-of-things).

295b5f6... by Przemysław Suliga

Fetch parent store metadata in "export store"

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

57014d7... by Przemysław Suliga

Remove unnecessary debug logs from defaults module

It might make sense to log that a default is being overriden and these
logs stay, but logging each invocation of get_*() is quite disruptive.

f7bdd48... by Przemysław Suliga

Fetch parent store metadata in "export store"

If the target store has a parent, get that parent's data and assertion.

We get access to metadata about "revisionless" snaps published to the
parent store that way. We'll be also able to "setup both stores" offline
in one go during import thanks to this.

The idea is that users will usually want to export a specific
"device store" which does have a parent and will expect that all snaps
published to the parent will be exported as well.