JSON Output for RBTools Status Command

Review Request #11541 — Created March 20, 2021 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

Depends on JSON output object from r#11521. Adding information
that goes into rows of the status table into a JSON object. If no requests
are found the array remains empty. Also adds info if format_results is
called.

Ran unit tests in Commands and passed all tests

Diff Revision 7 (Latest)

orig
1
2
3
4
5
6
7

Commits

First Last Summary ID Author
added new method to print JSON to stream object and tests to ensure it works ...
25df4d28942b92a8a571329ce54f43e57b46c8bc Ryan Kang
each summary is added as a json object to a list in summaries
675fa33dbdf470e4495e932a90482bacab2ead93 Ryan Kang
moved definition of summaries to before if statement so that if no requests a...
3d10681f8240fa5053af5dad2e1648db8bede9b3 Ryan Kang
fixed extra spaces in no line
46632b15806c44edddf1bfc46fc56b7bfa3d62a7 Ryan Kang
Removed setting status because it is done in __init__ by checking for errosr
592bf7da19c2e27eeea64dfa0adae7252953d0ff Ryan Kang
Importing kgb instead of specific package inside kgb
b06f922afd219110b044a97519632fd6ae919458 Ryan Kang
rbtools/commands/status.py
Loading...