Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CPAN::Distribution::reports() prob with CGI.pm

1 view
Skip to first unread message

David Westbrook

unread,
Jan 19, 2009, 9:00:29 PM1/19/09
to cpan-teste...@perl.org
I'm getting an error trying to execute CPAN::Distribution::reports()
for the CGI.pm distro.
There is a http://cpantesters.perl.org/show/CGI.yaml, but apparently
not a CGI.pm.yaml, which 404's ...
Should there be a CGI.pm.yaml? There are dist='CGI' and dist='CGI.pm'
rows in the cpanstats.db database.

~~~~~~~~~~~~~~~~~~~~

cpan[1]> reports LDS/CGI.pm-3.42.tar.gz
CPAN: Storable loaded ok (v2.18)
Going to read /kunden/homepages/12/d93966548/htdocs/.cpan/Metadata
Database was generated on Mon, 19 Jan 2009 21:27:30 GMT
Distribution: L/LD/LDS/CGI.pm-3.42.tar.gz
CPAN: CPAN::DistnameInfo loaded ok (v0.07)
CPAN: LWP loaded ok (v5.820)
CPAN: File::Temp loaded ok (v0.21)
Fetching 'http://cpantesters.perl.org/show/CGI.pm.yaml'...Could not
download 'http://cpantesters.perl.org/show/CGI.pm.yaml': 404

~~~~~~~~~~~~~~~~~~~~

(the context here is that i'm trying to implement the "if at least N
reports" logic for CPAN::Reporter::Smoker::Safer)

thanks,
--david

Barbie

unread,
Jan 20, 2009, 3:03:23 AM1/20/09
to David Westbrook, cpan-teste...@perl.org
On Mon, Jan 19, 2009 at 09:00:29PM -0500, David Westbrook wrote:
> I'm getting an error trying to execute CPAN::Distribution::reports()
> for the CGI.pm distro.
> There is a http://cpantesters.perl.org/show/CGI.yaml, but apparently
> not a CGI.pm.yaml, which 404's ...

I'll set up the symlinks :)

This is one area of CPAN::WWW::Testers I want to change, so that some
distributions that are released with the .pm in the name are
automatically linked to their non .pm name which is used internally.

Cheers,
Barbie.
--
Birmingham Perl Mongers <http://birmingham.pm.org>
Memoirs Of A Roadie <http://barbie.missbarbell.co.uk>


Barbie

unread,
Jan 20, 2009, 3:06:47 AM1/20/09
to David Westbrook, cpan-teste...@perl.org
On Mon, Jan 19, 2009 at 09:00:29PM -0500, David Westbrook wrote:

Ah, we have a problem. The files are all there on www.cpantesters.org,
however:

Note the domain and see James' thread regarding the domains :)

David Westbrook

unread,
Jan 20, 2009, 9:50:13 AM1/20/09
to Barbie, cpan-teste...@perl.org
Ah! I just submitted RT #42566 for CPAN.pm
https://rt.cpan.org/Ticket/Display.html?id=42566

Also, CPAN::Reporter needs a %s/cpantesters.perl.org/www.cpantesters.org/g

And looks like CPAN::Testers needs it too, plus several other url
updates -- stats, wiki, mailing-list (should mention this list)

if those two don't get acknowledged in this thread, i'll hit RT for
them as well.

--david

David Westbrook

unread,
Jan 20, 2009, 10:41:15 AM1/20/09
to Barbie, cpan-teste...@perl.org
found another bad one .. this is using a hacked CPAN.pm to use correct
url, so it's a different root cause -- i'm assuming the "+" in the
dist name has something to do with it ..
http://search.cpan.org/dist/Text-Tabs+Wrap/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cpan[1]> reports Text::Tabs


CPAN: Storable loaded ok (v2.18)
Going to read /kunden/homepages/12/d93966548/htdocs/.cpan/Metadata
Database was generated on Mon, 19 Jan 2009 21:27:30 GMT

Distribution: M/MU/MUIR/modules/Text-Tabs+Wrap-2006.1117.tar.gz


CPAN: CPAN::DistnameInfo loaded ok (v0.07)
CPAN: LWP loaded ok (v5.820)
CPAN: File::Temp loaded ok (v0.21)

Fetching 'http://www.cpantesters.org/show/Text-Tabs+Wrap.yaml'...Could
not download 'http://www.cpantesters.org/show/Text-Tabs+Wrap.yaml':
404

David Golden

unread,
Jan 20, 2009, 11:00:33 AM1/20/09
to David Westbrook, Barbie, cpan-teste...@perl.org
On Tue, Jan 20, 2009 at 9:50 AM, David Westbrook <dwest...@gmail.com>wrote:

> Ah! I just submitted RT #42566 for CPAN.pm
> https://rt.cpan.org/Ticket/Display.html?id=42566
>
> Also, CPAN::Reporter needs a %s/
> cpantesters.perl.org/www.cpantesters.org/g
>
> And looks like CPAN::Testers needs it too, plus several other url
> updates -- stats, wiki, mailing-list (should mention this list)
>
> if those two don't get acknowledged in this thread, i'll hit RT for
> them as well.


CPAN.pm is patched in the repo and will be fixed in the next release.

I'm releasing an update to CPAN::Reporter now -- it looks like it was just
docs.

Test::Reporter has testers.cpan.org in many places -- should that get fixed
now as well? (Barbie -- you implied maybe not at one point.)

-- David

Barbie

unread,
Jan 20, 2009, 2:44:46 PM1/20/09
to David Golden, David Westbrook, cpan-teste...@perl.org

I would suggest changing it now that the website is mostly stable.

I found the two templates which were refering to the old site in the
stats site and have change them. Will update to CPAN/git in a bit. The
wiki is likely to be a data issue, so any old versions will still have
the old site referenced, but where appropriate I'll try and fix the
regular pages. Thanks for highlighting this David (W that is ... too
many Davids! ;))

Barbie

unread,
Jan 20, 2009, 2:47:46 PM1/20/09
to David Westbrook, cpan-teste...@perl.org
On Tue, Jan 20, 2009 at 10:41:15AM -0500, David Westbrook wrote:
> found another bad one .. this is using a hacked CPAN.pm to use correct
> url, so it's a different root cause -- i'm assuming the "+" in the
> dist name has something to do with it ..
> http://search.cpan.org/dist/Text-Tabs+Wrap/

Distributions like this are always going to be troublesome, although
I'll look into why it doesn't show up.

David Golden

unread,
Jan 20, 2009, 3:00:18 PM1/20/09
to Barbie, David Westbrook, cpan-teste...@perl.org
On Tue, Jan 20, 2009 at 2:44 PM, Barbie <bar...@missbarbell.co.uk> wrote:

> On Tue, Jan 20, 2009 at 11:00:33AM -0500, David Golden wrote:
> > On Tue, Jan 20, 2009 at 9:50 AM, David Westbrook <dwest...@gmail.com
> >wrote:
> >
> > Test::Reporter has testers.cpan.org in many places -- should that get
> fixed
> > now as well? (Barbie -- you implied maybe not at one point.)
>
> I would suggest changing it now that the website is mostly stable.
>

Will do.

Do you think this is significant enough to increment versions on the nagbot?

-- David

Barbie

unread,
Jan 20, 2009, 3:25:51 PM1/20/09
to David Golden, David Westbrook, cpan-teste...@perl.org
On Tue, Jan 20, 2009 at 03:00:18PM -0500, David Golden wrote:
> Do you think this is significant enough to increment versions on the nagbot?

Not really, although if you don't do a significant update in the next
couple of months it might be worth updating it.

David Golden

unread,
Jan 20, 2009, 3:27:28 PM1/20/09
to Barbie, David Westbrook, cpan-teste...@perl.org
On Tue, Jan 20, 2009 at 3:25 PM, Barbie <bar...@missbarbell.co.uk> wrote:

> Not really, although if you don't do a significant update in the next
> couple of months it might be worth updating it.
>

I'm hoping that since the "next couple of months" will get us to the QA
Hackathon, then we can see if we're ready to start cutting over to 2.0
instead. :-)

-- David

Barbie

unread,
Jan 20, 2009, 3:52:28 PM1/20/09
to David Golden, David Westbrook, cpan-teste...@perl.org

Good point. That'll be quite a transition so will be a good opportunity
to ensure we establish all the right addresses.

David Cantrell

unread,
Jan 20, 2009, 4:57:50 PM1/20/09
to cpan-teste...@perl.org
Barbie wrote:

> Thanks for highlighting this David (W that is ... too
> many Davids! ;))

FWIW, I updated CPANdeps a couple of days ago to point at the new site.

--
David Cantrell | A machine for turning tea into grumpiness

You are so cynical. And by "cynical", of course, I mean "correct".
-- Kurt Starsinic

0 new messages