473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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!

Nov 6 '06 #1
3 1800
ir************@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:

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

Nov 6 '06 #2
ir************@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
Nov 6 '06 #3
Paul :

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

Paul Boddie wrote:
ir************@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:

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
Nov 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

49
by: Ville Vainio | last post by:
I don't know if you have seen this before, but here goes: http://text.userlinux.com/white_paper.html There is a jab at Python, though, mentioning that Ruby is more "refined". -- Ville...
1
by: Gernot Hillier | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm the developer of a Linux ISDN application which uses embedded Python for controlling the communication. It starts several threads (i.e....
5
by: Avi Kak | last post by:
Folks, Does regular expression processing in Python allow for executable code to be embedded inside a regular expression? For example, in Perl the following two statements $regex =...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 408 open ( -9) / 3585 closed (+20) / 3993 total (+11) Bugs : 968 open ( +8) / 6505 closed ( +7) / 7473 total (+15) RFE : 267 open...
3
by: ShambhuHubli | last post by:
Hi all!! .. I am New member to this group. And also new to C/PYTHON API coding. I am trying to have two way communication i,e i am calling from python to C and then from C to python. I have no...
1
by: mmacrobert | last post by:
Hi Everyone, I've created a 'C' dll that is accessed via ctypes library containing a bunch of functions. I've successfully been able to use the functions. However, I would like to throw python...
0
by: grbCPPUsr | last post by:
I am new to Python. I would like to use Python for the specialized purpose of dynamic expressions parsing & evaluation in my C++ application. I would like to encapsulate the expressions to be...
16
by: Jaco Naude | last post by:
Hi there, This is my first post over here and I hope someone can give me some guidance. I'm trying to embed Python into a Visual C++ 2008 application and I'm getting linker problems. I've...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.