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

Re: cvs php integration



Hi,

What I'd like to do is be able to call cvs and commit files.

I'll try those scripts ....

- mb


On Thu, 13 Jan 2005 12:22:26 -0600, Mike Klinke <mklinke axsi com> wrote:
> 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
>



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