[OT] CVS -> SVN Thoughts

2004-12-01 Thread Christopher H. Laco
This is mostly off topic, but I wanted to get thoughts from the 
committers on how they're liking the conversion from CVS to SVN so far. 
What do you really like/hate about it vs. CVS?

I've been toying around with the idea of moving that way at home. I'm 
not to sure I'm keen having to use copy for tagging and such, but maybe 
that's just the CVS brainwashing in me. I do dig the http/WebDAV 
background. It seems a lot easier to give the world read access.

Thanks,
-=Chris


Re: Problem building Apache::Test module on RHEL WS 3.0

2004-12-01 Thread Joe Orton
On Wed, Dec 01, 2004 at 03:46:55PM -0500, Brian McEntire wrote:
...
>   I did a make clean
>   perl Makefile.PL
>   make test
> 
> This time I get a different error message, it appears to success past the 
> original 'nobody' problem. The output is:
> 
> [warning] setting ulimit to allow core files
> ulimit -c unlimited; /usr/bin/perl /tmp/Apache-Test-1.16/t/TEST -bugreport 
> -verbose=0
> APXS (/usr/sbin/apxs) query for SBINDIR failed
> APXS (/usr/sbin/apxs) query for TARGET failed
...

Do you have the httpd-devel package installed? IIRC this failure can 
occur when Apache-Test finds /usr/sbin/httpd but not /usr/sbin/apxs.

I only ever build directly from the source repos not a tarball, and use:

  perl Makefile.PL -apxs /usr/sbin/apxs
  make && ./t/TEST

running as a local user not root (it's simpler that way); this works
fine with the RHEL3 httpd, unless you have enough modules installed that
you hit the dynamic module limit.

Regards,

joe


Re: Problem building Apache::Test module on RHEL WS 3.0

2004-12-01 Thread Stas Bekman
Brian McEntire wrote:
[...]
Invalid command 'TypesConfig', perhaps mis-spelled or defined by a 
module not included in the server configuration
[...]
TypesConfig "/tmp/Apache-Test-1.16/t/conf/mime.types"
Is TypesConfig not recognized by Apache/2.0.46 (the latest Apache that 
comes with RedHat Enterprise Linux Workstation version 3.0)?
It requires mod_mime to be available. Apparently you don't have it 
built-in or available as a module. So we need to enclose it in   block. You can do it manually just to check that 
this is the solution. But after that run:

  t/TEST
and not 'make test', since the latter will overwrite t/conf/httpd.conf.
Let us know whether this did the trick and we will adjust the code.
I thought about exiting the t/conf/httpd.conf file but it says not to 
right at the top.

Also, during make test, it asks where apxs is installed but says, "If 
you don't have it installed it's not a problem. Just press Enter."

I don't know if that is related to this or not, but I did see APXS ... 
failed messages during the make test.
As you can see it actually has found one: /usr/sbin/apxs. Is that a wrong 
apxs?

--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Problem building Apache::Test module on RHEL WS 3.0

2004-12-01 Thread Brian McEntire
Hello!
  I checked the archived mailing lists but didn't find any references to 
this question. I had one hit in Google, but it was someone asking 
basically the same question and there was no answer in the thread. So here 
I go, hope someone can help!

  I first tried to build Apache::Test v1.16 via PERL CPAN. I gave a 
warning message because I was running as root and it needed to drop priv 
to nobody but that meant all dirs needed to be rwx for nobody down to 
.../Apache-Test-1.16/t. The make test process gave an informative 
suggestion that this can be accomplished by moving Apache-Test-1.16 into 
/tmp. I did that and then did a find to chmod all dirs below and including 
Apache-Test-1.16 to 777.

  I did a make clean
  perl Makefile.PL
  make test
This time I get a different error message, it appears to success past the 
original 'nobody' problem. The output is:

[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /tmp/Apache-Test-1.16/t/TEST -bugreport 
-verbose=0
APXS (/usr/sbin/apxs) query for SBINDIR failed
APXS (/usr/sbin/apxs) query for TARGET failed
APXS (/usr/sbin/apxs) query for SYSCONFDIR failed
APXS (/usr/sbin/apxs) query for LIBEXECDIR failed
APXS (/usr/sbin/apxs) query for LIBEXECDIR failed
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx /tmp/Apache-Test-1.16/t
"/usr/bin/perl" -Mlib=lib -MApache::TestRun -e 'eval { 
Apache::TestRun::run_root_fs_test(99, 99, q[/tmp/Apache-Test-1.16/t]) }';

[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/sbin/httpd  -d /tmp/Apache-Test-1.16/t -f 
/tmp/Apache-Test-1.16/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.46 (prefork MPM)

waiting 60 seconds for server to start: .Syntax error on line 92 of 
/tmp/Apache-Test-1.16/t/conf/httpd.conf:
Invalid command 'TypesConfig', perhaps mis-spelled or defined by a module 
not included in the server configuration
[  error]
server has died with status 255 (t/logs/error_log wasn't created, start 
the server in the debug mode)
make: *** [run_tests] Error 143

- - -
I've attached /tmp/Apache-Test-1.16/t/conf/httpd.conf to this e-mail. 
Specifically, line 92 is:

TypesConfig "/tmp/Apache-Test-1.16/t/conf/mime.types"
Is TypesConfig not recognized by Apache/2.0.46 (the latest Apache that 
comes with RedHat Enterprise Linux Workstation version 3.0)?

I thought about exiting the t/conf/httpd.conf file but it says not to 
right at the top.

Also, during make test, it asks where apxs is installed but says, "If you 
don't have it installed it's not a problem. Just press Enter."

I don't know if that is related to this or not, but I did see APXS ... 
failed messages during the make test.

Thanks for any help! If you need anymore details or need to run some 
tests, I'll be happy to.
  -Brian# WARNING: this file is generated, do not edit
# 01: lib/Apache/TestConfig.pm:898
# 02: lib/Apache/TestConfig.pm:916
# 03: lib/Apache/TestConfig.pm:1495
# 04: lib/Apache/TestRun.pm:501
# 05: lib/Apache/TestRun.pm:720
# 06: lib/Apache/TestRun.pm:720
# 07: /tmp/Apache-Test-1.16/t/TEST:50


Usernobody
Groupnobody
ServerName localhost.localdomain:8529
Listen 0.0.0.0:8529

ServerRoot   "/tmp/Apache-Test-1.16/t"
DocumentRoot "/tmp/Apache-Test-1.16/t/htdocs"

PidFile /tmp/Apache-Test-1.16/t/logs/httpd.pid
ErrorLog/tmp/Apache-Test-1.16/t/logs/error_log
LogLeveldebug


TransferLog /tmp/Apache-Test-1.16/t/logs/access_log


ServerAdmin [EMAIL PROTECTED]

#needed for http/1.1 testing
KeepAlive   On

HostnameLookups Off


Options FollowSymLinks
AllowOverride None



StartServers 1
MinSpareThreads  1
MaxSpareThreads  1
ThreadsPerChild  1
MaxClients   2
MaxRequestsPerChild  0



NumServers   1
StartThreads 1
MinSpareThreads  1
MaxSpareThreads  1
MaxThreadsPerChild   2
MaxRequestsPerChild  0



StartServers 1
MinSpareServers  1
MaxSpareServers  1
MaxClients   2
MaxRequestsPerChild  0



StartServers 1
MinSpareServers  1
MaxSpareServers  1
MaxClients   2
MaxRequestsPerChild  0



ThreadsPerChild  50
MaxRequestsPerChild  0



SetHandler server-info



SetHandler server-status



Alias /getfiles-binary-perl /usr/bin/perl
Alias /getfiles-perl-pod /usr/lib/perl5/5.8.0/pod
Alias /getfiles-binary-httpd /usr/sbin/httpd


TypesConfig "/tmp/Apache-Test-1.16/t/conf/mime.types"
Include "/tmp/Apache-Test-1.16/t/conf/extra.conf"



Re: httpd-test pages need to be updated to point to svn not cvs

2004-12-01 Thread Randy Kobes
On Wed, 1 Dec 2004, Stas Bekman wrote:

> Randy Kobes wrote:
[ ... ]
> > However, I just wanted to verify that, to get the
> > changes on the site itself, one must
> >$ ssh cvs.apache.org
> >$ cd /www/httpd.apache.org/test
> >$ svn up
> > Thanks.
>
> It wasn't updated yet, so I did the above and now it's updated.
>
> But for some reason the headers
> License + search site are shifted to the right (wrong level?)

I noticed that too, but that's how it was originally (if I
remember correctly). I could change that, if desired.

-- 
best regards,
randy



Re: FW: Re: Apache::TestRequest + Cookies

2004-12-01 Thread Christopher H. Laco
Stas Bekman wrote:
Christopher H. Laco wrote:
Thanks, Chris, committed with a few small adjustements. You can see 
the commits here:
http://svn.apache.org/viewcvs?view=rev&rev=109277
http://svn.apache.org/viewcvs?view=rev&rev=109279

Thanks. Glad to contribute. It looks like the only change was naming 
the cookies.pl to cookies.pl.PL.  

That was needed to get the path to #!perl right
What cnvention did I miss so I don't make that mistake again?

The only missing thing was to check that CGI and CGI::Cookie were 
available in plan().
Duh. Silly me.
 I moved htdocs/cgi-bin/ => cgi-bin/ and did a few
minor syntax changes. You can see what was applied at the URLs quoted at 
the top of this email.

Now looking forward for docs updates.
Thanks again.



Re: FW: Re: Apache::TestRequest + Cookies

2004-12-01 Thread Stas Bekman
Christopher H. Laco wrote:
Thanks, Chris, committed with a few small adjustements. You can see 
the commits here:
http://svn.apache.org/viewcvs?view=rev&rev=109277
http://svn.apache.org/viewcvs?view=rev&rev=109279

Thanks. Glad to contribute. It looks like the only change was naming the 
cookies.pl to cookies.pl.PL.  
That was needed to get the path to #!perl right
What cnvention did I miss so I don't make 
that mistake again?
The only missing thing was to check that CGI and CGI::Cookie were 
available in plan(). I moved htdocs/cgi-bin/ => cgi-bin/ and did a few 
minor syntax changes. You can see what was applied at the URLs quoted at 
the top of this email.

Now looking forward for docs updates.
Thanks again.
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: httpd-test pages need to be updated to point to svn not cvs

2004-12-01 Thread Stas Bekman
Randy Kobes wrote:
On Tue, 30 Nov 2004, Stas Bekman wrote:

http://httpd.apache.org/test/ is outdated (s/cvs/svn/)... thanks.

I just changed, via svn, the site/docs/test/index.html and
site/xdocs/test/index.xml pages to reflect this.
Thanks Randy
However, I just wanted to verify that, to get the
changes on the site itself, one must
   $ ssh cvs.apache.org
   $ cd /www/httpd.apache.org/test
   $ svn up
Thanks.
It wasn't updated yet, so I did the above and now it's updated.
But for some reason the headers
License + search site are shifted to the right (wrong level?)
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: FW: Re: Apache::TestRequest + Cookies

2004-12-01 Thread Christopher H. Laco
Stas Bekman wrote:
Christopher H. Laco wrote:
Ok, here's my first crack at a quick n dirty cookies test.
The new test is t/cookies.t, and it's supporting server file is
t/htdocs/cgi-bin/cookies.pl.  I figured the extra cgi-bin directory was
good for sanity sake.
I've also included the necessary patches to MANIFEST and extra.conf.in
against A-T 1.16.

Thanks, Chris, committed with a few small adjustements. You can see the 
commits here:
http://svn.apache.org/viewcvs?view=rev&rev=109277
http://svn.apache.org/viewcvs?view=rev&rev=109279

You probably want to get the svn checkout to continue working with the 
latest version:

svn checkout 
http://svn.apache.org/repos/asf/httpd/test/trunk/perl-framework/Apache-Test 
Apache-Test

For docs (where you can find the latest testing.pod) it's:
svn co http://svn.apache.org/repos/asf/perl/modperl/docs/trunk modperl-docs
Thanks. Glad to contribute. It looks like the only change was naming the 
cookies.pl to cookies.pl.PL.  What cnvention did I miss so I don't make 
that mistake again?

-=Chris


Re: httpd-test pages need to be updated to point to svn not cvs

2004-12-01 Thread Randy Kobes
On Tue, 30 Nov 2004, Stas Bekman wrote:

> http://httpd.apache.org/test/ is outdated (s/cvs/svn/)... thanks.

I just changed, via svn, the site/docs/test/index.html and
site/xdocs/test/index.xml pages to reflect this.
However, I just wanted to verify that, to get the
changes on the site itself, one must
   $ ssh cvs.apache.org
   $ cd /www/httpd.apache.org/test
   $ svn up
Thanks.

-- 
best regards,
randy


Re: FW: Re: Apache::TestRequest + Cookies

2004-12-01 Thread Stas Bekman
Christopher H. Laco wrote:
Ok, here's my first crack at a quick n dirty cookies test.
The new test is t/cookies.t, and it's supporting server file is
t/htdocs/cgi-bin/cookies.pl.  I figured the extra cgi-bin directory was
good for sanity sake.
I've also included the necessary patches to MANIFEST and extra.conf.in
against A-T 1.16.
Thanks, Chris, committed with a few small adjustements. You can see the 
commits here:
http://svn.apache.org/viewcvs?view=rev&rev=109277
http://svn.apache.org/viewcvs?view=rev&rev=109279

You probably want to get the svn checkout to continue working with the 
latest version:

svn checkout 
http://svn.apache.org/repos/asf/httpd/test/trunk/perl-framework/Apache-Test 
Apache-Test

For docs (where you can find the latest testing.pod) it's:
svn co http://svn.apache.org/repos/asf/perl/modperl/docs/trunk modperl-docs
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


httpd-test pages need to be updated to point to svn not cvs

2004-12-01 Thread Stas Bekman
http://httpd.apache.org/test/ is outdated (s/cvs/svn/)... thanks.
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: FW: Re: Apache::TestRequest + Cookies

2004-12-01 Thread Christopher H. Laco
Ok, here's my first crack at a quick n dirty cookies test.
The new test is t/cookies.t, and it's supporting server file is
t/htdocs/cgi-bin/cookies.pl.  I figured the extra cgi-bin directory was
good for sanity sake.
I've also included the necessary patches to MANIFEST and extra.conf.in
against A-T 1.16.
-=Chris



a-t-cookie-test.tar.gz
Description: GNU Zip compressed data