Page MenuHomePhabricator

Use XHPAST version instead of checksum as cache version
ClosedPublic

Authored by joshuaspence on Feb 2 2015, 10:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 8:00 AM
Unknown Object (File)
Wed, Nov 6, 10:13 PM
Unknown Object (File)
Tue, Nov 5, 8:50 PM
Unknown Object (File)
Oct 15 2024, 7:44 PM
Unknown Object (File)
Oct 13 2024, 11:30 PM
Unknown Object (File)
Oct 1 2024, 4:24 PM
Unknown Object (File)
Sep 29 2024, 1:42 PM
Unknown Object (File)
Sep 12 2024, 2:38 PM
Subscribers

Details

Summary

Rely on the output of xhpast --version when determing the lint cache key.

Test Plan

N/A

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Use XHPAST version instead of checksum as cache version.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

This is sort of bad if you're developing XHPAST and testing the linter, but I think it's reasonable to expect developers in that position to pass flags to disable the cache if it's otherwise enabled.

This revision is now accepted and ready to land.Feb 2 2015, 1:59 PM

(That is, you may make a number of builds which all have the same version number but different behavior.)

Yeah, I think it's reasonable to expect to have to disable the lint cache in that scenario. If we really wanted to, we could append the version number with a timestamp for "dev" purposes.

This revision was automatically updated to reflect the committed changes.