Page MenuHomePhabricator

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

Authored by joshuaspence on May 9 2014, 12:51 PM.
Tags
None
Referenced Files
F15397962: D9021.id21433.diff
Sun, Mar 16, 11:04 PM
F15353105: D9021.id21432.diff
Mon, Mar 10, 8:02 PM
Unknown Object (File)
Feb 16 2025, 7:01 PM
Unknown Object (File)
Feb 9 2025, 12:41 PM
Unknown Object (File)
Feb 9 2025, 12:41 PM
Unknown Object (File)
Feb 9 2025, 12:41 PM
Unknown Object (File)
Feb 9 2025, 12:41 PM
Unknown Object (File)
Jan 24 2025, 6:17 AM
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
Branch
arclint-debug
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 318
Build 318: [Placeholder Plan] Wait for 30 Seconds

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).