summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess2014-11-25 18:55:07 -0400
committerJoey Hess2014-11-25 18:55:12 -0400
commite07dc9b1d336e86ce51b2a94fcfa943cc1650afd (patch)
treed2a508a12c41be061c51621c085b79e39efb4cb1 /doc
parent7d0f79a0c7656a0dd68235c93e2f770b0b1b6ea3 (diff)
propellor.debug can be set in the git config to enable more persistent debugging output.
Diffstat (limited to 'doc')
-rw-r--r--doc/debugging.mdwn5
-rw-r--r--doc/usage.mdwn12
2 files changed, 15 insertions, 2 deletions
diff --git a/doc/debugging.mdwn b/doc/debugging.mdwn
index f656ac43..acceca86 100644
--- a/doc/debugging.mdwn
+++ b/doc/debugging.mdwn
@@ -1,5 +1,6 @@
-Set `PROPELLOR_DEBUG=1` to make propellor print out all the commands it runs
-and any other debug messages that Properties choose to emit.
+Set `PROPELLOR_DEBUG=1` in the environment, or `git config propellor.debug 1`
+to make propellor print out all the commands it runs and any other debug
+messages that Properties choose to emit.
Another handy debugging tip is to load up your config.hs in ghci, and look
at `hosts`. This will show the Properties of a Host, as well as the Info
diff --git a/doc/usage.mdwn b/doc/usage.mdwn
index 093ec34e..6ef2e965 100644
--- a/doc/usage.mdwn
+++ b/doc/usage.mdwn
@@ -101,6 +101,18 @@ and configured in haskell.
Set `PROPELLOR_DEBUG=1` to make propellor output each command it runs and
other debugging information.
+# GIT CONFIGURATION
+
+`git config propellor.debug 1` will configure propellor to output debugging
+information.
+
+The usual git configuration controls which centralized repository (if any)
+propellor pushes and pulls from.
+
+Additionally, the url of a remote named "deploy", if it exists
+in your ~/.propellor/ repository, is used as the origin url for
+the other repositories.
+
# SH AUTHOR
Joey Hess <id@joeyh.name>