Re: Few Questions
"Arya, Manish Kumar" <m.arya@yahoo.com> writes:
Show 9 quoted lines
> Hi,
>
> I am new to Git. Earlier I have configured svn with LDAP auth and
> svnwebclient.
>
> I want to have following with Git
>
> - LDAP and ssh authentication.
>
Instead of inventing (and failing) its own protocol and its own authentication git uses established solutions for authentication: SSH for "smart" server, and WebDAV for push via (currently only "dumb") HTTPS protocol.
There exist solutions that help with setting up SSH for git: git-shell, ssh_acl, and I think most commonly used Gitosis (see seminal reference about Gitosis on http://git.or.cz/gitwiki/BlogPosts).
> - checkin and checkout using web interface and ssh
>
Git is distributed version control system: checkin (named 'commit' in git) and checkout are _local_ operations. Fetch (getting new changes from remote repository) and clone (creating new local repository following or forking specified remote repository) can be done via local filesystem, via git:// protocol, via "dumb" HTTP, and via SSH. Push (sending changes to remote repository) needs autheticated channel: most common used is SSH, but you can also use WebDAV with HTTPS.
There are web interfaces for Git, something like SVN::Web or ViewVC, like gitweb (in Perl, developed in git.git repository) and cgit (in C). See also "Web interfaces" section on InterfacesFrontendsAndTools page on git wiki.
> - when ever someone checkin something then a email should be send to
> a email address (a mailing list)
If by 'checkin' you mean publishing changes to a server (i.e. push in
git terminology), see for example contrib/hooks/post-receive-email
hook.
> please let me know how to do this with Git
Please learn that Git is _different_ from Subversion, and not try to follow your SVN workflow and expectations blindly.
--
Jakub Narebski
Poland
ShadeHawk on #git