[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
/usr/bin/make install
else
echo "Export failed."
fi
$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.
address@hidden http://anthill.echidna.id.au/~jenn/
- Re: Tag locking change, (continued)
- Re: Tag locking change, Paul Sander, 2002/10/08
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change, Mike Ayers, 2002/10/09
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change, Adam Bregenzer, 2002/10/09
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change, Adam Bregenzer, 2002/10/09
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change, Adam Bregenzer, 2002/10/09
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change,
Jenn Vesperman <=
- Re: Tag locking change, Jenn Vesperman, 2002/10/09
- Re: Tag locking change, Mike Ayers, 2002/10/09
- Re: Tag locking change, Larry Jones, 2002/10/09
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change, Paul Sander, 2002/10/09
- Re: Tag locking change, Greg A. Woods, 2002/10/09
- Re: Tag locking change, Paul Sander, 2002/10/09
- Re: Tag locking change, Larry Jones, 2002/10/10
- Re: Tag locking change, Paul Sander, 2002/10/10
Re: Tag locking change, Larry Jones, 2002/10/07