]> khamidou — GitHub mirrors - arcanist.git/commit
Make arc install-certificate respect --conduit-uri
authorBob Trahan <bob.trahan@gmail.com>
Mon, 23 Jan 2012 23:31:56 +0000 (15:31 -0800)
committerBob Trahan <bob.trahan@gmail.com>
Mon, 23 Jan 2012 23:44:25 +0000 (15:44 -0800)
commit03a9c516eaa25ff1dd4d300f8b56762b64ccf5ed
tree4e3411496f0ebcdb594b9fd7ed8e54d36b0d990a
parenta1a25f72f59125e987c1f1b322cfcfbcd5f397c1
Make arc install-certificate respect --conduit-uri

Summary: ...basically by adding "getConduitURI" and then falling through to
that, rather than repeating work from the main arc wrapper that setConduitURI in
the first place.   The explicit drawback here is the error message gets a little
more vague.

Test Plan:
- arc install-certifate --conduit-uri=https://secure.phabricator.com
// verified that the install flow was going for
https://secure.phabricator.com...!
- arc install-certificate https://secure.phabricator.com
// verified that the install flow was going for
https://secure.phabricator.com...!
- arc install-certificate
// verified that it reverted back to the .arcconfig conduit uri

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley
Maniphest Tasks: T794

Differential Revision: https://secure.phabricator.com/D1468
src/workflow/base/ArcanistBaseWorkflow.php
src/workflow/install-certificate/ArcanistInstallCertificateWorkflow.php
src/workflow/install-certificate/__init__.php