Conversation
02ec0db to
956e354
Compare
|
I am not sure about the last commit: Do we want to assemble such an extensive summary or are we fine with just wrapping the errors into JSON? |
f86484e to
4f6773f
Compare
MichaelEischer
left a comment
There was a problem hiding this comment.
Letting the check command only print a summary just works if a repository is not damaged. For a damaged repository, all error messages must also be available in the JSON output, otherwise we'll end up in a situation where all relevant information is missing. The summary by itself is mostly useless when it comes to debug what is wrong with a repository.
I wouldn't be terribly opposed to having an error and warning output message that for now just includes the formatted text output. If necessary, we could introduce an "error_code" field in the future to allow for more automation.
6456bdb to
b713938
Compare
|
@MichaelEischer Thanks for your review! I acted upon all threads. Please take another look. |
MichaelEischer
left a comment
There was a problem hiding this comment.
Thanks for the changes so far! I have a few more comments.
b013f55 to
d4404b2
Compare
3566e90 to
1aa98fb
Compare
|
@MichaelEischer I addressed all remaining comments. Could you please take another look? |
MichaelEischer
left a comment
There was a problem hiding this comment.
I have a few more small nits, but then we should be done.
1aa98fb to
bf95380
Compare
|
@MichaelEischer Thanks for your thorough review! I acted upon your review comments. Could you please take another look? |
bf95380 to
49a411f
Compare
What does this PR change? What problem does it solve?
Add JSON output to the
checkcommand.Was the change previously discussed in an issue or on the forum?
Fixes #1378
Closes #4581
Checklist
changelog/unreleased/that describes the changes for our users (see template).