mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-08 22:01:03 +01:00
Document where Arcanist configuration can be set
Test Plan: Read it. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5732
This commit is contained in:
parent
e5af167ec9
commit
b216dc9c2c
2 changed files with 21 additions and 1 deletions
|
@ -48,7 +48,7 @@ abstract class PhabricatorFileStorageEngine {
|
|||
* some metadata keys (like "name" and "author") in it. You should be prepared
|
||||
* to handle writes which specify no metadata, but might want to optionally
|
||||
* use some keys in this array for debugging or logging purposes. This is
|
||||
* the same dictionary passed to @{method:PhabricatorFile::NewFromFileData},
|
||||
* the same dictionary passed to @{method:PhabricatorFile::newFromFileData},
|
||||
* so you could conceivably do custom things with it.
|
||||
*
|
||||
* If you are unable to write for whatever reason (e.g., the disk is full),
|
||||
|
|
|
@ -139,6 +139,26 @@ to your ##.bashrc##, ##.profile## or similar:
|
|||
|
||||
source /path/to/arcanist/resources/shell/bash-completion
|
||||
|
||||
== Configuration ==
|
||||
|
||||
Some Arcanist commands can be configured. This configuration is read from
|
||||
several sources:
|
||||
|
||||
# A customization can force any setting with
|
||||
@{method@arcanist:ArcanistWorkingCopyIdentity::setRuntimeConfig}.
|
||||
# User can specify settings for working copy in `arc/config` file located in
|
||||
VCS directory (e.g. `.git/arc/config`) in JSON format. This file can also be
|
||||
modified by running `arc set-config --local`.
|
||||
# Repository can specify its config in `.arcconfig` in JSON format.
|
||||
# User can specify the settings in `~/.arcrc` (JSON) through the `config` key.
|
||||
This file can be modified also by `arc set-config --global`.
|
||||
# Machine can specify the settings with `/etc/arcconfig` (JSON). On Windows,
|
||||
the file path is 'C:\ProgramData\Phabricator\Arcanist\config`.
|
||||
|
||||
The first place where the setting is defined wins.
|
||||
|
||||
Existing settings can be printed with `arc set-config --show`.
|
||||
|
||||
== Next Steps ==
|
||||
|
||||
Continue by:
|
||||
|
|
Loading…
Reference in a new issue