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


Groups > comp.lang.python > #58002

Re: personal library

References <2065311330404772873.819540patrick.vrijlandt-gmail.com@newszilla.xs4all.nl> <l4pp88$luk$1@ger.gmane.org>
Date 2013-10-30 15:26 +1100
Subject Re: personal library
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1790.1383107190.18130.python-list@python.org> (permalink)

Show all headers | 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