threads / discuss / 28398

zealous git convert determined to set up git server

Subject: zealous git convert determined to set up git server

## tl;dr

9 messages between Sep 15, 2011 and Sep 17, 2011.

replies: 8people: 7as markdown or json

Joshua Stoutenburg· Sep 15, 2011, 11:38 UTC · lore
Breaking away from previous conversation "Anybody home?"
2011/9/15 Jakub Narebski <jnareb@gmail.com>:
Show 15 quoted lines
> I think that either "Pro Git" book, or "The Git Community Book"
> would be a best source to learn about setting-up git server.
>
> I think the simplest solution for git hosting management would be to
> use gitolite (there are other git repository management software:
> Gitosis, SCM Manager, Gitblit).
>
> If you want to host something like GitHub, there are open source
> solutions too: Gitorious, InDefero, Girocco + gitweb,...
>
> HTH
> --
> Jakub Narębski
>
>

I totally didn't see "The Git Community Book". There's no link for it where I was looking: http://git-scm.com/documentation

As for setting up a work station, I found a pretty good guide at GitHub:
Windows: http://help.github.com/win-set-up-git/
Linux: http://help.github.com/linux-set-up-git/

Question 1: With both "Pro Git" and "The Git Community Book", has anybody noticed any major discrepancies between the pdf and online versions? I'd like to place the pdf versions on my mobile device for travel reading.

Question 2: It seems gitolite is the popular choice for git user management. Any reason why?

Question 3: So, Gitorious is more than just a repository hosting website? It's also an open source repository hosting platform, which powers the Gitorious website? That's pretty cool.

Luke Diamand· Sep 15, 2011, 20:59 UTC · re: Joshua Stoutenburg · lore

Re: zealous git convert determined to set up git server

On 15/09/11 12:38, Joshua Stoutenburg wrote:
Show 16 quoted lines
> Breaking away from previous conversation "Anybody home?"
>
> I totally didn't see "The Git Community Book".  There's no link for it
> where I was looking: http://git-scm.com/documentation
>
> As for setting up a work station, I found a pretty good guide at GitHub:
> Windows: http://help.github.com/win-set-up-git/
> Linux: http://help.github.com/linux-set-up-git/
>
> Question 1: With both "Pro Git" and "The Git Community Book", has
> anybody noticed any major discrepancies between the pdf and online
> versions?  I'd like to place the pdf versions on my mobile device for
> travel reading.
>
> Question 2: It seems gitolite is the popular choice for git user
> management.  Any reason why?
I use it. Seems good to me:
- Very easy to install (might just be apt-get install gitolite)
- Git users don't need to have real user accounts on the server machine
- Can do quite sophisticated things with permissions
Show 8 quoted lines
>
> Question 3: So, Gitorious is more than just a repository hosting
> website?  It's also an open source repository hosting platform, which
> powers the Gitorious website?  That's pretty cool.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sitaram Chamarty· Sep 16, 2011, 17:00 UTC · re: Joshua Stoutenburg · lore

Re: zealous git convert determined to set up git server

On Thu, Sep 15, 2011 at 5:08 PM, Joshua Stoutenburg <jehoshua02@gmail.com> wrote:

> Question 2: It seems gitolite is the popular choice for git user
> management.  Any reason why?

Well it *is* pretty darn powerful (I'm the author; allow me some preening!) but I believe the real reason is that it is the most *transparent* solution.

The other contendors *all* involve web-based setup/management, and often include things like wikis, issue tracking, graphical views on the web, commenting on commits, code review (in case of gerrit), etc. etc. Gitolite is the only system where the end user (developer) may not even realise it's installed unless he runs up against an access restriction.

Andreas Krey· Sep 16, 2011, 20:40 UTC · re: Sitaram Chamarty · lore

Re: zealous git convert determined to set up git server

On Fri, 16 Sep 2011 22:30:35 +0000, Sitaram Chamarty wrote: ...

> Well it *is* pretty darn powerful (I'm the author; allow me some
> preening!) but I believe the real reason is that it is the most
> *transparent* solution.

It well looks so, but I have a question: It seems that it assumes a flat set of *.git repos. Unfortunately my current setup has the repos in a hierarchy, like area/sub/repo.git, and I don't want everyone to change their local repo configs. Is it possible to keep it like that (and consequently have 'repo area/sub/repo' lines) when putting it under gitolite control?

Andreas
Ilari Liusvaara· Sep 16, 2011, 22:22 UTC · re: Andreas Krey · lore

Re: zealous git convert determined to set up git server

On Fri, Sep 16, 2011 at 10:40:32PM +0200, Andreas Krey wrote:
Show 7 quoted lines
> 
> It well looks so, but I have a question: It seems that it assumes a
> flat set of *.git repos. Unfortunately my current setup has the repos
> in a hierarchy, like area/sub/repo.git, and I don't want everyone to
> change their local repo configs. Is it possible to keep it like that
> (and consequently have 'repo area/sub/repo' lines) when putting it
> under gitolite control?

It is possible to have '/' in repository name in Gitolite. Heck, most repos I have in Gitolite have '/' in their names...

-Ilari
Sitaram Chamarty· Sep 17, 2011, 02:40 UTC · re: Andreas Krey · lore

Re: zealous git convert determined to set up git server

On Sat, Sep 17, 2011 at 2:10 AM, Andreas Krey <a.krey@gmx.de> wrote:
Show 8 quoted lines
> On Fri, 16 Sep 2011 22:30:35 +0000, Sitaram Chamarty wrote:
> ...
>> Well it *is* pretty darn powerful (I'm the author; allow me some
>> preening!) but I believe the real reason is that it is the most
>> *transparent* solution.
>
> It well looks so, but I have a question: It seems that it assumes a
> flat set of *.git repos. Unfortunately my current setup has the repos
No.  Perhaps I should state that explicitly somewhere though...
Jakub Narebski· Sep 16, 2011, 22:39 UTC · re: Joshua Stoutenburg · lore

Re: zealous git convert determined to set up git server

Joshua Stoutenburg wrote:
> 2011/9/15 Jakub Narebski <jnareb@gmail.com>:
Show 18 quoted lines
> > I think that either "Pro Git" book, or "The Git Community Book"
> > would be a best source to learn about setting-up git server.
> >
> > I think the simplest solution for git hosting management would be to
> > use gitolite (there are other git repository management software:
> > Gitosis, SCM Manager, Gitblit).
> >
> > If you want to host something like GitHub, there are open source
> > solutions too: Gitorious, InDefero, Girocco + gitweb,...
> >
> > HTH
> > --
> > Jakub Narębski
> >
> >
> 
> I totally didn't see "The Git Community Book".  There's no link for it
> where I was looking: http://git-scm.com/documentation

I think that link to "Git Community Book" (http://book.git-scm.com) on Git Documentation page (http://git-scm.com/documentation) got replaced by the link to "Pro Git" book; I guess becaue the former is not finished and it doesn't look like it would be finished soon.

[...]
> Question 2: It seems gitolite is the popular choice for git user
> management.  Any reason why?

From Gitosis and Gitolite, both git repository management tools, Gitosis requires setuptools beside Python, and looks like it is not developed anymore, while Gitolite (which started as rewrite of Gitosis in Perl) requires only Perl and is actively developed.

Nb. even Gitosis author recommends Gitolite: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

  Update (12-12-2010): For additional features not present in gitosis,
  check out gitolite.
 
> Question 3: So, Gitorious is more than just a repository hosting
> website?  It's also an open source repository hosting platform, which
> powers the Gitorious website?  That's pretty cool.

Yes, GitHub:FI (this one proprietary), Gitorious (powering gitorious.org), InDefero, Gitblit and Girocco + gitweb (the last one powering http://repo.or.cz) are all full-fledged git hosting sites, with web interface to view and manage repositories.

-- 
Jakub Narebski
Poland
Sitaram Chamarty· Sep 17, 2011, 02:45 UTC · re: Jakub Narebski · lore

Re: zealous git convert determined to set up git server

On Sat, Sep 17, 2011 at 4:09 AM, Jakub Narebski <jnareb@gmail.com> wrote:
> Joshua Stoutenburg wrote:
>> 2011/9/15 Jakub Narebski <jnareb@gmail.com>:
Show 13 quoted lines
>> Question 2: It seems gitolite is the popular choice for git user
>> management.  Any reason why?
>
> From Gitosis and Gitolite, both git repository management tools, Gitosis
> requires setuptools beside Python, and looks like it is not developed
> anymore, while Gitolite (which started as rewrite of Gitosis in Perl)
> requires only Perl and is actively developed.
>
> Nb. even Gitosis author recommends Gitolite:
> http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
>
>  Update (12-12-2010): For additional features not present in gitosis,
>  check out gitolite.

Minor correction. That blog is someone else's (a friend of the gitosis author). I asked him to add that text because we constantly had (still have) people land up on #git asking for help but neither he nor the author are active in git-land anymore and won't answer questions and no one else was willing to pick up the slack.

Fortunately he agreed, and was gracious enough to put that in, although I would have preferred wording that includes the word "unsupported" (IMO lack of support is a bigger reason than lack of features).

fREW Schmidt· Sep 17, 2011, 21:04 UTC · re: Joshua Stoutenburg · lore

Re: zealous git convert determined to set up git server

> Question 2: It seems gitolite is the popular choice for git user
> management.  Any reason why?

Another thing that I personally LOVE as the "Version Control Czar" at my company is the fact that users can easily get a list of repo's that they have access to using gitolite. Instead of people asking me all the time "what's the name of the Foo repo?" they can just do `ssh cesium info` and get a list of repos.

It's a small feature but it really is super handy.

-- fREW Schmidt http://blog.afoolishmanifesto.com

← back to recent threads