Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/simplestreams/trunk
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

Scott Moser

Recent revisions

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.

420. By Scott Moser on 2015-12-08

Fix TestUrlContentSourcea to test with requests, add build-depends

Fix the test case to use Requests, then fix the build failure that actually
testing it caused. Then, support skipping the requests tests if it is
not present.

419. By Scott Moser on 2015-12-08

sanitize size parameter to read on Readers

This fixes the read() calls in Urllib2UrlReader, RequestsUrlReader,
and the new FileReader so that they all support:
and pass the correct value down to the python below it.
Essentially, python3 prefers read(size=None) while python2 prefers
read(size-1) if the size is passed explicitly rather than using

418. By Scott Moser on 2015-12-08

fix lintian warnings, and apply pull back distro package build changes

  - bump standards version
  - add build-depends on python-mock, python-yamnl, python3-mock
  - add build-depends on dh-python per sbuild output recommendation

  fix license string agplv3 to AGPL-3

  set SS_REQUIRE_DISTRO_INFO = 0 during build

417. By Scott Moser on 2015-11-30

fix a bug where --no-verify doesn't work with signed streams.

Although the assignment of cmd was done only if checked was True, cmd
was used when checked was not True. This produced a stack trace with

This branch fixes it and introduces tests based on test_signed_data.

416. By Scott Moser on 2015-11-20

tools: xenial has .tar.gz files for the moment.

.tar.gz are expected to go away in xenial, but are present for the moment.
As other things (maas image build process) needs them for now,
we should index them.

415. By Scott Moser on 2015-11-12

Only condense tags that are present in all entries.

There is no way to indicate, at an item level, that a key is not present.
This means that in order to be a candidate for compaction, the key must be
present in all items.

So using set.update() is not correct. We don't want the union of all keys
in all items, we want the intersection of those keys.

414. By Scott Moser on 2015-11-09

add json2streams command

json2streams accepts a list of JSON files as input, each of those files
containing a JSON list of simplestreams "items", as emitted by sstream-query

With --juju-format specified, it uses the Juju conventions for writing files
(no colons, complete index in index2.json). Otherwise, it uses the standard
simplestreams format.

As a driveby:
  * write_streams to not modify its input.
  * write_streams to accept condense=True argument indicating if
    any condensing should be done in the data written.

Branch metadata

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