Re: Apache::Resource needs to be released seperately to the CPAN

[prev] [thread] [next] [Date index for 2004/12/13]

From: Stas Bekman
Subject: Re: Apache::Resource needs to be released seperately to the CPAN
Date: 16:01 on 13 Dec 2004
Randal L. Schwartz wrote:
>>>>>>"Stas" == Stas Bekman <stas@xxxxxx.xxx> writes:
> 
> 
> Stas> Apache::Resource lives in mod_perl-1.x and mod_perl-2.x, and so do
> Stas> many other modules with the same names. So this is not a problem of
> Stas> Apache::Resource only.
> 
> This is where you've made the mistake though.  There is precisely
> *one* Apache::Resource namespace.  You must decide whether it is
> 
>   (a) always bundled only with mod_perl1
>   (b) always bundled only with mod_perl2
>   (c) only available in the CPAN

There is no mistake here, Randal. The module works exactly the same under 
both generation on the user interface. But the two are different internally.

> If you start bundling different versions with different CPAN releases,
> you *will* get into trouble, because I might want to install different
> CPAN releases, and one will override the other.
> 
> Please fix this.  It's fixable within the current scheme.  Remove
> Apache::Request from mod_perl1... release it separately, and make
> mod_perl2 *depend* on it.  The mechanisms are already in place.
> Don't ask for the mechanism to change.

It's a part of the distribution and it's not going to have a new package 
on CPAN. We have enough work to do already.

> Or, if it has to be different for mod_perl2, then call it Apache2::Request
> or something.

Sorry, Randal, but please read the archives for the discussion of this 
proposal which was discussed here and on the dev list like 10 times. In 
short this is not going to happen. If a module Apache::Foo works the same 
way for users but its internals are different, there is no need to make 
user's life hard changing their code, just because PAUSE + CPAN/CPANPLUS 
are not willing to deal with reality. May be if enough people scream it'll 
finally get fixed.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Apache::Resource needs to be released seperately to the CPAN
merlyn (Randal L. Schwartz) 02:06 on 13 Dec 2004

Re: Apache::Resource needs to be released seperately to the CPAN
merlyn (Randal L. Schwartz) 15:53 on 13 Dec 2004

Re: Apache::Resource needs to be released seperately to the CPAN
Stas Bekman 16:01 on 13 Dec 2004

Re: Apache::Resource needs to be released seperately to the CPAN
merlyn (Randal L. Schwartz) 16:04 on 13 Dec 2004

Re: Apache::Resource needs to be released seperately to the CPAN
merlyn (Randal L. Schwartz) 16:55 on 13 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52