git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Internal, corporate, shared hosting solutions

From
Johan Herland <johan@herland.net>
Date
Sep 26, 2008, 18:17 UTC
Message-ID
<200809262017.15916.johan@herland.net>
In-Reply-To
<8B29890D-C03B-4ECE-9BEF-0A8E8EF7233E@netspot.com.au>
On Friday 26 September 2008, Tom Lanyon wrote:
Show 9 quoted lines
> Hi list,
>
> I'm struggling. There's been a recent adoption of git here by our
> development staff, which is great. However, from an administrative
> point of view, I'm having trouble finding a solution to provide some
> kind of easy, shared, secure and accessible hosting solution to our
> developers.
>
> [...]

I'm pretty much in the exact same situation at $dayjob, and I'm researching some alternatives as well. So far there seems to be a couple of options:

1. Gitosis [1]. This is a fairly thin layer of Python scripts running as 
a non-privileged "git" user on the server. All users authenticate by 
registering their SSH key with Gitosis, and then access repos using 
this one "git" user over SSH. Further access control (i.e. read/write 
access to each repo) is done by Gitosis itself, and administered by 
cloning a gitosis-admin repo, changing some configuration files and 
pushing the result back to the server.
2. Gitorious [2]. Don't confuse this with the repo hosting service at 
gitorious.org. You can clone the software that runs gitorious.org and 
set it up on your own server. This is a much more heavy-weight 
Ruby-on-Rails application that provides a nice web interface for 
publishing and interacting with repositories. However, it is based on 
the same underlying principle of registering your SSH-keys with 
Gitorious, and running everything as a non-privileged "git" user.
3. repo.or.cz. I don't know much about how this work, and if it's easily 
deployed on an in-house server. However, the repo.or.cz admin (Petr 
Baudis, CCed) is active on this list, and can probably fill in the 
details.
Feel free to keep me updated on your progress.
Have fun! :)
...Johan

[1]: Gitosis: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way Get it at http://eagain.net/gitweb/?p=gitosis.git;a=summary

[2]: Gitorious: http://gitorious.org/ Get it at http://gitorious.org/projects/gitorious

-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Shawn O. Pearce
Message 3 of 3 in “Internal, corporate, shared hosting solutions”
  1. Tom LanyonSep 26, 2008
  2. Shawn O. PearceSep 26, 2008
  3. Johan HerlandSep 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.