faq-tips doc: "compile" as a separate step vindicated :-)

it seems gitosis silently ignores config errors.  It can't do anything else,
considering *when* the config file is parsed (on every access!)
This commit is contained in:
Sitaram Chamarty 2009-09-10 15:57:52 +05:30
parent 804c70f570
commit 7abc629d51

View file

@ -4,6 +4,7 @@ In this document:
* errors, warnings, notes... * errors, warnings, notes...
* differences from gitosis * differences from gitosis
* error checking the config file
* one user, many keys * one user, many keys
* who am I? * who am I?
* cool ideas I want feedback on * cool ideas I want feedback on
@ -34,6 +35,16 @@ Apart from the big ones listed in the top level README, and subjective ones
like "better config file format", there are some small, but significant and like "better config file format", there are some small, but significant and
concrete, differences from gitosis. concrete, differences from gitosis.
#### error checking the config file
gitosis does not do any. I just found out that if you mis-spell `members` as
`member`, gitosis will silently ignore it, and leave you wondering why access
was denied.
In gitolite, you have to "compile" the config file first (this step takes the
place of the commit+push in gitosis), and keyword typos *are* caught so you
know right away.
#### built-in logging #### built-in logging
...just in case of emergency :-) ...just in case of emergency :-)