mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-26 15:30:57 +01:00
No description
3f2c6b629f
Summary: This adds a hook to allow external parties to provide config settings at runtime. The hook is technically for when a RepositoryAPI is created, but that moment can be used to set new config settings using the new setRuntimeConfig() api. For example you could have a external hook that looks for keys like 'git:foo.bar' or 'hg:foo.bar' and writes the value of 'foo.bar' based on whether the repo is a git or a hg repo. Test Plan: Created a hook that looks for hg/git prefix versions of config keys. Set hg:arc.feature.start.default to be "master" and set arc.feature.start.default to be "trunk". Ran arc feature in the hg repo. It made a bookmark on master. Ran arc feature in the git repo. It made a branch on trunk. Did it again, but with git:arc.feature... set instead. Reviewers: epriestley Reviewed By: epriestley CC: nh, wez, aran, Korvin Differential Revision: https://secure.phabricator.com/D5357 |
||
---|---|---|
bin | ||
externals | ||
resources | ||
scripts | ||
src | ||
.arcconfig | ||
.divinerconfig | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README |
WHAT IS ARCANIST? Arcanist is the command-line tool for Phabricator. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things. You can find a complete user guide here: http://www.phabricator.com/docs/phabricator/article/Arcanist_User_Guide.html For more information about Phabricator, see: http://phabricator.org/ LICENSE Arcanist is released under the Apache 2.0 license except as otherwise noted.