Merge lp:~abentley/juju-release-tools/stanzas-to-streams into lp:juju-release-tools
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | 222 |
Proposed branch: | lp:~abentley/juju-release-tools/stanzas-to-streams |
Merge into: | lp:juju-release-tools |
Prerequisite: | lp:~abentley/juju-release-tools/fix-lint |
Diff against target: |
258 lines (+249/-0) 2 files modified
stanzas_to_streams.py (+95/-0) tests/test_stanzas_to_streams.py (+154/-0) |
To merge this branch: | bzr merge lp:~abentley/juju-release-tools/stanzas-to-streams |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+274010@code.launchpad.net |
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.
For compatibility with Windows, all content_id files use '-' rather than ':' as a separator.
To post a comment you must log in.
Thank you.