Is there any python lib for calling CVS api?

I

ironpythonster

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!
 
P

Paul Boddie

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:

http://www.viewvc.org/

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
 
D

Diez B. Roggisch

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
 
K

Kevien Lee

Paul :

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

Paul said:
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:

http://www.viewvc.org/

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top