diff --git a/emergencies.mkd b/emergencies.mkd index 13b0546..e6b30e7 100644 --- a/emergencies.mkd +++ b/emergencies.mkd @@ -146,6 +146,9 @@ the answer, but here's a list of files you should blow away. * having the home directory in a partition that is mounted noexec. + * having the default shell be something like /bin/false, and/or not having + the default shell be part of /etc/shells. + ## #ngp things that are not gitolite problems There are several things that appear to be gitolite problems but are not. I diff --git a/g2migr.mkd b/g2migr.mkd index c6f52c2..c5a2378 100644 --- a/g2migr.mkd +++ b/g2migr.mkd @@ -90,9 +90,10 @@ Some of them have links where there is more detail than I want to put here. * `GIT_PATH` **dropped**, **requires presetting**. - If you need its functionality, add these lines to the end of the rc file: + If you need this, manipulate the PATH environment variable directly. Just + put something like this at the end of the rc file: - $ENV{PATH}="...whatever you want..."; + $ENV{PATH} = "/some/non-standard/path:$ENV{PATH}"; 1; ### medium impact diff --git a/git-config.mkd b/git-config.mkd index 94487e1..83d816c 100644 --- a/git-config.mkd +++ b/git-config.mkd @@ -37,7 +37,9 @@ examples). Other forms of the `git config` command (`--add`, the > ---- -You can also use the special value `%GL_REPO` in the string to save typing: +You can also use the special values `%GL_REPO` and `%GL_CREATOR` in the +string. The former is available to all repos, while the latter is only +available to [wild][] repos. repo foo bar baz config hooks.mailinglist = %GL_REPO-commits@example.tld diff --git a/index.mkd b/index.mkd index 0e0a30a..0cd451d 100644 --- a/index.mkd +++ b/index.mkd @@ -51,12 +51,19 @@ most people see: ## #contact contact +**NOTE** Unless you have very good reasons, please use the mailing list below +instead of mailing me personally. If you have to mail me, use the gmail +address instead of my work address. + * author: sitaramc@gmail.com, sitaram@atc.tcs.com - * general discussion list: gitolite@googlegroups.com - * list subscribe address: gitolite+subscribe@googlegroups.com - * announcements and notices list: gitolite-announce@googlegroups.com - * list subscribe address: gitolite-announce+subscribe@googlegroups.com + * mailing list for questions and general discussion: + * gitolite@googlegroups.com + * subscribe address: gitolite+subscribe@googlegroups.com + + * mailing list for announcements and notices: + * gitolite-announce@googlegroups.com + * subscribe address: gitolite-announce+subscribe@googlegroups.com * IRC: #git and #gitolite on freenode. Note that I live in India (UTC+0530 time zone). diff --git a/ips.mkd b/ips.mkd index dcbff02..4ac0678 100644 --- a/ips.mkd +++ b/ips.mkd @@ -29,7 +29,7 @@ a detailed log of every command you typed, and the complete response you got. I do not ask for this information to help you -- that's only a front. I *know* these instructions work (at least on any Linux that already has git installed), so the real reason is to find where you mistyped something and -mock you for that, +mock you for that. ### Assumptions diff --git a/master-toc.mkd b/master-toc.mkd index 35a7734..8c04c99 100644 --- a/master-toc.mkd +++ b/master-toc.mkd @@ -105,6 +105,7 @@ * ([link][partial-copy]: faking selective READ control) * using pubkeys obtained [from elsewhere][keysonly] * ([link][pushcode]: updating code via the admin repo) + * giving users [their own repos][gh] ## interfacing with [external][] tools @@ -140,6 +141,7 @@ * commands * trigger programs * sugar + * (appendix 1) notes on the INPUT trigger ## [non-core][] programs shipped with gitolite diff --git a/rules.mkd b/rules.mkd index 39cabe9..bc53e46 100644 --- a/rules.mkd +++ b/rules.mkd @@ -34,6 +34,11 @@ There are also other, less commonly used, [types of permissions][write-types]. A refex is an expression that matches the ref (i.e., branch or tag) being pushed. See [this][refex] for more info. +You can also use [virtual refs][vref] to perform extra checks and controls +that you can't do with just the normal ref (like refs/heads/master) being +pushed. The most common example is restricting pushes by dir/file name, but +there are lots of other possibilities. + ### when are the rules checked? There are 2 places where access rules are checked.