Re: Question re. git remote repository

2013-01-16 Thread Konstantin Khomoutov
On Wed, 16 Jan 2013 17:49:09 + "Lang, David" wrote: > We're just in the process of investigating a versioning tool and are > very interesting in git. We have one question we're hoping someone > can answer. In regards to the repositories, I think I understand > correctly that each developer wi

Re: Question re. git remote repository

2013-01-16 Thread Jeff King
On Wed, Jan 16, 2013 at 10:06:15PM +0400, Konstantin Khomoutov wrote: > > In regards to the repositories, I think I understand correctly that > > each developer will have a local repository that they will work > > from, and that there will also be a remote repository (origin) that > > will hold th

Re: Question re. git remote repository

2013-01-16 Thread Konstantin Khomoutov
On Wed, 16 Jan 2013 10:21:56 -0800 Jeff King wrote: Thanks for elaborating on the "origin" -- I intended to write up on its special status but got distracted and sent my message missing that bit ;-) [...] > > > Ideally we'd prefer to simply create our remote repository on a > > > drive of one of

Re: Question re. git remote repository

2013-01-16 Thread David Lang
Hi David, now we are going to have some confusion here, two David Langs on the list :-) On Wed, 16 Jan 2013, Lang, David wrote: We're just in the process of investigating a versioning tool and are very interesting in git. We have one question we're hoping someone can answer. In regards to the

Re: Question re. git remote repository

2013-01-16 Thread Matt Seitz (matseitz)
"Konstantin Khomoutov" wrote in message news:<20130116233744.7d0775eaec98ce154a9de...@domain007.com>... > On Wed, 16 Jan 2013 10:21:56 -0800 > Jeff King wrote: > > > > I agree that performance is not ideal (although if you are on a fast > > LAN, it probably would not matter much), but I do not

Re: Question re. git remote repository

2013-01-16 Thread Stephen Smith
Ideally we'd prefer to simply create our remote repository on a drive of one of our local network servers. Is this possible? >>> >>> Yes, this is possible, but it's not advised to keep such a >>> "reference" repository on an exported networked drive for a number >>> of reasons (both per

Re: Question re. git remote repository

2013-01-16 Thread David Lang
On Wed, 16 Jan 2013, Stephen Smith wrote: Ideally we'd prefer to simply create our remote repository on a drive of one of our local network servers. Is this possible? Yes, this is possible, but it's not advised to keep such a "reference" repository on an exported networked drive for a number o

Re: Question re. git remote repository

2013-01-16 Thread Matt Seitz (matseitz)
"David Lang" wrote in message news:... > But if you try to have one filesystem, with multiple people running git on > their > machines against that shared filesystem, I would expect you to have all sorts > of > problems. What leads you to think you will have problems? Why would there be mor

Re: Question re. git remote repository

2013-01-16 Thread David Lang
On Wed, 16 Jan 2013, Matt Seitz (matseitz) wrote: "David Lang" wrote in message news:... But if you try to have one filesystem, with multiple people running git on their machines against that shared filesystem, I would expect you to have all sorts of problems. What leads you to think you wi

RE: Question re. git remote repository

2013-01-16 Thread Matt Seitz (matseitz)
> From: David Lang [mailto:da...@lang.hm] > > On Wed, 16 Jan 2013, Matt Seitz (matseitz) wrote: > > > Linus seemed to think it should work: > > > > http://permalink.gmane.org/gmane.comp.version-control.git/122670 > > In the link you point at, he says that you can have problems with some > types

RE: Question re. git remote repository

2013-01-16 Thread David Lang
On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote: From: David Lang [mailto:da...@lang.hm] On Wed, 16 Jan 2013, Matt Seitz (matseitz) wrote: Linus seemed to think it should work: http://permalink.gmane.org/gmane.comp.version-control.git/122670 In the link you point at, he says that you can

RE: Question re. git remote repository

2013-01-16 Thread Matt Seitz (matseitz)
> From: David Lang [mailto:da...@lang.hm] > > Linus says that git does not have "proper locking", so think about it, > what do > you think will happen if person A does git add a/b; git commit and person > B does > git add c/d; git commit? Sorry, I wasn't clear. My assumption is that a shared repo

RE: Question re. git remote repository

2013-01-16 Thread David Lang
On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote: From: David Lang [mailto:da...@lang.hm] Linus says that git does not have "proper locking", so think about it, what do you think will happen if person A does git add a/b; git commit and person B does git add c/d; git commit? Sorry, I wasn't cl

RE: Question re. git remote repository

2013-01-16 Thread Matt Seitz (matseitz)
> From: David Lang [mailto:da...@lang.hm] > > On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote: > > > 1. a bare repository that is normally accessed only by "git push" and > > "git pull" (or "git fetch"), the central repository model. > > pulling from it would not be a problem, I could see issue

RE: Question re. git remote repository

2013-01-16 Thread David Lang
On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote: From: David Lang [mailto:da...@lang.hm] On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote: 1. a bare repository that is normally accessed only by "git push" and "git pull" (or "git fetch"), the central repository model. pulling from it would

Re: Question re. git remote repository

2013-01-16 Thread Matt Seitz
"David Lang" wrote in message news:... > >> > >> On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote: > >> > >>> 2. a repository where only one user does "git add" and "git commit", > >> while other users will do "git pull", the peer-to-peer model (you pull > >> changes > >> from me, I pull changes

RE: Question re. git remote repository

2013-01-17 Thread Lang, David
mith Cc: Konstantin Khomoutov; Jeff King; git@vger.kernel.org; Lang, David Subject: Re: Question re. git remote repository On Wed, 16 Jan 2013, Stephen Smith wrote: >>>>> Ideally we'd prefer to simply create our remote repository on a >>>>> drive of one of our local

RE: Question re. git remote repository

2013-01-17 Thread David Lang
ednesday, January 16, 2013 6:01 PM To: Stephen Smith Cc: Konstantin Khomoutov; Jeff King; git@vger.kernel.org; Lang, David Subject: Re: Question re. git remote repository On Wed, 16 Jan 2013, Stephen Smith wrote: Ideally we'd prefer to simply create our remote repository on a drive of one of

Re: Question re. git remote repository

2013-01-17 Thread Jeff King
On Wed, Jan 16, 2013 at 03:00:41PM -0800, David Lang wrote: > >>This one [1] for instance. I also recall seing people having other > >>"mystical" problems with setups like this so I somehow developed an idea > >>than having a repository on a networked drive is asking for troubles. > >>Of course,

RE: Question re. git remote repository

2013-01-17 Thread Matt Seitz
From: git-ow...@vger.kernel.org [git-ow...@vger.kernel.org] on behalf of Lang, David [david.l...@uhn.ca] > I thought the idea was that each developer installed git locally on their > machines Yes. > and (as needed) committed their changes to the master repository which > resides externally t

RE: Question re. git remote repository

2013-01-17 Thread David Lang
On Fri, 18 Jan 2013, Matt Seitz wrote: From: git-ow...@vger.kernel.org [git-ow...@vger.kernel.org] on behalf of Lang, David [david.l...@uhn.ca] The other David Lang (da...@lang.hm) believes that using "git push" using NFS or CIFS/SMB may not be safe and reliable. Based on the following artic

RE: Question re. git remote repository

2013-01-18 Thread Lang, David
ed on a machine with no other local reps? David -Original Message- From: Matt Seitz [mailto:mse...@mhseitz.onmicrosoft.com] Sent: Friday, January 18, 2013 12:52 AM To: Lang, David; David Lang Cc: Konstantin Khomoutov; Jeff King; git@vger.kernel.org; Stephen Smith Subject: RE: Question re. git remote repository

RE: Question re. git remote repository

2013-01-18 Thread David Lang
What I would do is to have each developer have their own local copy that they are working on. I would then find a machine that is going to be on all the time (which could be a developer's desktop), and create a master repository there. Note that if this is on a developers desktop, this needs t

Re: Question re. git remote repository

2013-01-18 Thread Junio C Hamano
David Lang writes: > What I would do is to have each developer have their own local copy > that they are working on. > > I would then find a machine that is going to be on all the time (which > could be a developer's desktop), and create a master repository > there. Note that if this is on a deve

Re: Question re. git remote repository

2013-01-18 Thread David Lang
On Fri, 18 Jan 2013, Junio C Hamano wrote: David Lang writes: What I would do is to have each developer have their own local copy that they are working on. I would then find a machine that is going to be on all the time (which could be a developer's desktop), and create a master repository t

Re: Question re. git remote repository

2013-01-18 Thread Junio C Hamano
David Lang writes: > On Fri, 18 Jan 2013, Junio C Hamano wrote: > >> David Lang writes: >> ... >>> developers then do their work locally, and after a change has been >>> reviewed, pull it into the master repository. >> >> s/pull it into/push it into/; I think. > > fair enough, I always think in

RE: Question re. git remote repository

2013-01-18 Thread Matt Seitz
> -Original Message- > From: git-ow...@vger.kernel.org [mailto:git-ow...@vger.kernel.org] On > > But ultimately, there shouldn't be a question of "if" you > have a master repository but "where" you have the master repository, correct? > Or in other words, it doesn't seem like you'd want

Re: Question re. git remote repository

2013-01-18 Thread Philip Oakley
From: "David Lang" Sent: Friday, January 18, 2013 9:27 PM On Fri, 18 Jan 2013, Junio C Hamano wrote: David Lang writes: What I would do is to have each developer have their own local copy that they are working on. If you have a third machine to host the bare 'master' repo that would pro

RE: Question re. git remote repository

2013-01-23 Thread Lang, David
Thanks Matt and Dave and everyone else for your feedback on this. Ok, I've done some more reading in the Pro Git manual and I think I have an idea of how to get started. Could I run this by you just in case I'm missing anything? Currently (pre-git status) what we have is two developers both wor

Re: Question re. git remote repository

2013-01-23 Thread Junio C Hamano
"Lang, David" writes: > Thanks Matt and Dave and everyone else for your feedback on this. [administrivia: please wrap your lines to reasonable length] > 1. Download and install git for Windows on the 2 networked developer's > PC's and the 1 networked server. > > 2. On the server... > A) I