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

Re: Hosting from Windows XP.

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Jan 26, 2009, 17:46 UTC
Message-ID
<be6fef0d0901260946jb6ef8deo59dc16a74a371074@mail.gmail.com>
In-Reply-To
<c115fd3c0901260827ge5e4b29w871b345da2373f6b@mail.gmail.com>
Hi,
On Tue, Jan 27, 2009 at 12:27 AM, Tim Visher <tim.visher@gmail.com> wrote:
Show 9 quoted lines
> Hello Everyone,
>
> I'm trying to get git set up for my company.  We're stuck using
> Windows for the foreseeable future so for now I have to host the
> central integration repository out of a Windows box.  I figured the
> easiest way to do this, short of installing cygwin, would be to do a
> simple msysgit install and then run git daemon with the relevant repo
> copied over onto the server.  Then devs could track that repo.
> However, it appears that msysgit does not install git daemon.

you might want to look at using pushing over DAV: say, have all your employees pulling from a DAV-enabled server.

The DAV protocol itself is platform-agnostic, so your server could be Windows or Linux or whatever. Since DAV deals with file I/O, you might want to look at your security options, though I think basic access authentication would be enough if your server is only accessible within your company's LAN.

By pushing over DAV, you can avoid running a git daemon. Looking at how you would do this on Windows, i don't think it's advisable to do so.

To do this, first, you would need to have cygwin, then you have to run "cygrunsrv -I", which will install your git daemon as a Windows service.

AFAIK, cygrunsrv pipes stuff to git-daemon. I don't know how good this option is, reliablity or performance-wise.

I've tried this out (somewhat limitedly) using git built on cygwin, with an Apache server, though currently you would have problems if your Apache was running on a Windows box (my patch to fix this is on its way).

-- 
Cheers,
Ray Chuan
Previous: Shawn O. PearceNext: Johannes Gilger
Message 8 of 10 in “Hosting from Windows XP.”
  1. Tim VisherJan 26, 2009
  2. Shawn O. PearceJan 26, 2009
  3. Jakub NarebskiJan 26, 2009
  4. Shawn O. PearceJan 26, 2009
  5. Johannes SchindelinJan 26, 2009
  6. Tay Ray ChuanJan 26, 2009
  7. Shawn O. PearceJan 26, 2009
  8. Tay Ray ChuanJan 26, 2009
  9. Johannes GilgerJan 26, 2009
  10. Tim VisherJan 27, 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.