diff --git a/conf/example.gitolite.rc b/conf/example.gitolite.rc index c563e81..4adcb5d 100644 --- a/conf/example.gitolite.rc +++ b/conf/example.gitolite.rc @@ -8,7 +8,7 @@ # self-explanatory and easy to maintain perl syntax :-) # -------------------------------------- -# Do not uncomment these values unless you know what you're doing +# Do not change the next two lines unless you know what you're doing # $GL_PACKAGE_CONF = ""; # $GL_PACKAGE_HOOKS = ""; diff --git a/doc/ssh-troubleshooting.mkd b/doc/ssh-troubleshooting.mkd index 59570a2..3fe7e64 100644 --- a/doc/ssh-troubleshooting.mkd +++ b/doc/ssh-troubleshooting.mkd @@ -277,7 +277,14 @@ Otherwise, run these checks: If it prints the gitolite version and access info (see [doc/report-output.mkd][repout]), you managed to overwrite the `id_rsa` - keypair with the `sitaram` keypair, or something equally weird. + keypair with the `sitaram` keypair, or something equally weird. This is + because a gitolite key, when used without any actual command, defaults to + running gitolite's internal "info" command. + + **NOTE** starting with [version 5.6][openssh56], openssh will "Kill + channel when pty allocation requests fail". This means that, instead of + seeing the version and access info as described above, you may only get a + message about pty allocation failure, followed by "connection closed". 2. `ssh gitolite info` should print some gitolite version and access info. If you get the output of the GNU info command instead, you probably reused @@ -466,3 +473,4 @@ bigger problems than gitolite install not working!)] [urls]: http://github.com/sitaramc/gitolite/blob/pu/doc/1-INSTALL.mkd#URLs_for_gitolite_managed_repos [repout]: http://github.com/sitaramc/gitolite/blob/pu/doc/report-output.mkd [transcript]: http://github.com/sitaramc/gitolite/blob/pu/doc/install-transcript.mkd +[openssh56]: http://www.openssh.org/txt/release-5.6 diff --git a/doc/wildcard-repositories.mkd b/doc/wildcard-repositories.mkd index 2c7241f..ffd2287 100644 --- a/doc/wildcard-repositories.mkd +++ b/doc/wildcard-repositories.mkd @@ -122,6 +122,15 @@ users are "READERS" and which are "WRITERS". See later for details. +### side-note: valid regexes + +Due to projects like `gtk+`, the `+` character is now considered a valid +character for an *ordinary* repo. Therefore, a pattern like `foo/.+` does not +look like a regex to gitolite. Use `foo/..*` if you want that. + +Also, `..*` by itself is not considered a valid repo pattern. Try +`[a-zA-Z0-9].*`. + ### side-note: line-anchored regexes A regex like