Created by Robie Basak and last modified
Get this branch:
bzr branch lp:~racb/simplestreams/optimise-read_signed
Only Robie Basak can upload to this branch. If you are Robie Basak please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Robie Basak

Recent revisions

430. By Robie Basak on 2016-05-11

Optimise read_signed

Use join instead of iteratively "appending" to a string. In my use case,
this reduces signature check time from over 400 seconds to almost a
tenth of a second.

429. By Scott Moser on 2016-05-05

set a default user-agent

Follow on to the custom user agent merge by adding a default user agent.

428. By Scott Moser on 2016-05-05

glance mirror: do not require that hypervisor_config be present

This just allows for hypervisor_config to not be present.

427. By Scott Moser on 2016-05-05

Add user-agent support

This adds user-agent support. The library user may want to
provide a specific user agent when querying a remote mirror.

Because of the code structure, there's some not-very-nice code in here, mainly
the use of url_reader_factory function, but without knowing what parts of
simplestreams API we want to keep backward compatible, I refrained from
changing anything of the existing code too much.

There are tests for all the new code, and for some of the old code that was

426. By Scott Moser on 2016-03-23

Switch to using virt key for hypervisor type in stream data.

In order to be consistent with other stream data that uses the
'virt' tag name (such as aws) the glance mirror should translate the
underlying hypervisor_type for the glance image into an appropriate 'virt'
value for the cloud.

Also, change the following virt types
  lxc -> lxd
  qemu -> kvm

425. By Ben Howard on 2016-03-04

Set product aliases without modifying release data dictionary

In r424 we added support for aliases. With that code it is possible
that the daily devel products will lack the intended 'devel' alias.

Aliases for a release/arch are set from toolutil.REL2VER[release] and
if the stream is not daily the 'devel' item in the list of aliases is
removed, however the code from that commit accidentally removed 'devel'
from the source dictionary rather than creating a local copy first.
If the devel release is evaluated before the devel daily then the 'devel'
alias will not be present in the dictionary.

This patch will copy the aliases from the release dictionary and
modify the copy for the product being indexed.

424. By Ben Howard on 2016-03-02

[MERGE] Added alias' to support LXD

423. By Scott Moser on 2016-02-01

Enable better support for multi-hypervisor regions in OpenStack

1) Determine correct disk format.
2) Set hypervisor_type on images based on ftype field.

422. By Scott Moser on 2016-01-25

dump_data: dump json data with sorted keys

make dump_data use sorted keys for dictionaries.
The desire is to reduce differences in output that would otherwise
be the same.

421. By Scott Moser on 2016-01-14

tools/make-test-data: Fix missing lxc/lxd files for ppc64el builds.

We had a whitelist on ppc64el ever since the first ppc64el builds.
Removing that whitelist means we will now get correct file information
for all ppc64el builds.

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.