Created by Данило Шеган and last modified
Get this branch:
bzr branch lp:~danilo/simplestreams/ignore-inactive-images
Only Данило Шеган can upload to this branch. If you are Данило Шеган please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Данило Шеган

Recent revisions

434. By Данило Шеган on 2016-05-20

Be consistent in using .get().

433. By Данило Шеган on 2016-05-20

Switch to .get('status') to not barf when image does not have status defined.

432. By Данило Шеган on 2016-05-19

Ignore non-active images when checking for already present images on glance.

431. By Scott Moser on 2016-05-17

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

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

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.