RE: [OTish] Version Control?

2002-10-30 Thread Hsiao, Chang-Ping
CVS is easy to use but confusing at first.
Once you get used to it, you should not complain.

I don't quite get your saying "I don't however feel that the organizational
logic of a websites code base fits well into the CVS paradigm."  Isn't your
files hierarchical?  If so, why is CVS not fitting your purpose?

Chang-Ping Hsiao

-Original Message-
From: Richard Clarke [mailto:ric@;likewhoa.com]
Sent: Wednesday, October 30, 2002 1:09 PM
To: [EMAIL PROTECTED]
Subject: [OTish] Version Control?


Does anyone in the list use any kind of version control (e.g. CVS) for 
the perl/template codebase of their website?
Now that my code base is growing I feel the increasing need to provide 
better version/backup control than my current hourly crontab tar.
I don't however feel that the organizational logic of a websites code 
base fits well into the CVS paradigm. Am I being to short sighted in 
this assumption?
Does anyone have any recommended method? I don't use version numbers at 
all? Does anyone?

Richard.


.



RE: [OTish] Version Control?

2002-10-30 Thread Hsiao, Chang-Ping
> This could be the root of my reservations.

Why do you think people always talk about re-organize?  :-)

> Indeed, I don't get what I'm saying either.
> My organisation is something like (slightly over-simplified),
> 
> _lib/Example/Control/section_a.pm
> _lib/Example/Control/section_b.pm
> _lib/Example/Control/section_c.pm
> _lib/Example/Config/section_a.pm
> _lib/Example/Config/section_b.pm
> _lib/Example/Config/section_c.pm
> _lib/Example/Model/section_c.pm
> _lib/Example/Model/section_c.pm
> _lib/Example/Model/section_c.pm
> _tmpl/section_a/view1.html
> _tmpl/section_a/view2.html
> _tmpl/section_a/view3.html
> _tmpl/section_b/view1.html
> _tmpl/section_b/view2.html
> _tmpl/section_b/view3.html
> _tmpl/section_c/view1.html
> _tmpl/section_c/view2.html
> _tmpl/section_c/view3.html
> 
> I though CVS was more suited for something which looks more like
> _lib/Example/Section_a/Control
> _lib/Example/Section_a/Model
> _lib/Example/Section_a/View/1
> _lib/Example/Section_a/View/2
> _lib/Example/Section_a/View/3
> etc
> 
> i.e. more suited to a "procedural" orangisation than an "object" 
> organisation

In fact, CVS doesn't complain about how you organize your files.  As long as
they are in directories, CVS seems to work fine!  Of course your
organization needs to fit your needs -- for you to easily find what you
want, but that's out of the scope of the CVS discussion.

Chang-Ping


.



[mod_perl2]

2002-11-04 Thread Hsiao, Chang-Ping
All:

I am trying to install mod_perl 2 (1.99_07), but am seeing the
following error.  From the error_log file under t/logs/, it seems like the
mkdir being rejected.  Meanwhile, when I tried it again, I don't get the
error_log file anymore so that I cannot attach the error in the log file.

Did anyone have the same problem before?  How may I solve it?

Thank you for your input.

Chang-Ping Hsiao


.



RE: [mod_perl2]

2002-11-04 Thread Hsiao, Chang-Ping
I did the same -- creating the directory manually, but it didn't work for
me.  ?:-(

Thanks for your help!  :-)

Chang-Ping

> -Original Message-
> From: Sumitro Chowdhury [mailto:sumitrochow@;yahoo.com]
> Sent: Monday, November 04, 2002 3:26 PM
> To: Hsiao, Chang-Ping
> Cc: [EMAIL PROTECTED]
> Subject: Re: [mod_perl2]
> 
> 
> I had the same problem. I simply created the necessary
> directory manually and ran "make test" again.
> Worked with out problems.
> 
> Good Luck
> Sumitro Chowdhury.
> 
> --- "Hsiao, Chang-Ping" <[EMAIL PROTECTED]> wrote:
> > All:
> > 
> > I am trying to install mod_perl 2 (1.99_07), but am
> > seeing the
> > following error.  From the error_log file under
> > t/logs/, it seems like the
> > mkdir being rejected.  Meanwhile, when I tried it
> > again, I don't get the
> > error_log file anymore so that I cannot attach the
> > error in the log file.
> > 
> > Did anyone have the same problem before?  How may I
> > solve it?
> > 
> > Thank you for your input.
> > 
> > Chang-Ping Hsiao
> > 
> > 
> > .
> 
> 
> __
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 


.



RE: [mod_perl2]

2002-11-04 Thread Hsiao, Chang-Ping
> -Original Message-
> From: Randy Kobes [mailto:randy@;theoryx5.uwinnipeg.ca]
> Sent: Monday, November 04, 2002 3:44 PM
> To: Hsiao, Chang-Ping
> Cc: 'Sumitro Chowdhury'; [EMAIL PROTECTED]
> Subject: RE: [mod_perl2]
> 
> 
> On Mon, 4 Nov 2002, Hsiao, Chang-Ping wrote:
> 
> > I did the same -- creating the directory manually, but it 
> didn't work for
> > me.  ?:-(
> > 
> > Thanks for your help!  :-)
> > 
> > Chang-Ping
> 
> Is it a problem with permissions, in that you're trying to create
> a directory you don't have permission to do? Try starting with a

It turns out to be a "Yes"!
I am using "root" to work on this mod_perl make test, but for some
reason, the test suite doesn't allow me to use this user (might have setuid
in the script).  Therefore, I tried to change mode to 777, and now it works!
Of course this is after I manually "touched"
/tmp/mod_perl-1.99_07/t/htdocs/perlio/test.

> fresh install, and send the relevant error messages when the
> failure occurs. It's very hard to guess at what point this might
> fail, and for what reason ...

You are right on this!  Totally agree with you.  Without the error
message, it's almost impossible to know where to start trouble shooting.

Thanks for all your help!!

Chang-Ping


.



RE: [mp2] Documentation/LogHandler question

2002-12-04 Thread Hsiao, Chang-Ping
> p.s. Geoff, we need a short acronym for your book so it's 
> easy to refer 
> to it, (a new eagle), I've called it R&W (Red&White), if you have a 
> better idea, please suggest.

Right, an animal is much easier to remember.  Wish it had one on its
cover like books from O'reilly.


.