Re: cvs php integration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 12 January 2005 21:05, mbneto wrote:
> Hi mike,
>
> I was wondering if what you are trying to say is that there is a
> known way of how can I make php interface with a cvs server, for
> example, to commit changed files.
>
> If that's correct can you send a pointer/url ?
>
 
If the pointers I provide don't suite your needs and if you are 
wanting to issue cvs commands via a php interface I suppose that's 
simple enough with a construct (at the most basic level )something 
like:

$>php checkout.php

====== Check out the CVSROOT module via php =================
<?php
      exec("cvs -d /path/to/repo co CVSROOT");
?>
====================== checkout.php =========================


$>php checkin.php

====== Check in a modified "modules" file via php ===========

<?php
      exec("cvs -d /path/to/repo ci -m \"test message \" modules");
?>

======================== checkin.php =========================


But if you're looking for something that someone else has coded for 
you I'm not personally familiar with one.

Regards, Mike Klinke

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux