How to Create Your Own Git Server
spinellis.gr
spinellis.gr
Here is the workflow:
+--------+ +---------+
| gitweb | |dashboard|
staff +--------+ +---------+ nodes
+-+ | | +-+
+-+-\ | | > +-+
\ +--+-----+ +------+-/
| |git | |puppet|
+-+ -->| |gito-| +-> |master| -> +-+
+-+ | | lite| | | +-+
/ +--+-----+ +------+-
/ | | \
+-+- | v > +-+
+-+ | email hook to +-+
| staff if production branch
v
syntax hook
I created a screencast about running an internal git server with gitolite @ http://sysadmincasts.com/episodes/11-internal-git-server-wit...[2] https://git.wiki.kernel.org/index.php/Gitweb
* (free) http://www.scm-manager.org/
* https://enterprise.github.com/
* https://www.atlassian.com/software/stash
Those last 4 cost money, but allow self hosting with more "professional" tools.
I'm a big fan of Gerrit though it can take a while to understand.
http://puppetlabs.com/blog/git-workflow-and-puppet-environme...
Cgit is pretty impressive stuff as a frontend. I am sure it is a mess[2] (since people here constantly gawk and harp on people bold enough to do the following), but it is merely a giant C program handling CGI with built-in caching, and it is pretty damn efficient. It is crazy fast. I used to run it on a shared host, and boy was I impressed.
Give it a look when you have a chance. You would be surprised how many large FOSS groups (if I recall correctly, I see the UI at OpenOffice, GNOME, KDE, and FreeDesktop umbrella groups).
[0] http://git.zx2c4.com/cgit/
[1] https://www.kernel.org/pelican.html
[2] http://www.linux.com/news/software/applications/667176-cgit-...
http://www.petekeen.net/hosting-private-git-repositories-wit...
https://github.com/gitlabhq/gitlabhq/blob/master/doc/install...
And indeed, the installation procedure is trivial :).
There are some additional configuration steps for that single user, but most are covered in the manual at http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-...
Is there some advantage to separate user accounts that I'm missing?
[1]: http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-...
It's the underlying library that powers tools like Gerrit Code Review.
Many ways to embed JGit too: http://alblue.bandlem.com/2013/11/embedding-jgit.html
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-e...
tl;dr: people like having less choices, it's less confusing.