473,800 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1385
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...@pixel tomorrow.comwro te:
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.Vladimirate d.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
3558
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 eh() { do something } }
9
8936
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 row. This works fine, but just adds another step (open xls, save as csv, then import into MySQL). I am wondering, has there been any work done on handling xls files, natively, in PHP? The files I work with are very simple; just rows of data...
1
2392
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: 1.3.3 PHP Version: 5.0.3 Zend Engine Version: 2.0.3
6
1252
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 useful and famous for php? Please tell me useful packages..
0
3551
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: require_once "Mail.php"; and I get the messages: I've made sure that include_path in my php.ini file is directed to my PEAR folder containing pear.bat. It looks like this (I've tried different capitalizations): ; Windows:...
1
2533
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 ), but my PHP script is still telling me: Warning: main(Spreadsheet/Excel/Writer.php) : failed to open stream: No such file or directory in XXXX Fatal error: main() : Failed opening required 'Spreadsheet/Excel/Writer.php'...
2
7182
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 command was yum install -y perl-libwww-perl but I still don't remember how I found that out, I think someone just told me. I never found how to get the mapping between the package name "LWP::UserAgent" and the yum argument "perl-libwww-perl".
1
2302
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 cannot find “mail.php” on local drives (performed a Windows search). Using “mail.php” from separate PEAR package does not solve the problem, since "mail" class is not recognized then.
0
1061
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 Text_Wiki 1.2.0 Text_Diff -n/a- Text_Highlighter -n/a-
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9090
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.