Currently, we are running arc lint --everything --never-apply-patches --output=xml > checkstyle.xml in Jenkins, The output redirection is a little odd and not inline with other scripts that we run in CI. I think that it would be useful to be able to send the output from Arcanist to a file for this purpose. This might not be useful outside of lint/unit, so possibly it could be implied that adding --output=xml will write the results to checkstyle.xml.
Description
Description
Revisions and Commits
Revisions and Commits
rARC Arcanist | |||
D13570 | rARC407954dddd32 Output lint XML results to a file |
Related Objects
Related Objects
- Mentioned In
- D13570: Output lint XML results to a file
- Mentioned Here
- T6996: Write an `--output <file>` mode for `storage dump` which can gzip
Event Timeline
Comment Actions
Is there a practical use case motivating this? The cases I can come up with are:
- sudo command --out outfile is easier than sudo command | sudo tee junk > outfile &2>/dev/null
- Error handling with pipes is ridiculous (T6996).
But these don't seem particularly applicable for arc lint / arc unit.
Comment Actions
A third case is that, as far as I can tell:
- cmd > file does not fail if the disk is full (!??!!?)
...which is crazy.