JSON Output for RBTools Patch Command

Review Request #11588 — Created April 11, 2021 and updated

ryankang
RBTools
master
11521
rbtools, students

Depends on JSON output object from r#11521.

JSON object includes:

patch_output: result of result.patch_output.strip()
conflicting_files: list of filenames that are conflicting with patch
diff_body: contents of the patches

Ran unit tests in Commands and passed all tests

Summary
Added standard output to JSON output
Added more errors to JSON object when conflicts are found
Fixed space error in blank line
Description From Last Updated

W293 blank line contains whitespace

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

ryankang
Review request changed

Commits:

Summary
-
Added standard output to JSON output
-
Added more errors to JSON object when conflicts are found
+
Added standard output to JSON output
+
Added more errors to JSON object when conflicts are found
+
Fixed space error in blank line

Diff:

Revision 2 (+29 -1)

Show changes

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
Loading...