From e07dc9b1d336e86ce51b2a94fcfa943cc1650afd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 25 Nov 2014 18:55:07 -0400 Subject: propellor.debug can be set in the git config to enable more persistent debugging output. --- doc/debugging.mdwn | 5 +++-- doc/usage.mdwn | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.3-2-g0d8e