1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 09:38:50 +02:00
phorge-arcanist/src/workflow
epriestley 768a125b58 Enrich arc configuration and add stronger typing
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
2012-07-25 18:37:09 -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 Use .^ instead of HEAD^ for mercurial 2012-06-11 10:00:02 -04:00
ArcanistAnoidWorkflow.php Create a mysterious new workflow 2012-07-22 14:39:53 -07:00
ArcanistBaseWorkflow.php Enrich arc configuration and add stronger typing 2012-07-25 18:37:09 -07:00
ArcanistBranchWorkflow.php Fix ambiguous argument where a branch has the same name as a file 2012-07-22 13:19:09 -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 Use pht() 2012-06-14 16:26:11 -07:00
ArcanistCoverWorkflow.php Use pht() 2012-06-14 16:26:11 -07:00
ArcanistDiffWorkflow.php Dump problematic parser patches to temp files in "arc diff" 2012-07-17 16:16:18 -07:00
ArcanistDownloadWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistExportWorkflow.php Support "D123", not just "123", for "arc export --revision" 2012-06-27 18:33:28 -07:00
ArcanistGetConfigWorkflow.php Enrich arc configuration and add stronger typing 2012-07-25 18:37:09 -07:00
ArcanistGitHookPreReceiveWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistHelpWorkflow.php Add example to --ansi 2012-06-21 10:32:28 -07:00
ArcanistInlinesWorkflow.php Introduce arc inlines 2012-06-23 16:01:38 -07:00
ArcanistInstallCertificateWorkflow.php Move files in Arcanist one level up 2012-06-01 11:56:00 -07:00
ArcanistLandWorkflow.php Allow the "arc land --onto" default to be read from user config 2012-06-20 12:29:07 -07:00
ArcanistLiberateWorkflow.php Remove all libphutil v1 support 2012-06-26 12:40:42 -07:00
ArcanistLintWorkflow.php arcanist: add postponed linter support 2012-07-11 18:09:05 -07:00
ArcanistListWorkflow.php Simplify "arc branch" and make it work in immutable history repositories 2012-06-26 10:50:43 -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 Support an 'editor' config in arc 2012-07-11 16:55:11 -07:00
ArcanistSetConfigWorkflow.php Enrich arc configuration and add stronger typing 2012-07-25 18:37:09 -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 Fix help message for arc tasks --status 2012-06-25 17:46:51 -03:00
ArcanistTodoWorkflow.php Adding confirmation message to 'arc todo' with information about the task created 2012-07-19 15:12:12 -07:00
ArcanistUnitWorkflow.php Use pht() for plural 2012-06-19 15:16:52 -07:00
ArcanistUpgradeWorkflow.php Minor, stop arc upgrade from prompting for commit ranges. 2012-07-02 19:50:35 -07:00
ArcanistUploadWorkflow.php Show "Fnnn" number in "arc upload" 2012-07-21 06:44:21 -07:00
ArcanistWhichWorkflow.php Fix some arc/mercurial issues 2012-07-17 16:16:11 -07:00