]> khamidou — GitHub mirrors - arcanist.git/commit
Don't blast if cache couldn't be saved
authorvrana <jakubv@fb.com>
Wed, 13 Jun 2012 00:37:30 +0000 (17:37 -0700)
committervrana <jakubv@fb.com>
Wed, 13 Jun 2012 01:12:16 +0000 (18:12 -0700)
commita6a4b1ebbc5c43a0d4bb47531d9eb0359b6f1ac1
tree26f6e4b5352b52788eeaa8eafa348fa95972cbc1
parentd93bb5abd4935bc8d5446112c13ee26377c7e2eb
Don't blast if cache couldn't be saved

Summary:
It is currently causing us some pain because we use libraries in read-only directories.
Not saving the cache is still pretty bad because analysis is quite slow.
But it is better than exploding.

I considered other solutions like not .gitignoring the cache file but it would require committing it with each and every change.

I plan to resolve the note https://secure.phabricator.com/diffusion/ARC/browse/master/src/lint/linter/ArcanistPhutilLibraryLinter.php;d93bb5abd4935bc8$56-59 in longer term.

Test Plan: `arc liberate` without writable cache.

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D2734
scripts/phutil_rebuild_map.php