mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-27 01:02:41 +01:00
768a125b58
Summary: See <https://github.com/facebook/arcanist/issues/45> Currently, when the user types `arc set-config x false`, we set it as the string "false", which is usually not desirable. We have some steps toward typed config already, but expand on what we have and move as much stuff as possible into it, including all the config settings that aren't currently documented (there are still some lint-specific and project-specific settings not present here, but this is most of it). Also make the `phutil_libraries` key a legacy name for `load`, and `immutable_history` a legacy name for `history.immutable`. Generally the goal here is to make config simpler and bring it more in-line with Git/Mercurial, which use dotted hierarchies. I'll add some documentation here but I think most of the changes should be fairly straightforward. Test Plan: - `arc set-config history.immutable on` (And similar -- sets to boolean true.) - `arc set-config history.immutable off` (And similar -- sets to boolean false.) - `arc set-config history.immutable derp` (And similar -- raises exception.) - `arc set-config history.immutable ''` (And similar -- removes setting value.) - `arc set-config --show` - `arc get-config` - `arc get-config base` Reviewers: dschleimer, bos, btrahan, vrana Reviewed By: dschleimer CC: aran Maniphest Tasks: T1546 Differential Revision: https://secure.phabricator.com/D3045 |
||
---|---|---|
.. | ||
exception | ||
ArcanistAliasWorkflow.php | ||
ArcanistAmendWorkflow.php | ||
ArcanistAnoidWorkflow.php | ||
ArcanistBaseWorkflow.php | ||
ArcanistBranchWorkflow.php | ||
ArcanistCallConduitWorkflow.php | ||
ArcanistCloseRevisionWorkflow.php | ||
ArcanistCloseWorkflow.php | ||
ArcanistCommitWorkflow.php | ||
ArcanistCoverWorkflow.php | ||
ArcanistDiffWorkflow.php | ||
ArcanistDownloadWorkflow.php | ||
ArcanistExportWorkflow.php | ||
ArcanistGetConfigWorkflow.php | ||
ArcanistGitHookPreReceiveWorkflow.php | ||
ArcanistHelpWorkflow.php | ||
ArcanistInlinesWorkflow.php | ||
ArcanistInstallCertificateWorkflow.php | ||
ArcanistLandWorkflow.php | ||
ArcanistLiberateWorkflow.php | ||
ArcanistLintWorkflow.php | ||
ArcanistListWorkflow.php | ||
ArcanistMarkCommittedWorkflow.php | ||
ArcanistPasteWorkflow.php | ||
ArcanistPatchWorkflow.php | ||
ArcanistSetConfigWorkflow.php | ||
ArcanistShellCompleteWorkflow.php | ||
ArcanistSvnHookPreCommitWorkflow.php | ||
ArcanistTasksWorkflow.php | ||
ArcanistTodoWorkflow.php | ||
ArcanistUnitWorkflow.php | ||
ArcanistUpgradeWorkflow.php | ||
ArcanistUploadWorkflow.php | ||
ArcanistWhichWorkflow.php |