Re: emded revision control in Python application?

Discussion in 'Python' started by rusi, Jun 23, 2012.

  1. rusi

    rusi Guest

    On Jun 22, 8:58 pm, duncan smith <>
    wrote:
    > Hello,
    >        I have an application that would benefit from collaborative
    > working. Over time users construct a "data environment" which is a
    > number of files in JSON format contained in a few directories (in the
    > future I'll probably place these in a zip so the environment is
    > contained within a single file). At the moment there is one individual
    > constructing the data environment, and me occasionally applying
    > corrections after being e-mailed the files. But in the future there
    > might be several individuals in various locations.
    >
    > As a minimum requirement I need to embed some sort of version control,
    > so that changes committed by one individual will be seen in the local
    > environments of the others. Some of the work involves editing graphs
    > which have restrictions on their structure. In this case it would be
    > useful for edits to be committed / seen in real time. The users will not
    > be particularly technical, so the version control will have to happen
    > relatively quietly in the background.
    >
    > My immediate thoughts are to (somehow) embed Mercurial or Subversion. It
    > would certainly be useful to be able to revert to a previous version of
    > the data environment if an individual does something silly. But I'm not
    > actually convinced that this is the whole solution for collaborative
    > working. Any advice regarding the embedding of a version control system
    > or alternative approaches would be appreciated. I haven't tried anything
    > like this before. The desktop application is written in Python (2.6)
    > with a wxPython (2.8) GUI. Given the nature of the application / data
    > the machines involved might be locally networked but without web access
    > (if this makes a difference). TIA.
    >
    > Duncan


    If you are looking at mercurial and subversion you may want to look at
    git also.

    From http://en.wikipedia.org/wiki/Git_(software)#Implementation
    (quoting Linus Torvalds)
    ---------------------------
    In many ways you can just see git as a filesystem — it's content-
    addressable, and it has a notion of versioning, but I really really
    designed it coming at the problem from the viewpoint of a filesystem
    person (hey, kernels is what I do), and I actually have absolutely
    zero interest in creating a traditional SCM system.

    More details https://git.wiki.kernel.org/index.php/Git#Design
    -------------------------
    Of course its good to say upfront that git is mostly C+shell ie its
    not python
    There is gitpython http://packages.python.org/GitPython/0.1/tutorial.html
    but I know nothing about it
     
    rusi, Jun 23, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Tittsler
    Replies:
    3
    Views:
    255
    Stefan Behnel
    Dec 14, 2006
  2. Peter v. N.
    Replies:
    3
    Views:
    355
    Thomas Matthews
    Nov 29, 2006
  3. Dylan Nicholson

    Revision control for workspaces/projects

    Dylan Nicholson, May 15, 2007, in forum: Java
    Replies:
    4
    Views:
    266
    Sanjay
    May 16, 2007
  4. Emile van Sebille
    Replies:
    1
    Views:
    238
    Emile van Sebille
    Jun 22, 2012
  5. Prasad, Ramit
    Replies:
    0
    Views:
    222
    Prasad, Ramit
    Jun 22, 2012
Loading...

Share This Page