lp://qastaging/~smoser/simplestreams/trunk.sort

Created by Scott Moser and last modified
Get this branch:
bzr branch lp://qastaging/~smoser/simplestreams/trunk.sort
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
simplestreams
Status:
Merged

Recent revisions

432. By Scott Moser

tools/make-test-data: sort keys when writing json, sort product names

This uses the simplestreams/util 'dump_data' to dump json data in
each place that was writing json in tools/make-test-data.

Also, it sorts the 'products' data in the index stream.

431. By Scott Moser

support stream output for yakkety builds

For yakkety builds:
 - yakkety build output renames the -disk1.img file to .img
   but stream data should maintain -disk1.img as the ftype and item key.
 - -root.tar.gz and -root.tar.xz files are not produced
 - squashfs images are available (and also were available partially through
   xenial)

As a cleanup, we a helper to ubuntu_versions to compare versions more
directly. String compare was less useful in some cases and also would end
up breaking after 'z' because whatever release comes after z would string
sort to < z.

This also adds a simple tool for comparing two trees output of 'make exdata'.
    ./tools/compare-test-data ../trunk.dist ./
will output a 'diff' from old to new list of files indexed.

430. By Robie Basak

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

set a default user-agent

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

428. By Scott Moser

glance mirror: do not require that hypervisor_config be present

This just allows for hypervisor_config to not be present.

427. By Scott Moser

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

426. By Scott Moser

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

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

[MERGE] Added alias' to support LXD

423. By Scott Moser

Enable better support for multi-hypervisor regions in OpenStack

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

Branch metadata

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

Subscribers