Page 1 of 1

[SOLVED] CVS 2 WEB

Posted: Sat Jul 02, 2005 11:31 am
by Sphen001
Hi,

I'm looking to write a script that will update my website directly from a CVS repository. Right now, I'm debating whether to download files from CVS onto my local computer (which is perfectly fine), or should I try and send the files from CVS directly to the web.

Please post your thoughts/comments/etc.

Thanks

Sphen001

Posted: Sat Jul 02, 2005 12:03 pm
by timvw
An interesting project: http://rephlux.sourceforge.net

Posted: Sat Jul 02, 2005 3:37 pm
by Sphen001
Thanks for the link. I'm going to take a look at it. I am going to build this system myself, for the experience, but I'm sure I'll be picking pieces here and there.

BTW, which method do you think is easier, of the two I posted above? Or they both even possible?

Thanks for your time

Sphen001

Posted: Sat Jul 02, 2005 6:00 pm
by McGruff
I'd probably want to install locally, run all the tests, install in the target environment (but not live), run tests again, and finally go live.

Then test one final time, just to be sure.

Posted: Sat Jul 02, 2005 8:16 pm
by Sphen001
Thanks for your advice.

I don't know if I'll have to do all those tests. I'll be downloading from a sf CVS repository (my own), and uploading to the webspace, so it should work right the first time.

Thanks again

Sphen001

Posted: Sat Jul 02, 2005 8:23 pm
by McGruff
There are a lot of configuration variables to trip over moving from one environment to another.

Posted: Sat Jul 02, 2005 8:27 pm
by Sphen001
McGruff wrote:There are a lot of configuration variables to trip over moving from one environment to another.
Very true. I do testing of each file before I commit it, so I know it works properly, and I try and check paths and such.

Thanks

Sphen001