lp:~abentley/simplestreams/bad-hoist
- Get this branch:
- bzr branch lp:~abentley/simplestreams/bad-hoist
Branch merges
- Scott Moser: Pending requested
-
Diff: 49 lines (+20/-8)2 files modifiedsimplestreams/util.py (+6/-8)
tests/unittests/test_util.py (+14/-0)
Related bugs
Bug #1297320: condense hoists tags when siblings don't have the tag | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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