[SOLVED] CVS 2 WEB

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Sphen001
Forum Contributor
Posts: 107
Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver

[SOLVED] CVS 2 WEB

Post 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
Last edited by Sphen001 on Tue Jul 12, 2005 9:28 pm, edited 1 time in total.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

An interesting project: http://rephlux.sourceforge.net
Sphen001
Forum Contributor
Posts: 107
Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver

Post 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
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post 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.
Sphen001
Forum Contributor
Posts: 107
Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver

Post 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
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

There are a lot of configuration variables to trip over moving from one environment to another.
Sphen001
Forum Contributor
Posts: 107
Joined: Thu Mar 10, 2005 12:24 pm
Location: Land of the Beaver

Post 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
Post Reply