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

Re: Git on intranet

From
KKKonstantin Khomoutov <flatworm@users.sourceforge.net>
Date
Jul 26, 2013, 14:51 UTC
Message-ID
<20130726185126.45567727c50d81e9320683a1@domain007.com>
In-Reply-To
<51F285E8.5040802@gmail.com>

On Fri, 26 Jul 2013 16:21:28 +0200 Muhammad Bashir Al-Noimi <mbnoimi@gmail.com> wrote:

> > I want to use Git over the local network in our company because the 
> > internet connection isn't stable so I wonder how can I use git with 
> > pull request (similar to Github)?

Depends on what feature set you imply when you refer to "pull request". The problem with the terminology here is that the term "pull request" might refer both to a social act and to a formal technical action supported by a particular software (Git-hosting or otherwise). I mean, it's perfectly OK for one developer to push a branch in a repository and then ask another developer (directly, by mail or otherwise) to pull the changes from that branch, integrating them into some other branch. I think, for intranet this should cover 99% of use cases. The github software platform allows to formalize this process by providing web interface knobs to do pull requests -- this is useful exactly because it stipulates contributions to a project by *random people.* Conversely, the people working on your projects in your intranet are usually not random, and are usually well connected by corporate e-mail, chat, phone and other means.

Show 8 quoted lines
> > As I read about Gitorious.org I found it most candidate but I'm not 
> > sure is it supports this feature or maybe there is better open
> > source solutions!
> >
> Best search result I got is: http://stackoverflow.com/a/2593330 the
> user says that both *Gitolite* <http://sitaramc.github.com/gitolite/>
> and *Gitorious* <http://gitorious.com/local_install/> are very hard
> to configure!!! What do you suggest?

As to gitolite, for me personally installing it was a matter of running `apt-get install gitolite` on one of my Debian machines. But administering it might require some getting used to as it uses a special administrative Git repository to manage public SSH keys for your Git developers and configuration of repositories. You will also need to possess at least some level of knowledge about what a Git repository is, after all. But in any case, gitolite only manages repos and users, it has no web UI and no format support for github-style pull requests.

Coming back to F/OSS turn-key Git-hosting solutions, GitLab [1] supports github-style pull requests since some version. It's written in Ruby so I, personally, would not touch it to avoid administrative nightmares when the next upgrade comes but YMMV. Gitorious also seems to support "merge requests" [3] which are actually the same thing, I fancy. Again, Ruby. Gitblit and Girocco seem not to support such a feature yet (but the former appears to have it in the works [2]).

1. http://gitlab.org/
2. http://code.google.com/p/gitblit/issues/detail?id=215
3. http://gitorious.wordpress.com/2009/07/15/new-merge-request-functionality/
4. http://repo.or.cz/w/girocco.git
Previous: Muhammad Bashir Al-Noimi
Message 3 of 3 in “Git on intranet”
  1. Muhammad Bashir Al-NoimiJul 26, 2013
  2. Muhammad Bashir Al-NoimiJul 26, 2013
  3. Konstantin KhomoutovJul 26, 2013

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.