~thedac/simplestreams:bug/1790904

Last commit made on 2018-10-29
Get this branch:
git clone -b bug/1790904 https://git.launchpad.net/~thedac/simplestreams
Only David Ames can upload to this branch. If you are David Ames please log in for upload directions.

Branch merges

Branch information

Name:
bug/1790904
Repository:
lp:~thedac/simplestreams

Recent commits

f9cd45f... by David Ames

Validate image checksum and size after upload

Validate the image after upload. Thrown IOError exception if the
checksum or size does not match expectation.

53fe151... by David Ames

Fix v2 load_products properties

In glance v2 the image object acts like a dictionary. There is no
.to_dict() function. Handle the v2 properties in load_products.

9e96362... by David Ames

Addressing the comments.

Moved what can be moved to 'prepare_glance_arguments'
Use self.glance_api_version for version comparisons

e5b90bd... by David Ames

Use Glance v2

OpenStack at Rocky has removed glance v1 entirely. V2 has been around
for some time.

This change updates simplestreams to use glance v2 when "non-legacy"
versions of the clients are used.

Closes-Bug: #1790904

c883862... by Dan Watkins

Start indexing reintroduced bionic root.tar.xz (and manifest)

The root.tar.xz file has been brought back.

LP: #1585233

fa50134... by Scott Moser

tools/install-deps: respect proxy vars when calling apt.

If this tool is called by non-root, it will sudo to call apt-get.
The change here is to respect (and pass along) http_proxy variables
to sudo when they are set.

b7ef8ea... by Dan Watkins

Update CURRENT_LTS to bionic

86b6250... by Scott Moser

tools/install-deps: Use eatmydata for apt-get operations if available.

eatmydata just makes apt-get possibly go faster.

57739e8... by Scott Moser

tools: Fix install-deps on non-x86 by adding libssl-dev and libff-dev.

For some reason I've not fully investigated, on arch other than
intel arch, we need to explicitly add
  libssl-dev for openssl/opensslv.h (Failed building wheel cryptography)
  libffi-dev for ffi.h (Failed building wheel cffi)

Those are part of the build requirements for netifaces.

ec4cc7d... by Scott Moser

tools: fix bug in install-deps that stopped apt-get update from running.

Logic or shell bug in tools/install-deps meant that 'apt-get update'
was never run before installing packages.