]> khamidou — GitHub mirrors - arcanist.git/commit
Add some version/env sanity checks to 'arc'
authorepriestley <git@epriestley.com>
Thu, 22 Dec 2011 18:23:29 +0000 (10:23 -0800)
committerepriestley <git@epriestley.com>
Sat, 24 Dec 2011 17:00:37 +0000 (09:00 -0800)
commitecc8fb13a81f896eae9dcab1eb3b12853a6d44b9
treea9f895137e89a279eb9c7c8c3de549b5c16efd2e
parent736b0deaacac054e71432ff4103fe64fcb4fa90f
Add some version/env sanity checks to 'arc'

Summary:
A user filed an issue on GitHub about not having 'json_decode()':

  https://github.com/facebook/arcanist/issues/10

Detect this issue and raise a detailed error message.

Test Plan:
  - Set minimum version to 6.0.0, arc told me to upgrade.
  - Changed function/flag configuration and hit the flag and no-flag error
pathways.

Reviewers: btrahan, jungejason, rm

Reviewed By: rm

CC: aran, rm, epriestley
Differential Revision: https://secure.phabricator.com/D1267
scripts/arcanist.php