mandog has asked for the wisdom of the Perl Monks concerning the following question:
Our (student & wannabe, hobbyest and unemployed) crew wants to get into CVS for a bunch of reasons. Our current method of version control is: "copy the current file to the "old" folder with today's date as a suffix." We want to know enough CVS to start contributing to projects like nms-cgi Our patron at the university wants his students to learn CVS. Often we'll go weeks without working on the code and then forget where we were (no changelog). We don't really have a boundary between production and development code. We're using emacs instead of pico now, but people still don't tell us we are cool.
We're using perl entirely for CGI and system administration for our web site and for the web sites of other organizations.
We've built a couple simple modules. (Now in /usr/local/lib/perl5/site_perl/) and apart from canned scripts, will mostly be doing CGI/DBI stuff.
We have our own machine(s) I'm wondering the best way to set things up and I'm wondering what tips people have for using CVS with Perl & CGI programs.
I'm thinking of modifying our existing setup to be something like:
production space:Developer space would replace:# not in CVS /home/sites/<sitename>/cgi-bin # not in apache webspace & not in CVS # for .ini style files /home/sites/sitename/config/ # In CVS & in Apache webspace, one CVS projects per dir /home/sites/<sitename>/cgi-bin/project_1/ /home/sites/<sitename>/cgi-bin/project_2/ # In CVS out of apache webspace, one CVS project per dir /home/sites/<sitename>/lib/mod_1/ /home/sites/<sitename>/lib/mod_2/
with:/home/sites/<sitename>
/home/people/<person>public_html/
Does this setup make sense?
Anybody got some general CVS / Perl / CGI / CPAN (??) tips?
email: mandog
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CVS CGI & Perl
by abaxaba (Hermit) on Jun 02, 2002 at 21:22 UTC |