lp://staging/~freyes/simplestreams/lp1630744

Created by Felipe Reyes and last modified
Get this branch:
bzr branch lp://staging/~freyes/simplestreams/lp1630744
Only Felipe Reyes can upload to this branch. If you are Felipe Reyes please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Felipe Reyes
Project:
simplestreams
Status:
Development

Recent revisions

450. By Felipe Reyes

Log image id and exception when delete op fails

449. By Felipe Reyes

mirrors/glance: when deleting an image silently discard 404 error

This may happen when glance detected the image is not available in the
storage backend anymore and marked it as deleted. Without this patch syncing
process is aborted.

448. By Scott Moser

fix flake8

447. By Scott Moser

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

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

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

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
errors.

443. By Scott Moser

tools/run-flake8: fix trusty tox environment

syntax was just bad.

442. By Scott Moser

Makefile: use 'any' flake8

this adds 'any' to tools/run-flake8.
It then supports './tools/run-flake8 any' working
 * trusty: run 'flake8'
     - python3-flake8 Build-Depends gets flake8 command installed
       (python3-flake8 Depends on python-flake8 which gives /usr/bin/flake8)
     - python3 -m flake8 does not work.
     - there is no 'flake8' package
 * xenial, yakkety:
     - python3-flake8 does not get 'flake8' package
     - python3 -m flake8 works.
 * tox: we want to use the environment 'python'

It was needed in order to run with the command ('flake8') on
trusty

441. By Scott Moser

Makefile: use 'any' flake8

this adds 'any' to tools/run-flake8.
It then supports './tools/run-flake8 any' working
 * trusty: run 'flake8'
     - python3-flake8 Build-Depends gets flake8 command installed
       (python3-flake8 Depends on python-flake8 which gives /usr/bin/flake8)
     - python3 -m flake8 does not work.
     - there is no 'flake8' package
 * xenial, yakkety:
     - python3-flake8 does not get 'flake8' package
     - python3 -m flake8 works.
 * tox: we want to use the environment 'python'

It was needed in order to run with the command ('flake8') on
trusty

Branch metadata

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

Subscribers