lp:~blake-rouse/simplestreams/fix-1523682
- Get this branch:
- bzr branch lp:~blake-rouse/simplestreams/fix-1523682
Branch merges
- Scott Moser: Pending requested
-
Diff: 70 lines (+39/-3)2 files modifiedsimplestreams/contentsource.py (+6/-3)
tests/unittests/test_contentsource.py (+33/-0)
Related bugs
Bug #1523682: python3.5 contentsource.py:UrlContentSource passes -1 to fd.read | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 417. By Scott Moser
-
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
UnboundLocalError.This branch fixes it and introduces tests based on test_signed_data.
- 416. By Scott Moser
-
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
-
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
-
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
--json.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)
- Stacked on:
- lp:~smoser/simplestreams/trunk