DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
739 stars 259 forks source link

Make output of import contest more readable. #2777

Closed meisterT closed 2 weeks ago

meisterT commented 3 weeks ago

Print the output of zip line by line, overwriting the last line and removing all output of it on success.

Also pretty-print the JSON response on problem output.

That makes it much easier to see warnings or errors.

Fixes #2342.

vmcj commented 3 weeks ago

To make sure I understand it correctly, can you send a demonstration (gif/movie)?

meisterT commented 3 weeks ago

https://asciinema.org/a/BhtgH3Sj2x4m9eWPlFGMZwDSW