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


Groups > comp.lang.python > #58002

Re: personal library

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.085
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'repository': 0.05; 'git': 0.09; 'machines.': 0.09; 'whatever.': 0.09; 'up-to-date': 0.14; 'changes': 0.15; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mercurial,': 0.16; 'subject:library': 0.16; 'sync': 0.16; 'pushed': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'server,': 0.19; 'convenient': 0.24; 'fairly': 0.24; 'server.': 0.24; "haven't": 0.24; 'source': 0.25; 'first,': 0.26; 'mention': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'update.': 0.31; 'run': 0.32; 'actual': 0.34; 'there,': 0.34; 'could': 0.34; 'something': 0.35; 'done.': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'real-time': 0.36; 'next': 0.36; 'should': 0.36; 'server': 0.38; 'machines': 0.38; 'others.': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'system.': 0.39; 'easy': 0.60; 'dave': 0.60; 'then,': 0.60; 'up,': 0.60; 'new': 0.61; "you're": 0.61; 'guarantee': 0.63; 'such': 0.63; 'happen': 0.63; 'central': 0.64; '30,': 0.65; 'needing': 0.65; '1:00': 0.84; "it'd": 0.84; 'risks.': 0.84; 'angel': 0.91; 'mount': 0.93; 'shares': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WFy/lx6+/pdl2wyOmlLlgRNfpSJAkGMKNIfIxRs4+0A=; b=p1gLUM+Fi6kIa6oLLmazeai/Osg9MOr+2In+wjRhuujZPkrO+7VdPHzhDzwbb/pdSE LPzwt0P4MTeTBFVJjI8GH5dDAvmivQDW64ZSGNACdWl3y2spL3Smb3Iu8zsOHfdWMFqE jxQvg7KD5+Sb6kmB5ddES21j3y6axh3Ye1xZP2f++bKk88DK7pYsZQ3RSrvKc/BLD0Oc +2N4Xt8gruqTblqiU2nx/o9neu/U0QbdkGS+pXY4UAjsVzImnEXdsSjTHGGPhYbGa4FJ 05lmTa95tptTTTricEgOTfOqDNNX45+99o/rkBiALWB+YqVoY0hh8KfnQPNzK3mjx0n/ tfMA==
MIME-Version 1.0
X-Received by 10.68.211.233 with SMTP id nf9mr2997150pbc.85.1383107180762; Tue, 29 Oct 2013 21:26:20 -0700 (PDT)
In-Reply-To <l4pp88$luk$1@ger.gmane.org>
References <2065311330404772873.819540patrick.vrijlandt-gmail.com@newszilla.xs4all.nl> <l4pp88$luk$1@ger.gmane.org>
Date Wed, 30 Oct 2013 15:26:20 +1100
Subject Re: personal library
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.1790.1383107190.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1383107190 news.xs4all.nl 15951 [2001:888:2000:d::a6]:41257
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:58002

Show key headers only | View raw


On Wed, Oct 30, 2013 at 1:00 PM, Dave Angel <davea@davea.name> wrote:
> First, I haven't seen any mention of a source control system.  Get one,
> learn it, and use it.  That should always hold your master copy.  And
> the actual repository should be on a system you can access from any of
> the others.
>
> Then, once you can get to such a repository, you use it to sync your
> various local copies on your individual machines.  You could have the
> synch happen automatically once a day, or whatever.  You could also
> build an auto-synch utility which pushed the synch from the server
> whenever the server was updated.
>
> If you're always going to be using these machines with real-time access
> to the central server, you could use Windows shares to avoid needing any
> updates.  Just create a share on the server, and mount it on each of the
> clients.  Add it to your system.path and you're done.

I don't know about Mercurial, but with git it's pretty easy to set up
a post-push hook that gets run whenever new changes hit the server.
>From there, you could have some registered replicas that get
immediately told to pull, which will give fairly immediate
replication. It's not actually real-time, but you have a guarantee
that they're up-to-date - if any change gets missed, it'll be caught
in the next update. It'd take a little work to set up, but you could
have something almost as convenient as shared folders but without the
messes and risks.

*Definitely* use source control.

ChrisA

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


Thread

personal library patrick vrijlandt <patrick.vrijlandt@gmail.com> - 2013-10-29 21:29 +0000
  Re: personal library Dave Angel <davea@davea.name> - 2013-10-30 02:00 +0000
  Re: personal library Chris Angelico <rosuav@gmail.com> - 2013-10-30 15:26 +1100
    Re: personal library Paul Rudin <paul.nospam@rudin.co.uk> - 2013-10-30 06:31 +0000
  Re: personal library Ben Finney <ben+python@benfinney.id.au> - 2013-10-30 15:33 +1100
  Re: personal library Chris Angelico <rosuav@gmail.com> - 2013-10-30 15:48 +1100
    Re: personal library patrick vrijlandt <patrick.vrijlandt@gmail.com> - 2013-10-30 20:02 +0000
      Re: personal library Tim Delaney <timothy.c.delaney@gmail.com> - 2013-10-31 07:19 +1100
      Re: personal library Ben Finney <ben+python@benfinney.id.au> - 2013-10-31 07:37 +1100
      Re: personal library Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-10-30 21:52 +0100
      Re: personal library paul.nospam@rudin.co.uk - 2013-10-30 20:34 +0000
      Re: personal library Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-30 21:08 +0000
        Re: personal library Grant Edwards <invalid@invalid.invalid> - 2013-10-30 21:20 +0000
      Re: personal library Chris Angelico <rosuav@gmail.com> - 2013-10-31 08:31 +1100
        Re: personal library patrick vrijlandt <patrick.vrijlandt@gmail.com> - 2013-10-31 21:48 +0000
      Re: personal library Tim Delaney <timothy.c.delaney@gmail.com> - 2013-10-31 08:43 +1100
      Re: personal library Tim Delaney <timothy.c.delaney@gmail.com> - 2013-10-31 08:45 +1100
    Re: personal library rusi <rustompmody@gmail.com> - 2013-10-31 20:38 -0700

csiph-web