From efe1b1b22d074e86ec93ca23a7625dc724c395f1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 2 Oct 2012 09:58:13 -0400 Subject: [PATCH] Add a configuration example. --- irkerhook.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/irkerhook.xml b/irkerhook.xml index 6229c37..67e043c 100644 --- a/irkerhook.xml +++ b/irkerhook.xml @@ -146,12 +146,21 @@ a value less than 2, however, would probably be unwise. git Under git, irkerhook.py does not -require any arguments. All variables may be set in the repo -config file in an [irker] section. Command-line -variable=value arguments are accepted but not required. No attempt is -made to interpret an irker.conf file. You should -not set the "repository" variable (an equivalent will be -computed). +require any arguments. Preferences may be set in the repo +config file in an [irker] section. Here +is an example of what that can look like: + + +[irker] + project = gpsd + color = ANSI + channels = {irc://chat.freenode.net/gpsd, irc://chat.freenode.net/commits} + + +Command-line variable=value arguments are accepted but not +required. No attempt is made to interpret an +irker.conf file. You should not set the +"repository" variable (an equivalent will be computed). The default value of the "project" variable is the basename of the repository directory. The default value of the "urlprefix" -- 2.26.2