Closed Bug 1536836 Opened 8 months ago Closed 8 months ago

Add json file output to ./mach lint

Categories

(Firefox Build System :: Lint and Formatting, enhancement)

enhancement
Not set

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bastien, Assigned: bastien)

References

Details

Attachments

(1 file)

The code review bot needs a JSON artifact with the issues found by all the source-test-mozlint-* tasks.

As the --format option is already used by the CI tasks to use the treeherder output, i'd like to add a new optional flag --write-json=path/to/output.json that would write the json formatted output to the specified file.

Assignee: nobody → bastien
Status: NEW → ASSIGNED
Attachment #9052269 - Attachment description: Bug 1536836 - Add --write-json option to ./mach lint, r=ahal → Bug 1536836 - Support multiple formatters with file output in ./mach lint, r=ahal
Pushed by babadie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43ac43ba6cf4
Support multiple formatters with file output in ./mach lint, r=ahal
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Depends on: 1538770
No longer depends on: 1538770
Regressions: 1538770
You need to log in before you can comment on or make changes to this bug.