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

Changes between revision 6 and 7

orig
1
2
3
4
5
6
7

Commits

Summary ID Author
each summary is added as a json object to a list in summaries
97a2d1bff9fdc8242767a16b30b67fe86072bbd6 Ryan Kang
moved definition of summaries to before if statement so that if no requests a...
255f82782e54cd54b20e8a96fe76efe51568a958 Ryan Kang
fixed extra spaces in no line
51e7d7939e95b6e64640a56d62b35be529f6ebaf Ryan Kang
Removed setting status because it is done in __init__ by checking for errosr
637621991f2bdda5365afc61e7b60b2921843e13 Ryan Kang
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...