[Top][All Lists]

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

Re: Tag locking change

From: Jenn Vesperman
Subject: Re: Tag locking change
Date: 10 Oct 2002 07:14:53 +1000

On Thu, 2002-10-10 at 05:40, Adam Bregenzer wrote:
> On Wed, 2002-10-09 at 14:58, Greg A. Woods wrote:
> > My point was that you can do the same thing more reliably with a "cvs
> > update" in a working directory that is the DocumentRoot.
> But then it wouldn't be automagic, it would be whenever cvs update is
> run.  Certianly every minute would be 'acceptable' but this solution is
> fine.  Plus in this case the repository and the live site have different
> directory structures.

Try a *info script like:

cd /wherever
/usr/bin/cvs -d cvs:/home/cvs export -r $1 whosiwhatsit
if [ $? -eq 0 ]; then
        cd whosiwhatsit
        /usr/bin/make install
        echo "Export failed."

$1 is obviously a tag. :)

You can use update instead of export, and -D now instead of -r $1 if you
want. You may also want to replace the echo with a mail.

The make and the make install should contain whatever is necessary to do
your build and/or rearrange the structure.

Jenn V.
    "Do you ever wonder if there's a whole section of geek culture 
                you miss out on by being a geek?" - Dancer.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]