1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-01 19:22:41 +01:00
phorge-arcanist/src/workflow
epriestley d016f81135 Add "--conduit-timeout" to arc and modernize argument parsing
Summary:
We added "repeat" to PhutilArgumentParser a while ago, so we can modernize the rest of the argument parsing (allow multiple --load-phutil-library flags).

Add a "--conduit-timeout" flag to allow users to set the timeout. See D2602.

Test Plan:
  $ arc diff --conduit-timeout=0.01
  Exception
  [cURL/28] <CURLE_OPERATION_TIMEOUTED> The request took too long to complete.
  (Run with --trace for a full exception trace.)
  $ arc diff --conduit-version 33
  Exception
  ERR-BAD-VERSION: Your 'arc' client version is '33', which is newer than the server version, '5'. Upgrade your Phabricator install.
  (Run with --trace for a full exception trace.)
  $ arc diff --conduit-uri http://derp.derp/
  Usage Exception: YOU NEED TO INSTALL A CERTIFICATE TO LOGIN TO PHABRICATOR

  You are trying to connect to 'http://derp.derp/api/' but do not have a certificate installed for this host. Run:

        $ arc install-certificate

  ...to install one.
  $ arc diff --load-phutil-library src --load-phutil-library ../phabricator/src --trace
  Loading phutil library '0' from '/INSECURE/devtools/arcanist/src'...
  Loading phutil library '1' from '/INSECURE/devtools/phabricator/src'...

Reviewers: phleet, vrana, btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D2603
2012-06-03 08:31:49 -07:00
..
exception Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistAliasWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistAmendWorkflow.php Examine only HEAD in amend workflow 2012-06-01 17:06:23 -07:00
ArcanistBaseWorkflow.php Add "--conduit-timeout" to arc and modernize argument parsing 2012-06-03 08:31:49 -07:00
ArcanistBranchWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistCallConduitWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistCloseRevisionWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistCloseWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistCommitWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistCoverWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistDiffWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistDownloadWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistExportWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistGetConfigWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistGitHookPreReceiveWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistHelpWorkflow.php Add "--conduit-timeout" to arc and modernize argument parsing 2012-06-03 08:31:49 -07:00
ArcanistInstallCertificateWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistLandWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistLiberateWorkflow.php Define interface for lint renderers 2012-06-01 17:35:38 -07:00
ArcanistLintWorkflow.php Remove unused variable 2012-06-01 23:33:58 -07:00
ArcanistListWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistMarkCommittedWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistPasteWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistPatchWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistSetConfigWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistShellCompleteWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistSvnHookPreCommitWorkflow.php Define interface for lint renderers 2012-06-01 17:35:38 -07:00
ArcanistTasksWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistUnitWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistUpgradeWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistUploadWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistWhichWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00