Merge lp://qastaging/~abentley/simplestreams/json-output into lp://qastaging/~smoser/simplestreams/trunk
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | 406 |
Proposed branch: | lp://qastaging/~abentley/simplestreams/json-output |
Merge into: | lp://qastaging/~smoser/simplestreams/trunk |
Diff against target: |
54 lines (+11/-0) 1 file modified
bin/sstream-query (+11/-0) |
To merge this branch: | bzr merge lp://qastaging/~abentley/simplestreams/json-output |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+276141@code.qastaging.launchpad.net |
Commit message
Add JSON output format to sstream-query.
Description of the change
This branch adds a new JSON output format to sstream-query, as an alternative to --pretty or the default stringified dicts.
Supporting JSON makes sense to me because it's well-known, expressive, and is also the native storage format of simplestreams. Juju QA are using JSON to generate streams, so --json lets us avoid a translation step.
To post a comment you must log in.