lp:~abentley/simplestreams/fix-read-signed-no-check
- Get this branch:
- bzr branch lp:~abentley/simplestreams/fix-read-signed-no-check
Branch merges
- Scott Moser: Pending requested
-
Diff: 60 lines (+24/-6)2 files modifiedsimplestreams/util.py (+7/-6)
tests/unittests/test_util.py (+17/-0)
Branch information
Recent revisions
- 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. - 413. By Scott Moser
-
tools/ : xenial will not ship .tar.gz files
The .tar.gz file (compressed sparse tarball of unpartitioned disk image)
will not ship in xenial. Modify the is_expected to address that. - 412. By Scott Moser
-
tools/toolutil.py: document is_expected much better
When working on is_expected, I was confused. This change is only:
a.) a name change of 'repl' to 'suffix'
b.) add description of the function - 411. By Scott Moser
-
tools/ : adjust to handle changes in /query data in xenial
xenial will not have a -root.tar.gz file, so it wont advertise
that file in /query. Adjust the loading of download data to
find the right one. - 410. By Scott Moser
-
add Xenial Xerus to hard coded list
This is not strictly necessary. The fix to get knowledge of Xenial
is actually delivered via distro-info-data's SRU under bug 1508759. - 409. By Scott Moser
-
Extract generate_
simplestreams from tab2streams Extract generate_
simplestreams from tab2streams, so that it can be reused. Separating out FileNamer may seem strange, but Juju uses a distinct naming
scheme for streams:
1. The proper index file is called index2.json (index.json is a cut-down
version with only one content-id due to limitations of old jujus)
2. The content files are not named exactly after the content-ids.
Instead, ':' is replaced with '-', because ':' is a special character
on Windows. - 408. By Scott Moser
-
streams data: add 'support_eol' (end of life)
Each release will now have a 'support_eol' in the data.
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