Page MenuHomePhabricator

Allow `willLintPaths` and `didLintPaths` to be overridden
ClosedPublic

Authored by joshuaspence on Sep 3 2018, 5:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 25, 2:09 PM
Unknown Object (File)
Mon, Dec 16, 9:56 PM
Unknown Object (File)
Thu, Dec 12, 9:20 AM
Unknown Object (File)
Wed, Dec 11, 9:24 AM
Unknown Object (File)
Sat, Dec 7, 1:45 PM
Unknown Object (File)
Tue, Dec 3, 7:31 PM
Unknown Object (File)
Tue, Dec 3, 5:03 PM
Unknown Object (File)
Sat, Nov 30, 10:22 PM

Details

Summary

I'm not sure if the upstream will be interested in this change, but we are writing a linter which works by running an external command on the entire repository. This can't be done with ArcanistExternalLinter at the moment, which meant that we ended up copy-pasting most of ArcanistFutureLinter. This would be a lot easier if we could override willLintPaths and didLintPaths, but these methods are currently marked as final. An alternative solution would be some sort of ArcanistLinter::transformPath method.

Test Plan

N/A

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I believe it is nearly the end of days for this version of arc so I'm fine with just letting some stuff like this in.

This revision is now accepted and ready to land.Sep 4 2018, 3:30 PM

I believe it is nearly the end of days for this version of arc so I'm fine with just letting some stuff like this in.

What do you mean by this exactly?

T13098 is "happening" very "soon" quote unquote "quote" "unquote" "Soon™".

T13098 is "happening" very "soon" quote unquote "quote" "unquote" "Soon™".

make-it-rain

This revision was automatically updated to reflect the committed changes.