~sylvain-pineau/plainbox:new_json_exporter_po_fix

Last commit made on 2016-10-19
Get this branch:
git clone -b new_json_exporter_po_fix https://git.launchpad.net/~sylvain-pineau/plainbox
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Name:
new_json_exporter_po_fix
Repository:
lp:~sylvain-pineau/plainbox

Recent commits

daa7fba... by Sylvain Pineau

Update translations after the json.py module removal

10502d4... by Sylvain Pineau

JSON exporter update, creating data that C3 can consume

It's now based on a Jinja2 template.
Most of the jobs (resource & attachments) are in json format using parsers
available in checkbox-support and the their new versions are running
plainbox dev parse <parser_name>

97c12b8... by Sylvain Pineau

Add a jsonify filter to the Jinja2 exporter

ef2a0d7... by Sylvain Pineau

PMR: Ping rtfd.org to refresh the documentation

2757a9b... by Sylvain Pineau

Add .coveragerc

c1c9e15... by Sylvain Pineau

plainbox: add 'ui:output' variable to launchers

That specifies which jobs should have their command output printed on the
screen. There are 3 options:

* hide -> (Command output hidden) will be printed for all jobs
* hide-resource-and-attachment -> will hide output from those two plugin types
  (as well from (deprecated) local jobs)
* show (the default setting) -> will print output of all commands

Note that job that have 'suppress_output' flag will have their output always
hidden.

Signed-off-by: Maciej Kisielewski <email address hidden>

1a6fd6c... by Maciej Kisielewski

plainbox:unit: reuse sha256 has for __hash__ and cache it

This is somewhat different from plainbox unit checksum, which is a sha256
digest. This cache is for skipping parsing of sha256 to integer.

Signed-off-by: Maciej Kisielewski <email address hidden>

77e5406... by Maciej Kisielewski

plainbox:session:state: when checking for duplicates iterate over frozenset

This improves the speed of anything plainbox related significantly (20-50%
faster checkbox/plainbox launch, depending on the machine)

b2b2088... by Maciej Kisielewski

plainbox:unit: remove type checking in unit __eq__

After some testing I was unable to generate a case where this removal would
affect execution, yet, profile says that a lot of time is spent here.

Signed-off-by: Maciej Kisielewski <email address hidden>

76fc20c... by Sylvain Pineau

Move all container tests to the same folder to have a reliable ordering