lp:~abentley/simplestreams/bad-hoist

Created by Aaron Bentley and last modified
Get this branch:
bzr branch lp:~abentley/simplestreams/bad-hoist
Only Aaron Bentley can upload to this branch. If you are Aaron Bentley please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Aaron Bentley
Project:
simplestreams
Status:
Merged

Recent revisions

417. By Aaron Bentley

Tighten up code.

416. By Aaron Bentley

Fix bug 1297320.

415. By Aaron Bentley

Merged test case.

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
This branch contains Public information 
Everyone can see this information.

Subscribers