Merge lp://staging/~abentley/juju-release-tools/stanzas-to-streams into lp://staging/juju-release-tools

Proposed by Aaron Bentley
Status: Merged
Merged at revision: 222
Proposed branch: lp://staging/~abentley/juju-release-tools/stanzas-to-streams
Merge into: lp://staging/juju-release-tools
Prerequisite: lp://staging/~abentley/juju-release-tools/fix-lint
Diff against target: 258 lines (+249/-0)
2 files modified (+95/-0)
tests/ (+154/-0)
To merge this branch: bzr merge lp://staging/~abentley/juju-release-tools/stanzas-to-streams
Reviewer Review Type Date Requested Status
Curtis Hovey (community) code Approve
Review via email:

Commit message

Implement stanzas_to_streams

Description of the change

This branch implements stanzas-to-streams, which we use to create simplestreams.

The input is a list of items, with the same data provided by sstream-query.
Any number of files may be supplied, up to OS limits.

The output is formatted as juju expects:
  - index2.json is the real index
  - index.json provides com.ubuntu.juju:released:tools at most

For compatibility with Windows, all content_id files use '-' rather than ':' as a separator.

To post a comment you must log in.
Revision history for this message
Curtis Hovey (sinzui) wrote :

Thank you.

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.


People subscribed via source and target branches