]> khamidou — GitHub mirrors - arcanist.git/commit
Run all willLintPaths() before any lintPath()
authorvrana <jakubv@fb.com>
Wed, 9 Jan 2013 21:00:45 +0000 (13:00 -0800)
committervrana <jakubv@fb.com>
Thu, 10 Jan 2013 01:15:31 +0000 (17:15 -0800)
commit35de4a5d1f45e3d406ba7604385bdb5b96c8f272
treea9d47cbe956e15556d4c66012280b354dd6592ea
parent38e2e1336fde6dd8b135fa11af9882ad1bff71bf
Run all willLintPaths() before any lintPath()

Summary:
FB runs some linters on background and it's a magnificent hack using `ParallelLinter` (two instances), `BackgroundLinter` and `FutureLinter`.
I want to simplify this by resolving the futures in engine instead of in some virtual linter.
It also seems like a better place to do it.
It should also fix caching problems I have with them (because the virtual linters don't know about the cache at all).

Test Plan: None yet.

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4380
src/lint/engine/ArcanistLintEngine.php