By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,961 Members | 1,301 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,961 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.