]> khamidou — GitHub mirrors - arcanist.git/commit
Move Conduit management into Workflow
authorepriestley <git@epriestley.com>
Wed, 13 Jul 2011 22:03:40 +0000 (15:03 -0700)
committerepriestley <git@epriestley.com>
Fri, 15 Jul 2011 19:38:45 +0000 (12:38 -0700)
commit41b23519e6d80f104c080b8b3aca3ec503c2de71
tree4d5ab3673ced11a47d82ef023efe43fae7c73fa6
parent7490da8139cb3e7a93067092c7fcf2dc115dccc2
Move Conduit management into Workflow

Summary:
The primary goal of this is to allow pre/post workflow hooks to upgrade a
workflow which doesn't require conduit into one which does, or one which doesn't
require authentication into one which does. They do this by calling
$workflow->establishConduit() or $workflow->authenticateConduit() respectively.

It also removes a bunch of dead code and a bunch of now-unnecessary public
interfaces.

Test Plan:
Broke my certificate and ran "arc list", "arc unit", "arc help", "arc
call-conduit".
Restored my certificate and re-ran the commands.

Reviewed By: mgummelt
Reviewers: mgummelt, jungejason, tuomaspelkonen, aran
CC: aran, epriestley, mgummelt
Differential Revision: 664
scripts/arcanist.php
src/workflow/base/ArcanistBaseWorkflow.php
src/workflow/base/__init__.php
src/workflow/call-conduit/ArcanistCallConduitWorkflow.php