Why do you need Gitosis or Gitolite?
Asked Answered
I

2

4

Sorry for my ignorance - but what is the gain of having either Gitosis or Gitolite.

I have a Synology NAS server running, but could I not just create a "bare" on any folder on the NAS?

Regards

Iatry answered 5/6, 2012 at 6:58 Comment(0)
E
2

See my answer about "authentication and authorization": a DVCS (Distributed VCS) has none.

You will couple that authorization mechanism with authentication ones, using ssh or httpd.

However, it has to be an authentication system that is compatible with sshd or httpd in some form.
Why? Because the git client accessing the server only knows those 2 protocols to "speak git". (Well, the git:// protocol is unauthenticated, and file:// doesn't really apply to this discussion, so we're ignoring those).

For example, let's say you have an LDAP-based authentication system somewhere.
It is possible to make apache use that to authenticate users, so when a user accesses a git url using http://sitaram:[email protected]/repo, it is LDAP that does the actual authentication.

Eec answered 5/6, 2012 at 7:10 Comment(0)
S
8

Main reason is access control. Git doesn't support any access control functionalities beyond repo-level access, and quite often something more fine-grained is needed, such as access groups, folder/file/branch/tag-level control etc.

You don't strictly need it for a lot of projects. However, for some, this is an absolute must.

Steno answered 5/6, 2012 at 7:4 Comment(0)
E
2

See my answer about "authentication and authorization": a DVCS (Distributed VCS) has none.

You will couple that authorization mechanism with authentication ones, using ssh or httpd.

However, it has to be an authentication system that is compatible with sshd or httpd in some form.
Why? Because the git client accessing the server only knows those 2 protocols to "speak git". (Well, the git:// protocol is unauthenticated, and file:// doesn't really apply to this discussion, so we're ignoring those).

For example, let's say you have an LDAP-based authentication system somewhere.
It is possible to make apache use that to authenticate users, so when a user accesses a git url using http://sitaram:[email protected]/repo, it is LDAP that does the actual authentication.

Eec answered 5/6, 2012 at 7:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.