Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-31 Thread Stas Bekman
Joshua Hoblitt wrote: On Mon, Dec 27, 2004 at 12:10:47PM -0500, Perrin Harkins wrote: The real significant issue to address, IMO, has to do with CPAN's indexing of the Apache:: modules common to both mp1 and mp2 core distros, because those packages set the underlying apache[12] architecture. That'

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-31 Thread Joshua Hoblitt
On Mon, Dec 27, 2004 at 12:10:47PM -0500, Perrin Harkins wrote: > > The real significant issue to address, IMO, has to do with CPAN's > > indexing of the Apache:: modules common to both mp1 and mp2 core > > distros, because those packages set the underlying apache[12] > > architecture. > > That's

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-29 Thread Stas Bekman
this should be accomplished by a standard mechanism of: META.yml: generation: 2.2 I don't really see how asking for "Apache::Foo, generation 2.2" is any easier than asking for "Apache2_2::Foo." It seems like a purely aesthetic distinction. Not it you have to type Apache2_2::Foo all the time. If y

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread Joe Schaefer
"Perrin Harkins" <[EMAIL PROTECTED]> writes: [...] > Are you saying that using names like "Apache5::" would be a problem > because of calls to class methods? Yup, I'm saying version numbers don't belong in the actual source code (package names, @ISA, whatever), for basically all the same re

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread Perrin Harkins
Joe Schaefer said: >> Sure they do, when they change the API significantly: SQLite2, Gtk2, >> libxml2. Separate API, manpages, headers, etc. > > Not quite. There's a difference between appending a version number > to library name, and embedding a version number in the function names. > The former

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread Joe Schaefer
"Perrin Harkins" <[EMAIL PROTECTED]> writes: > Stas Bekman said: >> In fact Perrin gave a perfect counter-example, while looking for an >> example. The fact is C libraries *do not* embed version numbers in their >> API. > > Sure they do, when they change the API significantly: SQLite2, Gtk2, > lib

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread Perrin Harkins
Stas Bekman said: > In fact Perrin gave a perfect counter-example, while looking for an > example. The fact is C libraries *do not* embed version numbers in their > API. Sure they do, when they change the API significantly: SQLite2, Gtk2, libxml2. Separate API, manpages, headers, etc. > Perl has

Re: ModPerl::MM (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 8:17 AM, Stas Bekman wrote: Why not? I'm not familiar with Module::Build, but doesn't it make possible to subclass itself? Of course ModPerl::MB is only needed if there are 3rd party mp2 modules that use M::B. Are there any? May be David could write a skeleton for a dummy mod

Re: ModPerl::MM (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-28 Thread Stas Bekman
Geoffrey Young wrote: at any rate, it's a big win for people writing mp2 stuff for CPAN, and I can see how M::B folks could take advantage of a similar tool. however, stas is right, that tool should be distributed with mp2 core so that developers have access to it. of course, once that's done we

ModPerl::MM (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-28 Thread Geoffrey Young
David Wheeler wrote: > On Dec 27, 2004, at 9:58 PM, Stas Bekman wrote: > >> I think all you need to do is to write an equivalent of WriteMakefile >> (and some other bits). The rest of the stuff in it, is a painful >> exercise of overriding ExtUtils::MakeMaker MY:: methods. > > > You make it so

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread Stas Bekman
David Wheeler wrote: On Dec 27, 2004, at 9:58 PM, Stas Bekman wrote: I think all you need to do is to write an equivalent of WriteMakefile (and some other bits). The rest of the stuff in it, is a painful exercise of overriding ExtUtils::MakeMaker MY:: methods. You make it sound so appealing. I c

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread David Wheeler
On Dec 27, 2004, at 9:58 PM, Stas Bekman wrote: I think all you need to do is to write an equivalent of WriteMakefile (and some other bits). The rest of the stuff in it, is a painful exercise of overriding ExtUtils::MakeMaker MY:: methods. You make it sound so appealing. I can't wait! But serious

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
David Wheeler wrote: On Dec 27, 2004, at 9:09 PM, Stas Bekman wrote: You mean Apache::TestMB. Yeah, that ole thing. :-) I know someone who's name is David who can easily write a patch for this. That bastard is too lazy to work on it. ;-) Where is the bucket with cold water? wait, it's full of sno

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
Joe Schaefer wrote: Stas Bekman <[EMAIL PROTECTED]> writes: [...] I'm not against from hiding mp2 from index. I just don't understand how does it make the mp2.0 release any better? "Hey, modperl 2.0 is available, but you can't get it from CPAN using the familiar tools. Hiding it entirely isn

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Joe Schaefer
Stas Bekman <[EMAIL PROTECTED]> writes: [...] > I'm not against from hiding mp2 from index. I just don't > understand how does it make the mp2.0 release any better? > >"Hey, modperl 2.0 is available, but you can't get it > from CPAN using the familiar tools. Hiding it entirely isn't wh

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread David Wheeler
On Dec 27, 2004, at 9:09 PM, Stas Bekman wrote: You mean Apache::TestMB. Yeah, that ole thing. :-) I know someone who's name is David who can easily write a patch for this. David, it should really be: ModPerl::MB and Apache::TestMB should use it. Of course ModPerl::MB doesn't exist yet. That b

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
Stas Bekman wrote: David Wheeler wrote: On Dec 27, 2004, at 7:36 AM, Geoffrey Young wrote: the only kink here would be third-party CPAN modules for only mp2 - those are _required_ to use ModPerl::MM::WriteMakefile (which knows to install into Apache2/ if that's where mp2 was installed) instead of

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
David Wheeler wrote: On Dec 27, 2004, at 7:36 AM, Geoffrey Young wrote: the only kink here would be third-party CPAN modules for only mp2 - those are _required_ to use ModPerl::MM::WriteMakefile (which knows to install into Apache2/ if that's where mp2 was installed) instead of ExtUtils::MakeMaker:

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
Joe Schaefer wrote: Stas Bekman <[EMAIL PROTECTED]> writes: Joe Schaefer wrote: My only gripe with the mp2 release candidates is that I would have liked to see a few production mp2 releases on CPAN before its mp1 indexing starts to disappear. Sure, you can ask Andreas to not index mp2 and any othe

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread David Wheeler
On Dec 27, 2004, at 7:36 AM, Geoffrey Young wrote: the only kink here would be third-party CPAN modules for only mp2 - those are _required_ to use ModPerl::MM::WriteMakefile (which knows to install into Apache2/ if that's where mp2 was installed) instead of ExtUtils::MakeMaker::WriteMakefile. wh

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Joe Schaefer
Stas Bekman <[EMAIL PROTECTED]> writes: > Joe Schaefer wrote: >> My only gripe with the mp2 >> release candidates is that I would have liked to see a few production >> mp2 releases on CPAN before its mp1 indexing starts to disappear. > > Sure, you can ask Andreas to not index mp2 and any other 3r

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
Joe Schaefer wrote: My only gripe with the mp2 release candidates is that I would have liked to see a few production mp2 releases on CPAN before its mp1 indexing starts to disappear. Sure, you can ask Andreas to not index mp2 and any other 3rd party modules. But why making mp2 users suffer? I s

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
Geoffrey Young wrote: Perrin Harkins wrote: however, it's not as simple as renaming everything Apache2::*. why? it just doesn't scale well. for example, there are _already_ compat issues between mod_perl for Apache 2.1/2.2 and Apache2.0, so right away we would need Apache2::* for modules that us

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Joe Schaefer
Geoffrey Young <[EMAIL PROTECTED]> writes: > Perrin Harkins wrote: >>>however, it's not as simple as renaming everything Apache2::*. why? it >>>just doesn't scale well. for example, there are _already_ compat issues >>>between mod_perl for Apache 2.1/2.2 and Apache2.0, so right away we would >>

CPAN versioning (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-27 Thread Geoffrey Young
changing topics... > I was tossing around the idea of a new "api version" global. something like > > our $API_VERSION = 2.2; > > and then > > $class->VERSION(2.2); blarg, that was supposed to be $class->API_VERSION(2.2) but hopefully everyone understood that :) > > then CPAN (and r

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Geoffrey Young
Perrin Harkins wrote: >>however, it's not as simple as renaming everything Apache2::*. why? it >>just doesn't scale well. for example, there are _already_ compat issues >>between mod_perl for Apache 2.1/2.2 and Apache2.0, so right away we would >>need Apache2::* for modules that use the Apache

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Perrin Harkins
> however, it's not as simple as renaming everything Apache2::*. why? it > just doesn't scale well. for example, there are _already_ compat issues > between mod_perl for Apache 2.1/2.2 and Apache2.0, so right away we would > need Apache2::* for modules that use the Apache 2.0 API and Apache2.2:

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Perrin Harkins
> The real significant issue to address, IMO, has to do with CPAN's > indexing of the Apache:: modules common to both mp1 and mp2 core > distros, because those packages set the underlying apache[12] > architecture. That's what I'm saying -- don't fix it. Tell people they need to keep two perl in

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Joe Schaefer
"Perrin Harkins" <[EMAIL PROTECTED]> writes: [...] > I'm not wild about the "use Apache2" solution either, but I just don't use > it. Wouldn't it be easier Easier than what? Right now mp2 is supposed to autodetect a prior mp1 install and adjust accordingly. I don't know how parallel installa

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Perrin Harkins
> 1) expecting people to not have modperl1 for a significant time >following the modperl2 release, like everyone would "upgrade >tomorrow" thus trivializing the overlap issue. I don't see how there's more of an overlap issue with mod_perl than any other module. What do I do when I want to

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Stas Bekman
Geoffrey Young wrote: I don't think we expect CPAN to grok Apache2, just the local filesystem and @INC. but you're right, the entire perldoc/CPAN/@INC thing is a real issue. don't forget that we supply mp2doc which works around this issue. what I think really needs to happen is that there should b

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Geoffrey Young
> I *want* modperl to succeed. I *want* modperl2 to succeed. good :) > I believe > Stas has made two significant errors in this process, however: > > 1) expecting people to not have modperl1 for a significant time >following the modperl2 release, like everyone would "upgrade >tomorrow

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Randal L. Schwartz
> "Geoffrey" == Geoffrey Young <[EMAIL PROTECTED]> writes: Geoffrey> I can't say how disappointed I am in this post, and your Geoffrey> behavior in general here. the fact is that this is a Geoffrey> complex issue, for developers and users alike, but all you Geoffrey> have done to help is thro

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread Geoffrey Young
Randal L. Schwartz wrote: >>"Stas" == Stas Bekman <[EMAIL PROTECTED]> writes: > > > Stas> My submission to /.org made it to the Apache section: > Stas> > Stas> It's about asking to help testing the mp2-RCs. > > Oh goo

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-26 Thread Dan Brian
Stas> My submission to /.org made it to the Apache section: Stas> Stas> It's about asking to help testing the mp2-RCs. Oh good. Another place to post my "use Apache2 considered harmful" rant...

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-26 Thread Randal L. Schwartz
> "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes: Stas> My submission to /.org made it to the Apache section: Stas> Stas> It's about asking to help testing the mp2-RCs. Oh good. Another place to post my "use Apache2 c

Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-26 Thread Stas Bekman
My submission to /.org made it to the Apache section: It's about asking to help testing the mp2-RCs. -- __ Stas BekmanJAm_pH --> Just Another mod_