Changes

Jump to navigation Jump to search
1,846 bytes added ,  13:46, 22 May 2015
more descriptions of hosting options; remove duplicate references section
The [[mw:Git (software)|Git ]] system (http://git-scm.com/) was originally developed by Linus Torvalds as a distributed version control system to replace '''BitKeeper ''' for the Linux Kernel project
The bottom line is this: modern software development may take many "forms", but it usually boils down to [http://nvie.com/posts/a-successful-git-branching-model/ this]. Git enables such a branched workflow.That is why distributed version control in general, and git in particular, is the most widely adopted version control system for software development <ref>https://ianskerrett.wordpress.com/2014/06/23/eclipse-community-survey-2014-results/</ref>
== Intro to Git ==
== Git Repo Hosting ==
It seems everyone uses GitHub these days(~8 million users, 20 million projects). It's not a bad solution, but there are some drawbacks, and whether you're just looking to host your own project or setup enterprise-wide git hosting, there are other ways to host your projects in Git. Let's take a look at some options. <ol><li>'''GitHub''' can make it a bit easier for developers who are used to working with svn because they have 'built-in' [https://github.com/blog/1178-collaborating-on-github-with-subversion svn client] support.<ref>Anyone can use <code>git svn</code> and all the other built-in git subversion bridging commands, GitHub simplifies how to do it.</ref> GitHub [https://enterprise.github.com/home Enterprise] can be installed on your own servers. GitHub costs money for private repos.<li>[https://about.gitlab.com/ '''GitLab'''] is the "popular" alternative to GitHub that comes in "Community", "Enterprise" and "Cloud" versions. They say it's "[https://about.gitlab.com/better-than-github/ better than GitHub]" One nice thing that I note is that they've integrated git-annex for large binary support. This is a nice plus. (I've personally used git-annex as a file backup system -- like DropBox. In my case, it was to make backups of UbuntuOne when that service was discontinued.) You can install GitLab in minutes on your own server. It's costs if you want the [https://about.gitlab.com/features/#compare Enterprise] version.<li>'''GitBlit''' is "a pure Java git server that just works". It's a "true" open source project run by [https://www.linkedin.com/pub/james-moger/8b/3a3/65b James Moger] and scores of other contributors. GitBlit is self-hosted, so you can get a feel for it quickly by looking at the projects own [https://dev.gitblit.com/ source code]. It does have some nice [http://gitblit.com/features.html features].
The current Wikimedia Ops team is using [http://gitblit.com/ Gitblit] to drive https://git.wikimedia.org/ Gitblit is an open-source, pure Java stack for managing, viewing, and serving Git repositories.
It's designed primarily as a tool for small workgroups who want to host centralized repositories. It comes in two options: GO is an integrated single stack solution so you can really get up and running in no time flat; and there is a WAR version (assumes you already have a servlet container like Jetty or Tomcat.) Gitblit requires a Java 7 Runtime Environment (JRE) Gitblit comes with a lot of [http://gitblit.com/features.html features]
</ol>
== Background ==
Generally following the series of instructions at
http://vafer.org/blog/20080115011413 I installed Git-core, gitweb and gitosis on the host
<presource lang="bash">
# install git, the git-svn tool and the viewvc equivalent
apt-get install git-core git-svn gitweb
# and install it
apt-get install gitosis
</pre> == References ==<references /source>
4,558

edits

Navigation menu