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

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

am 07.12.2007 07:12:25 von Vladimir Ghetau

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/

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

am 07.12.2007 11:35:30 von Michael

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 wrote:
> 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/

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

am 07.12.2007 12:28:49 von Toby A Inkster

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/11/28/itunes-sharing/