Is there any python lib for calling CVS api?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ironpythonster@gmail.com

    #1

    Is there any python lib for calling CVS api?

    Hi everyone, this should be a quick question. I'm writing some
    scripts
    to take some file and move them into a CVS repository, but it's pretty
    slow, because it uses system calls to execute the CVS commands.

    Has anyone ever made a python to CVS interface library that I could
    use?
    Some one sugestion me use the cvsgui lib,but it look like that the lib
    could
    not use fro Python2.4.I've been trying to google around for something,
    but predictably I get
    a zillion sourceforge repository hits, and it isn't really helping. So

    anyway, if anyone knows of a useful module, I'd love to hear about it.
    Thanks!

  • Paul Boddie

    #2
    Re: Is there any python lib for calling CVS api?

    ironpythonster@ gmail.com wrote:
    Hi everyone, this should be a quick question. I'm writing some scripts
    to take some file and move them into a CVS repository, but it's pretty
    slow, because it uses system calls to execute the CVS commands.
    [...]
    anyway, if anyone knows of a useful module, I'd love to hear about it.
    You might get some ideas from ViewVC if you're accessing the repository
    directly:



    There may be scripts out there which import data from various other
    revision control systems into CVS, although the focus these days seems
    to be on *exporting* data from CVS and putting it into things like
    Subversion, Bazaar, Mercurial and so on, but I believe the scripts for
    the latter two are Python programs and may also provide some
    inspiration.

    Paul

    Comment

    • Diez B. Roggisch

      #3
      Re: Is there any python lib for calling CVS api?

      ironpythonster@ gmail.com wrote:
      Hi everyone, this should be a quick question. I'm writing some
      scripts
      to take some file and move them into a CVS repository, but it's pretty
      slow, because it uses system calls to execute the CVS commands.
      >
      Has anyone ever made a python to CVS interface library that I could
      use?
      AFAIK there is no such thing as a CVS-library. Which was one of the
      motivations behind subversion, which offers its functionality through a
      library that has a python wrapping available.

      Diez

      Comment

      • Kevien Lee

        #4
        Re: Is there any python lib for calling CVS api?

        Paul :

        Thanks ,but the viewvc lib so simple useable for python:(

        Paul Boddie wrote:
        ironpythonster@ gmail.com wrote:
        Hi everyone, this should be a quick question. I'm writing some scripts
        to take some file and move them into a CVS repository, but it's pretty
        slow, because it uses system calls to execute the CVS commands.
        >
        [...]
        >
        anyway, if anyone knows of a useful module, I'd love to hear about it.
        >
        You might get some ideas from ViewVC if you're accessing the repository
        directly:
        >

        >
        There may be scripts out there which import data from various other
        revision control systems into CVS, although the focus these days seems
        to be on *exporting* data from CVS and putting it into things like
        Subversion, Bazaar, Mercurial and so on, but I believe the scripts for
        the latter two are Python programs and may also provide some
        inspiration.
        >
        Paul

        Comment

        Working...