discuss: Off-topic


Previous by date: 25 Jan 2002 22:42:06 -0000 Off-topic, Matt Wright
Next by date: 25 Jan 2002 22:42:06 -0000 Re: Off-topic, --s+
Previous in thread: 25 Jan 2002 22:42:06 -0000 Off-topic, Matt Wright
Next in thread: 25 Jan 2002 22:42:06 -0000 Re: Off-topic, --s+

Subject: Re: Off-topic
From: Glen S Mehn ####@####.####
Date: 25 Jan 2002 22:42:06 -0000
Message-Id: <20020125221528.GA31046@movienight.net>

what I'd do is script it:

(assuming that you've got ssh with rsa/dsa key auth setup:)

commitupdate.sh:

#!/bin/sh

SERVER=my.cvs.server
$1=FILE
MODULE
export FILE SERVER MODULE


cvs ci $FILE

ssh $SERVER cvs export -D today /path/to/htdocs $MODULE

remember, cvs isn't a build system, just a source control system.

glen


On Fri, Jan 25, 2002 at 10:30:06PM +0000, Matt Wright wrote:
> I know this is off topic but does anyone know how to make a cvs commit trigger a cvs udpate on anotehr machine. My website is in a private cvs and i would like it ot update the live copy whenever i commit the new copies.
> 
> Matt
> 
> -- 
> Matt Wright
> Matt Wright Consulting
> ####@####.####
> http://www.consultmatt.co.uk
> 
> _________________________
> http://list.linuxdoc.org/
> 

-- 
Glen S Mehn		####@####.####
doofdoof.com
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety"	--Benjamin Franklin

Previous by date: 25 Jan 2002 22:42:06 -0000 Off-topic, Matt Wright
Next by date: 25 Jan 2002 22:42:06 -0000 Re: Off-topic, --s+
Previous in thread: 25 Jan 2002 22:42:06 -0000 Off-topic, Matt Wright
Next in thread: 25 Jan 2002 22:42:06 -0000 Re: Off-topic, --s+


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.