Option to allow git:// access to public repositories?
https://news.ycombinator.com/item?id=11178054
- need to know in which version the
--access-hook
option was added togit daemon
- hook would be a gitlab-shell script
- would want to redirect some Git clients from HTTP to git://
Because there is no authentication (all the git daemon tells the access hook is 'somebody at IP:port wants to clone/push repo X) this would only pay off for public repositories.
One downside to supporting git daemon
is that it forces us to organize repositories on disk exactly as the user requests them. A clone from git://gitlab.example.com/foo/bar.git
will look for a directory foo/bar.git
. That might not be where we want to go.
cc @sytses