Re: Attribute::Handlers versus ponie

Doug Treder <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
 The CPAN indexer has the wrong distribution for Attribute::Handlers 
(a dependency of Params::Validate and thereby for HTML::Mason).  
Instead, it's "ponie" (an attempt to implement perl5 running on parrot).  
Just wondering if anyone else has actually run into this in reality - it 
appears that Arthur hasn't yet corrected this. 

As you will note, if you go to the CPAN website and check the links, the 
distros are correct.  It's just the CPAN shell that gets it wrong.

I believe this will cause anyone trying to install HTML::Mason over a 
new vanilla perl to fail, or at least to install FAR more than he/she 
intended (20M versus 15k)

Just in case you do get questions from newbies trying to do an install 
from scratch and getting quite confused.  If the owner of 
Params::Validate wants to bug Arthur Bergman again (hint hint), that would be 
cool.... :)

-Doug Treder

p.s.  here's a code snippet that will show the problem (and also let you know when it's fixed):
>> use CPAN;
>> my $object = CPAN::Shell->expandany("Attribute::Handlers");
>> print "Download: " . $object->cpan_file . "\n";



Forwarded Message:

Arthur Bergman wrote:

> I would argue it is a bug in the CPAN indexer, but I am planning to 
> upload a slightly updated A::H module that overrides the one in ponie.
>
> I would also suggest to automating CPAN deployments from an external 
> CPAN source is a good way to burn yourself when some stupid person 
> like me does a misstake like this and then doesn't have time to fix it 
> :).
>
> If you are using a inhouse CPAN mirror that you snapshot, you can just 
> patch the CPAN index file.
>
> Cheers
> Arthur
>
> -----
> CTO @ Fotango Ltd
> +447834716919
> http://www.fotango.com/
>
> On 21 Dec 2004, at 00:19, Doug Treder wrote:
>
>> Hi Randy and Arthur,
>>
>> I'm doing some work with automating CPAN deployments in our 
>> workplace.  I came across something really strange :  the 
>> distribution for "Attribute::Handlers"  should probably be :   
>> A/AB/ABERGMAN/Attribute-Handlers-0.78.tar.gz
>>
>> however using the programmatic interface I instead get:  
>> A/AB/ABERGMAN/ponie-2.tar.gz
>>
>> here's some code to reproduce it:
>>
>> use CPAN;
>> my $object = CPAN::Shell->expandany("Attribute::Handlers");
>> print "Download: " . $object->cpan_file . "\n";
>>
>>  It's particularly annoying only because 
>> Attribute::Handlers is so small, and ponie is *SO BIG*!
>>
>> -Doug Treder
>>
>>
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.