473,386 Members | 1,679 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,386 software developers and data experts.

is there any CVS PHP handling package? PEAR or... whatever?

Hi guys,

I've been searching for SCM classes that handle source code for
different apps using PHP.

For SubVersion, I've found the PEAR package called VersionControl_SVN
which works pretty well.

Now, I'm trying to find something similar for CVS, has anyone tried to
implement such package in PHP, or I should start coding? After some
time of research, I've found nothing, and I'm pretty disapointed, CVS
is still popular, and most of the sourceforge projects are CVSed.

Thanks for your feedback.

Vladimir Ghetau
http://www.Vladimirated.com/
Dec 7 '07 #1
2 1371
Hi Vladimir,

Look at php.net for the ccvs functions.

* ccvs_add -- Add data to a transaction
* ccvs_auth -- Perform credit authorization test on a transaction
* ccvs_command -- Performs a command which is peculiar to a single
protocol, and thus is not available in the general CCVS API
* ccvs_count -- Find out how many transactions of a given type are
stored in the system
* ccvs_delete -- Delete a transaction
* ccvs_done -- Terminate CCVS engine and do cleanup work
* ccvs_init -- Initialize CCVS for use
* ccvs_lookup -- Look up an item of a particular type in the
database #
* ccvs_new -- Create a new, blank transaction
* ccvs_report -- Return the status of the background communication
process
* ccvs_return -- Transfer funds from the merchant to the credit
card holder
* ccvs_reverse -- Perform a full reversal on an already-processed
authorization
* ccvs_sale -- Transfer funds from the credit card holder to the
merchant
* ccvs_status -- Check the status of an invoice
* ccvs_textvalue -- Get text return value for previous function
call
* ccvs_void -- Perform a full reversal on a completed transaction

Hope it helps.
//Michael

On 7 Dec., 07:12, Vladimir Ghetau <vladi...@pixeltomorrow.comwrote:
Hi guys,

I've been searching for SCM classes that handle source code for
different apps using PHP.

For SubVersion, I've found the PEAR package called VersionControl_SVN
which works pretty well.

Now, I'm trying to find something similar for CVS, has anyone tried to
implement such package in PHP, or I should start coding? After some
time of research, I've found nothing, and I'm pretty disapointed, CVS
is still popular, and most of the sourceforge projects are CVSed.

Thanks for your feedback.

Vladimir Ghetauhttp://www.Vladimirated.com/
Dec 7 '07 #2
michael wrote:
Look at php.net for the ccvs functions.
CCVS is nothing to do with CVS.

For the OP, rather than working with the PEAR package, you might find the
PECL SVN module more to your liking:
http://uk3.php.net/manual/en/ref.svn.php

There doesn't seem to be a CVS equivalent, but if you're really desperate,
you could try combining both of these:
http://pecl.php.net/package/perl
http://search.cpan.org/~rsoliv/Cvs-0.07/lib/Cvs.pm

I imagine it would be easier to just wrap around /usr/bin/cvs with exec()
calls though.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 12 days, 18:06.]

Sharing Music with Apple iTunes
http://tobyinkster.co.uk/blog/2007/1...tunes-sharing/
Dec 7 '07 #3

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

Similar topics

12
by: Xeon | last post by:
Hi, Is there anyway to set a custom error handler which is actually a method of a class? i.e. setting the method eh() of class foo as error handler in the snippet below. class foo { function...
9
by: Joshua Beall | last post by:
Hi All, Up until now, I have been importing data from Excel spreadsheets into MySQL by exporting them to either .csv files, or tab-delimited .txt files, then using PHP scripts to insert each...
1
by: marks | last post by:
I get the same error trying to install any pear package if it's not alreay installed. # pear install Net_SMTP no signature found for package.info(string,string,bool) # pear -V PEAR Version:...
6
by: Seong-cheol | last post by:
This is first time to write a message in this group and I'm not good at English. So.. please forgive any mistakes i do. I've recently seen PEAR package.. and I wonder what kind of package is...
0
snowdonkey
by: snowdonkey | last post by:
I'm trying to use the Mail package from PEAR in a script that sends an e-mail over SMTP. The problem is that the Mail class in Mail.php provided by the package isn't found by the script. I'm using:...
1
by: luftikus143 | last post by:
Hi there, I would say that the PEAR package is correctly installed. I added the OLE package ( $ pear install OLE ) and the PEAR Spreadsheet Excel Writer ( $ pear install Spreadsheet_Excel_Writer...
2
by: Bennett Haselton | last post by:
How do I find the mapping between a PHP package name like HTTP_Request, and the "yum" command to install it on CentOS 4.4? For example when I needed to use LWP::UserAgent to use in Perl, the...
1
by: vps | last post by:
I have Apache 2.2 server running on Windows XP SP2 with PHP 5.2.5. I have run go-pear.bat in PHP directory (system-wide, all defaults). Running “pear” command lists additional commands. I...
0
by: cmk128 | last post by:
Hi /root/pear>pear remote-list| grep -i text Image_Text -n/a- Text_Statistics 1.0 Text_Password 1.1.0...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.