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