Python library to access CVS?

Discussion in 'Python' started by Parano, Sep 11, 2004.

  1. Parano

    Parano Guest

    Is there a Python library to access CVS?
    I tried to google search for it, but with "python cvs" you actually find
    alot of python projects that have CVS repository...
     
    Parano, Sep 11, 2004
    #1
    1. Advertising

  2. Parano wrote:

    > Is there a Python library to access CVS?
    > I tried to google search for it, but with "python cvs" you actually find
    > alot of python projects that have CVS repository...


    I don't know if there exists one or not - but its considered hard to write
    one in general, as the design of CVS isn't directed to be
    machine-interfacable. AFAIK Eric S. Raymond is the author of the emacs cvs
    mode, and always had hard times to make the tool output parsing work -
    which one can see, as sometimes errors appear out from nowhere.

    Said that, you might think of using subversion instead - its especially
    designed to overcome some of the plenty shortcomings of cvs, including the
    mentioned one. And there is a python binding for it. svn is mature enough,
    and a lot of projects I know are currently migrating - also most important
    tools (tortoise, cvsView) are available.

    --
    Regards,

    Diez B. Roggisch
     
    Diez B. Roggisch, Sep 11, 2004
    #2
    1. Advertising

  3. Parano wrote:

    > Is there a Python library to access CVS?
    > I tried to google search for it, but with "python cvs" you actually find
    > alot of python projects that have CVS repository...

    I'm not sure, but I think viewcvs (a web interface to CVS written in
    python) direcly accesses the CVS repository. You might have a look at it
    and see, how it does this and if there's code to reuse.
     
    Benjamin Niemann, Sep 11, 2004
    #3
  4. Benjamin Niemann wrote:
    > Parano wrote:
    >
    >> Is there a Python library to access CVS?
    >> I tried to google search for it, but with "python cvs" you actually find
    >> alot of python projects that have CVS repository...


    Googling a bit I found PyCVS:

    http://pycvs.sourceforge.net/

    and a pretty old python-list message by F. Lundh which points to

    http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Demo/pdist/

    the message is at

    http://mail.python.org/pipermail/python-list/1999-April/000484.html

    Ludo
     
    Ludovico Magnocavallo, Sep 12, 2004
    #4
    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. Andrea Gavana

    Simple SVN/CVS-like library in Python?

    Andrea Gavana, Feb 7, 2007, in forum: Python
    Replies:
    0
    Views:
    277
    Andrea Gavana
    Feb 7, 2007
  2. ddog
    Replies:
    3
    Views:
    597
    Jason Whaley
    Aug 4, 2007
  3. Replies:
    1
    Views:
    604
    GArlington
    Aug 31, 2007
  4. Steve Holden

    Re: CVS access with Python

    Steve Holden, Feb 7, 2008, in forum: Python
    Replies:
    1
    Views:
    326
    A.T.Hofkamp
    Feb 8, 2008
  5. David Ross
    Replies:
    5
    Views:
    156
    Nicholas Van Weerdenburg
    Dec 5, 2004
Loading...

Share This Page