Page MenuHomePhabricator

Remove `debug` key from `.arclint` file format.
ClosedPublic

Authored by joshuaspence on May 9 2014, 12:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 6:17 PM
Unknown Object (File)
Sun, Nov 17, 12:20 AM
Unknown Object (File)
Fri, Nov 15, 6:11 PM
Unknown Object (File)
Tue, Nov 12, 12:58 PM
Unknown Object (File)
Fri, Nov 8, 1:02 AM
Unknown Object (File)
Oct 18 2024, 3:47 PM
Unknown Object (File)
Oct 17 2024, 4:42 PM
Unknown Object (File)
Oct 17 2024, 4:38 PM
Subscribers

Details

Summary

Having a debug key in the .arclint file format doesn't seem right. Instead, it would be better to just use a PhutilConsole and the writeLog method so that "debug" messages are output when using arc --trace.

Test Plan

Ran arc lint --trace in a repository using .arclint.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Remove `debug` key from `.arclint` file format..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

Three weak arguments for this are:

  • This output is potentially much more verbose than most --trace output, and separating it might be useful.
  • If arc is running via Harbormaster in the future, it may be difficult to add --trace.
  • Having some key other than linters at top level might reduce confusion.

These are all pretty tenuous, though, and this is simpler and we can switch back if any of them prove compelling.

This revision is now accepted and ready to land.May 9 2014, 12:59 PM
epriestley updated this revision to Diff 21433.

Closed by commit rARC4298b4ea8b76 (authored by @joshuaspence, committed by @epriestley).