Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68483

Re: Question about Source Control

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'repository': 0.05; '*not*': 0.07; 'puts': 0.07; 'subject:Question': 0.07; 'mercurial': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'remotely,': 0.09; 'subject:Source': 0.09; 'windows,': 0.09; 'wrote': 0.14; '4:39': 0.16; 'ahead,': 0.16; 'attempt.': 0.16; 'blocks': 0.16; 'mapped': 0.16; 'mercurial,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:n 70': 0.16; 'ssh': 0.16; 'stumbling': 0.16; 'wrote:': 0.18; 'server,': 0.19; 'version.': 0.19; 'command': 0.22; 'machine': 0.22; 'separate': 0.22; 'install': 0.23; 'directory.': 0.24; 'lets': 0.24; 'source': 0.25; 'header:X-Complaints-To:1': 0.27; 'appreciated.': 0.29; 'agreements': 0.30; 'code': 0.31; 'directory,': 0.31; 'run': 0.32; 'quite': 0.32; 'linux': 0.33; 'running': 0.33; 'sense': 0.34; 'could': 0.34; 'problem': 0.35; 'basic': 0.35; 'but': 0.35; 'installing': 0.36; 'so,': 0.37; 'two': 0.37; 'machines': 0.38; 'work?': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'free': 0.61; 'first': 0.61; 'name': 0.63; 'kind': 0.63; 'central': 0.64; 'provide': 0.64; 'more': 0.64; 'different': 0.65; 'kept': 0.65; 'assistance': 0.66; 'license': 0.66; 'latest': 0.67; 'mar': 0.68; 'frank': 0.68; 'everywhere.': 0.84; 'nfs': 0.84; 'subject:Control': 0.84; 'suited': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From "Frank Millman" <frank@chagford.com>
Subject Re: Question about Source Control
Date Tue, 18 Mar 2014 08:42:13 +0200
References <lg6s09$irl$1@ger.gmane.org> <CAPTjJmqPca5cnNWu8T5BZhpH665X0=mrf7bJaLqVrQVMjZWu1g@mail.gmail.com> <lg8m6b$c8t$1@ger.gmane.org> <CAPTjJmqHXh2M3-QGbeLV_AkGAJzMEYmbuDLy8_dkpnhrpSUVMQ@mail.gmail.com>
X-Gmane-NNTP-Posting-Host 197.87.50.23
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.3790.4657
X-RFC2646 Format=Flowed; Original
X-MimeOLE Produced By Microsoft MimeOLE V6.00.3790.4913
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8238.1395124947.18130.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395124947 news.xs4all.nl 2911 [2001:888:2000:d::a6]:51168
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68483

Show key headers only | View raw


"Chris Angelico" <rosuav@gmail.com> wrote in message 
news:CAPTjJmqHXh2M3-QGbeLV_AkGAJzMEYmbuDLy8_dkpnhrpSUVMQ@mail.gmail.com...
> On Tue, Mar 18, 2014 at 4:39 PM, Frank Millman <frank@chagford.com> wrote:
>> Two quick questions -
>>
>> 1. At present the source code is kept on one machine (A), but only 
>> accessed
>> from the two other machines (B and C).
>>
>> Does it make sense to create the central repository on A, but *not* 
>> install
>> the SCM on A? Install separate copies of the SCM on B and C, and allow 
>> them
>> both to set up their own clones. I only develop on B, so only B would
>> 'push', but both B and C would 'pull' to get the latest version.
>
> I don't know about Mercurial, but with git, installing the software on
> A lets it work more efficiently (otherwise it has to do all the work
> remotely, ergo unnecessary traffic). Advantage of free software is
> that you don't have to check license agreements - just go ahead,
> install it everywhere. But if for some reason that would be a problem,
> you can look into running it over basic SSH or something.
>

Excuse my ignorance, but how does it actually work?

Do you set up some kind of client/server relationship, and if so, how do the 
clients (machines B and C) access the software on machine A?

I know that Mercurial can run its own web server, and clients can access it 
through http. It that what you are suggesting? That would be quite a change 
for me, as on my linux box I do all my work from the command line on a 
console.

These are the kind of stumbling blocks that prevented me from succeeding in 
my previous attempt. I have a vague recollection that I set it up on machine 
A, but then hit a problem because machines B and C both accessed the same 
directory, but with different names - on Windows, a mapped drive and on 
linux a mounted nfs directory. I had to provide a 'path' name to set up 
Mercurial in the first place, but I could not find one that suited both 
clients.

I feel that I have just not grasped the basics yet, so any assistance that 
puts me on the right path is appreciated.

Frank


Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Question about Source Control "Frank Millman" <frank@chagford.com> - 2014-03-18 08:42 +0200
  Re: Question about Source Control Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-03-19 10:51 +1300
    Re: Question about Source Control Terry Reedy <tjreedy@udel.edu> - 2014-03-18 21:38 -0400
    Re: Question about Source Control Tim Chase <python.list@tim.thechases.com> - 2014-03-18 21:12 -0500
      Re: Question about Source Control albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-03-22 17:32 +0000
        Re: Question about Source Control Tim Chase <python.list@tim.thechases.com> - 2014-03-22 13:49 -0500
        Re: Question about Source Control Albert-Jan Roskam <fomcl@yahoo.com> - 2014-03-22 13:01 -0700
        Re: Question about Source Control Dave Angel <davea@davea.name> - 2014-03-22 22:18 -0400
        Re: Question about Source Control Albert-Jan Roskam <fomcl@yahoo.com> - 2014-03-23 07:58 -0700
        Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-24 09:56 +1100
        Re: Question about Source Control Terry Reedy <tjreedy@udel.edu> - 2014-03-23 21:26 -0400
        Re: Question about Source Control Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-24 01:42 +0000
        Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-24 13:04 +1100
        Re: Question about Source Control Terry Reedy <tjreedy@udel.edu> - 2014-03-24 00:55 -0400
    Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-19 13:34 +1100

csiph-web