You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2003/12/12 07:51:05 UTC

CPAN indexing on Apache-Test

This may be an unsolveable problem, but when using CPAN.pm
to explore Apache-Test, some strange things arise:

[randy@theoryx5 randy]$ cpan

cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled

cpan> m Apache::Test
Module id = Apache::Test
    DESCRIPTION  Framework for testing Apache modules
    CPAN_USERID  STAS (Stas Bekman <st...@stason.org>)
    CPAN_VERSION 1.06
    CPAN_FILE    G/GE/GEOFF/Apache-Test-1.06.tar.gz
    DSLI_STATUS  Smph (standard,mailing-list,perl,hybrid)
    MANPAGE      Apache::Test - Test.pm wrapper with helpers for testing Apache
    INST_FILE    /usr/local/lib/perl5/site_perl/5.8.1/Apache/Test.pm
    INST_VERSION 1.06

cpan> m Apache::TestRun
Module id = Apache::TestRun
    CPAN_USERID  STAS (Stas Bekman <st...@stason.org>)
    CPAN_VERSION undef
    CPAN_FILE    G/GE/GEOFF/Apache-Test-1.06.tar.gz
    MANPAGE      Apache::TestRun - Run the test suite
    INST_FILE    /usr/local/lib/perl5/site_perl/5.8.1/Apache/TestRun.pm
    INST_VERSION undef

cpan> m Apache::TestRunPerl
Module id = Apache::TestRunPerl
    CPAN_USERID  STAS (Stas Bekman <st...@stason.org>)
    CPAN_VERSION undef
    CPAN_FILE    G/GE/GEOFF/Apache-Test-1.05.tar.gz
    MANPAGE
    INST_FILE    /usr/local/lib/perl5/site_perl/5.8.1/Apache/TestRunPerl.pm
    INST_VERSION undef

cpan> m Apache::TestSmoke
Module id = Apache::TestSmoke
    CPAN_USERID  STAS (Stas Bekman <st...@stason.org>)
    CPAN_VERSION undef
    CPAN_FILE    G/GE/GEOFF/Apache-Test-1.05.tar.gz
    MANPAGE      Apache::TestSmoke - Special Tests Sequence Failure Finder
    INST_FILE    /usr/local/lib/perl5/site_perl/5.8.1/Apache/TestSmoke.pm
    INST_VERSION undef


The difference between the CPAN_USERID and CPAN_FILE user is
perhaps at best confusing, but what's also strange (and
perhaps a problem for users) is that different CPAN_FILE
versions are reported. So, if a user asks to install
Apache::TestRunPerl, version 1.05 will be fetched, while
asking for Apache::TestRun will fetch 1.06.

Might this have to do with the versions of these modules
being undefined?

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: CPAN indexing on Apache-Test

Posted by Stas Bekman <st...@stason.org>.
Randy Kobes wrote:
> This may be an unsolveable problem, but when using CPAN.pm
> to explore Apache-Test, some strange things arise:
> 
> [randy@theoryx5 randy]$ cpan
> 
> cpan shell -- CPAN exploration and modules installation (v1.76)
> ReadLine support enabled
> 
> cpan> m Apache::Test
> Module id = Apache::Test
>     DESCRIPTION  Framework for testing Apache modules
>     CPAN_USERID  STAS (Stas Bekman <st...@stason.org>)
>     CPAN_VERSION 1.06
>     CPAN_FILE    G/GE/GEOFF/Apache-Test-1.06.tar.gz
>     DSLI_STATUS  Smph (standard,mailing-list,perl,hybrid)
>     MANPAGE      Apache::Test - Test.pm wrapper with helpers for testing Apache
>     INST_FILE    /usr/local/lib/perl5/site_perl/5.8.1/Apache/Test.pm
>     INST_VERSION 1.06

You really want to do just that. The rest are helper modules and users 
shouldn't be really looking for others. Same goes for dependencies - you 
always want to PREREQ_PM on Apache::Test and not any other module.

> The difference between the CPAN_USERID and CPAN_FILE user is
> perhaps at best confusing, but what's also strange (and
> perhaps a problem for users) is that different CPAN_FILE
> versions are reported. So, if a user asks to install
> Apache::TestRunPerl, version 1.05 will be fetched, while
> asking for Apache::TestRun will fetch 1.06.
> 
> Might this have to do with the versions of these modules
> being undefined?

Yup, that's the missing version issue I think.

Can you please email cpan-discuss@perl.org and may be CC Andreas and Autrijus, 
reminding that we really need to have group accounts. At the moment it's 
Apache::Test and mod_perl, but there will be many modules released at 
different times by different people. I've asked many times, but I don't think 
anything was done about this. May be if more people start nagging, something 
will happen at the end.

Once this is fixed on PAUSE, CPAN_USERID and CPAN_FILE will agree and point to 
something like MODPERL_MODULES.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org