1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-03-28 12:08:12 +01:00
phorge-arcanist/src/lint
vrana a1b902b190 Cache results of repository linters
Summary:
The cache key is repository base revision and hash of all modified files.
It isn't perfect in SVN where every file might have a different revision.
It's also suboptimal as just committing or amending changes the cache key even if the files contents weren't modified.
We can improve it later, perhaps by using previous revision and files modified since it.

Test Plan:
Changed granularity of XHPAST linter to repository.
Linted the same repo twice, verified that it was read from cache the second file.
Changed a single file, verified that all files were re-linted.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4608
2013-01-24 16:15:55 -08:00
..
engine Cache results of repository linters 2013-01-24 16:15:55 -08:00
linter Don't use xhpast binary to compute xhpastlinter cache version if the binary doesn't exist 2013-01-22 17:16:37 -08:00
renderer Display other locations of lint errors in console renderer 2013-01-11 15:25:58 -08:00
ArcanistLintMessage.php Use assert_instances_of(, 'array') 2013-01-14 11:36:29 -08:00
ArcanistLintPatcher.php Delete license headers from files 2012-11-05 11:16:24 -08:00
ArcanistLintResult.php Introduce arc lint --only-new 1 2012-12-03 17:21:17 -08:00
ArcanistLintSeverity.php Introduce arc lint --severity warning 2012-11-12 18:17:30 -08:00