Created by David Ames and last modified
Get this branch:
bzr branch lp:~thedac/simplestreams/lp1719879
Only David Ames can upload to this branch. If you are David Ames please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

David Ames

Recent revisions

453. By David Ames on 2017-10-30

Fix KSv3 Bugs

This change fixes two bugs.

One, when using keystoneauth1 sessions with swiftclient less than
3.3.0, catch the TypeError and use the old Connection method.

Two, the glance mirror would check if tenant_id matched before
recognizing an existing image. This cause duplicate images to be
uploaded. With keystoneauth1 sessions use a method to get the
project id.

Closes-Bug: #1719879

452. By Scott Moser on 2017-10-24

tox.ini: Pin versions of style check tools used in flake8 env.

As upstream makes changes, new errors can come up causing breakage
in daily c-i that are unrelated to project errors. The solution here
is to pin the versions of the upstream projects so that style checks
are done on a specific version.

In other projects we have also added a 'flake8-tip' that could be run
but was not run by default. We can do that at a later date if deemed

451. By Scott Moser on 2017-10-24

flake8: remove usage of bare except.

Fix an E722 (bare except) issue raised in pycodestyle.

450. By David Ames on 2017-09-14

Keystone v3 Support

Get the correct environment variables for Keystone v3.
Use keystoneauth1 sessions when available.

This is backwards compatible with older versions.
In order to use the v3 support OS_IDENTITY_API_VERSION must be
set in the environment, which is typical of 'novarc' files for
keystone v3 clouds.

449. By Robert C Jennings on 2017-04-25

tools/ubuntu_versions.py: Exclude old versions by version not name

Exclusion from ubuntu versions (and streams) has been done by a
name comparison with 'hardy' will is incorrect for 'artful' and later.
This patch changes to use the version number to provide the same

448. By Scott Moser on 2016-11-28

fix flake8

447. By Scott Moser on 2016-11-28

tests: change to having http server select its own port

The big change here is to let the http server in tests/httpserver.py
select its own server by passing port 0 through as the port to HTTPServer.
Then, have it report what port it got.

The tests now run fewer of these servers also, as we run one per class
instead of one per unit test, which makes it significantly faster.
Instead of ~28 python web server processes running during test, it runs
just 5.

446. By Scott Moser on 2016-11-28

flake8: fix style errors reported by pycodestyle 2.1.0

pycodestyle 2.1.0 began to complain about some newline issues
that were previously not complained about. The change here just adds
the new lines that it wants.

445. By Scott Moser on 2016-10-17

Support filters that contain a '-' in the tag name

Previously, filters only allowed word characters (\w) in the
tag name. This extends the regex to support a '-' in the tag name.

Specifically this was found when maas added tags 'bootloader-type'.

444. By Scott Moser on 2016-08-04

tools/run-flake8: run on all python programs in tools and fix errors

now tools/run-flake8 will run on all python programs in tools
by checking the first line for 'python'. Then, fix all the reported

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.