git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hosting from Windows XP.
@ 2009-01-26 16:27 Tim Visher
  2009-01-26 16:31 ` Shawn O. Pearce
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Tim Visher @ 2009-01-26 16:27 UTC (permalink / raw)
  To: git

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.

I may totally be missing something here, but I don't know what.  Short
of the question is, how do I host a repo out of Windows?

Thanks in advance!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 16:27 Hosting from Windows XP Tim Visher
@ 2009-01-26 16:31 ` Shawn O. Pearce
  2009-01-26 17:34   ` Jakub Narebski
  2009-01-26 16:45 ` Johannes Schindelin
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Shawn O. Pearce @ 2009-01-26 16:31 UTC (permalink / raw)
  To: Tim Visher; +Cc: git

Tim Visher <tim.visher@gmail.com> wrote:
> 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.

git-daemon isn't ported yet, due to its heavy reliance on POSIX
behavior during fork+exec.
 
> I may totally be missing something here, but I don't know what.  Short
> of the question is, how do I host a repo out of Windows?

I think your options are limited to:

- Use Cygwin
- Use a virtual machine running Linux with git inside it
- Use JGit and its daemon

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 16:27 Hosting from Windows XP Tim Visher
  2009-01-26 16:31 ` Shawn O. Pearce
@ 2009-01-26 16:45 ` Johannes Schindelin
  2009-01-26 17:44   ` Tay Ray Chuan
  2009-01-26 17:46 ` Tay Ray Chuan
  2009-01-26 18:35 ` Johannes Gilger
  3 siblings, 1 reply; 10+ messages in thread
From: Johannes Schindelin @ 2009-01-26 16:45 UTC (permalink / raw)
  To: Tim Visher; +Cc: git

Hi,

On Mon, 26 Jan 2009, Tim Visher wrote:

> I may totally be missing something here, but I don't know what.  Short 
> of the question is, how do I host a repo out of Windows?

Use a net share.  Use the native permission system to restrict/open up the 
repository for certain people to read from/write to.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 16:31 ` Shawn O. Pearce
@ 2009-01-26 17:34   ` Jakub Narebski
  2009-01-26 17:38     ` Shawn O. Pearce
  0 siblings, 1 reply; 10+ messages in thread
From: Jakub Narebski @ 2009-01-26 17:34 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Tim Visher, git

"Shawn O. Pearce" <spearce@spearce.org> writes:
> Tim Visher <tim.visher@gmail.com> wrote:

> > 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.
> 
> git-daemon isn't ported yet, due to its heavy reliance on POSIX
> behavior during fork+exec.

You can use instead "dumb" HTTP protocol, or network filesystem
(network share).  Or SSH.

Note that for push you don't [usually] use git-daemon: you can use
SSH, filesystem (network share), HTTPS with WebDAV.

> > I may totally be missing something here, but I don't know what.  Short
> > of the question is, how do I host a repo out of Windows?
> 
> I think your options are limited to:
[...]
> - Use JGit and its daemon

>From what I remember currently JGit daemon generates suboptimal
packfiles, as it does not support delta compression yet...

-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 17:34   ` Jakub Narebski
@ 2009-01-26 17:38     ` Shawn O. Pearce
  0 siblings, 0 replies; 10+ messages in thread
From: Shawn O. Pearce @ 2009-01-26 17:38 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: Tim Visher, git

Jakub Narebski <jnareb@gmail.com> wrote:
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> > - Use JGit and its daemon
> 
> From what I remember currently JGit daemon generates suboptimal
> packfiles, as it does not support delta compression yet...

Yes.

It does however support delta-reuse, and it only supports the
index-pack variant during receive-pack.  So it saves and reuses
any deltas created by C git.  Which makes it almost tolerable to
work with as a bit server.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 16:45 ` Johannes Schindelin
@ 2009-01-26 17:44   ` Tay Ray Chuan
  2009-01-26 17:46     ` Shawn O. Pearce
  0 siblings, 1 reply; 10+ messages in thread
From: Tay Ray Chuan @ 2009-01-26 17:44 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Tim Visher, git

Hi,

On Tue, Jan 27, 2009 at 12:45 AM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> Use a net share.  Use the native permission system to restrict/open up the
> repository for certain people to read from/write to.

hmm, does this entail git daemon usage too?

-- 
Cheers,
Ray Chuan

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 16:27 Hosting from Windows XP Tim Visher
  2009-01-26 16:31 ` Shawn O. Pearce
  2009-01-26 16:45 ` Johannes Schindelin
@ 2009-01-26 17:46 ` Tay Ray Chuan
  2009-01-26 18:35 ` Johannes Gilger
  3 siblings, 0 replies; 10+ messages in thread
From: Tay Ray Chuan @ 2009-01-26 17:46 UTC (permalink / raw)
  To: Tim Visher; +Cc: git

Hi,

On Tue, Jan 27, 2009 at 12:27 AM, Tim Visher <tim.visher@gmail.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 17:44   ` Tay Ray Chuan
@ 2009-01-26 17:46     ` Shawn O. Pearce
  0 siblings, 0 replies; 10+ messages in thread
From: Shawn O. Pearce @ 2009-01-26 17:46 UTC (permalink / raw)
  To: Tay Ray Chuan; +Cc: Johannes Schindelin, Tim Visher, git

Tay Ray Chuan <rctay89@gmail.com> wrote:
> On Tue, Jan 27, 2009 at 12:45 AM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
> > Use a net share.  Use the native permission system to restrict/open up the
> > repository for certain people to read from/write to.
> 
> hmm, does this entail git daemon usage too?

No, developers would be accessing the repository directly over SMB.

Its slower than if you used git daemon.  Access over SMB is
tolerable, especially if your network is fast, but there's still a
lot more data transfer then if the native git protocol could be used.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 16:27 Hosting from Windows XP Tim Visher
                   ` (2 preceding siblings ...)
  2009-01-26 17:46 ` Tay Ray Chuan
@ 2009-01-26 18:35 ` Johannes Gilger
  2009-01-27 18:24   ` Tim Visher
  3 siblings, 1 reply; 10+ messages in thread
From: Johannes Gilger @ 2009-01-26 18:35 UTC (permalink / raw)
  To: git

On 2009-01-26, Tim Visher <tim.visher@gmail.com> wrote:
> easiest way to do this, short of installing cygwin, would be to do a

I know you said "short of installing cygwin", but I'd like to ask you if 
you have ever used CygWin. I'd suggest you give it a try first (if you 
haven't already) because it would then enable you to use a wide range of 
tools from the unix-world without a lot of hassle. git, for example, can 
be downloaded and compiled out-of-the-box, meaning the git-daemon as 
well. You even get an ssh-server with cygwin (on windows, how cool is 
that ;).

Greetings,
Jojo

-- 
Johannes Gilger <heipei@hackvalue.de>
http://hackvalue.de/heipei/
GPG-Key: 0x42F6DE81
GPG-Fingerprint: BB49 F967 775E BB52 3A81  882C 58EE B178 42F6 DE81

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Hosting from Windows XP.
  2009-01-26 18:35 ` Johannes Gilger
@ 2009-01-27 18:24   ` Tim Visher
  0 siblings, 0 replies; 10+ messages in thread
From: Tim Visher @ 2009-01-27 18:24 UTC (permalink / raw)
  To: Johannes Gilger; +Cc: git

Well, I ended up going with Cygwin.  Didn't feel like the hassle of
all of the rest of that stuff.  Thanks so much, everyone. :)

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-01-27 18:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 16:27 Hosting from Windows XP Tim Visher
2009-01-26 16:31 ` Shawn O. Pearce
2009-01-26 17:34   ` Jakub Narebski
2009-01-26 17:38     ` Shawn O. Pearce
2009-01-26 16:45 ` Johannes Schindelin
2009-01-26 17:44   ` Tay Ray Chuan
2009-01-26 17:46     ` Shawn O. Pearce
2009-01-26 17:46 ` Tay Ray Chuan
2009-01-26 18:35 ` Johannes Gilger
2009-01-27 18:24   ` Tim Visher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).