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

Re: Git push over git protocol for corporate environment

From
David Brown <davidb@quicinc.com>
Date
Sep 30, 2009, 23:23 UTC
Message-ID
<20090930232309.GA20409@huya.quicinc.com>
In-Reply-To
<76c5b8580909301613m283c4bfdne8de449ca0fd0987@mail.gmail.com>
On Wed, Sep 30, 2009 at 04:13:23PM -0700, Eugene Sajine wrote:
> As I understand the best solution here is git protocol (one port only
> on dedicated server and no security as we are in trusted network) with
> read and write access configured for all repos on a dedicated server.
> What do you think I should do? How to enable push over git protocol?

You can pass --enable=receive-pack but it probably isn't what you want. Anybody can write anything, anywhere with that, and more importantly, anybody can delete anything.

When we started with git, we had a single machine that housed the repos. It ran a read-only git server, and people used ssh to push to it. It doesn't require accounts on the machine, but you can use git-shell to restrict access. This is probably a good way to start out.

Eventually, it's possible to realize that there doesn't need to be _the_ central server. There can be several, and different people in charge of different parts. Here at least, people never really adapted to this model.

We're now primarily using Gerrit, but that's a larger step from process change from CVS.

David Brown
Previous: Eugene SajineNext: Jakub Narebski
Message 2 of 13 in “Git push over git protocol for corporate environment”
  1. Eugene SajineSep 30, 2009
  2. David BrownSep 30, 2009
  3. Jakub NarebskiSep 30, 2009
  4. Michael PooleSep 30, 2009
  5. Shawn O. PearceOct 1, 2009
  6. Marius Storm-OlsenOct 1, 2009
  7. Shawn O. PearceOct 1, 2009
  8. Eugene SajineOct 2, 2009
  9. Shawn O. PearceOct 2, 2009
  10. Eugene SajineOct 2, 2009
  11. Ismael LucenoOct 2, 2009
  12. Jakub NarebskiOct 4, 2009
  13. Matthieu MoyOct 4, 2009

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.