Python library to access CVS?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Parano

    Python library to access CVS?

    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...
  • Diez B. Roggisch

    #2
    Re: Python library to access CVS?

    Parano wrote:
    [color=blue]
    > 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...[/color]

    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

    Comment

    • Benjamin Niemann

      #3
      Re: Python library to access CVS?

      Parano wrote:
      [color=blue]
      > 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...[/color]
      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.

      Comment

      • Ludovico Magnocavallo

        #4
        Re: Python library to access CVS?

        Benjamin Niemann wrote:[color=blue]
        > Parano wrote:
        >[color=green]
        >> 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...[/color][/color]

        Googling a bit I found PyCVS:



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

        Download Python for free. The Python programming language, an object-oriented scripting and rapid application development language. You can download it from http://www.python.org/download


        the message is at



        Ludo

        Comment

        Working...