Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

CPAN Testers

by Bod (Parson)
on May 30, 2023 at 21:46 UTC ( [id://11152537]=perlquestion: print w/replies, xml ) Need Help??

Bod has asked for the wisdom of the Perl Monks concerning the following question:

I do hope that CPAN Testers hasn't gone the way of CPAN Ratings...

I uploaded AI::Embedding to PAUSE over 10 hours ago and it is not appearing in CPAN Testers. Although the results of previously tested modules are still there.

This node reported a previous problem but then reported it as resolved
[OT] cpantesters.org is playing hard to get.

Replies are listed 'Best First'.
Re: CPAN Testers
by pryrt (Abbot) on May 30, 2023 at 22:20 UTC
    Over 10 hours

    The main CPAN testers doesn't refresh its results very often. For new modules within the first 24-48 hours, I look in the fast-matrix ("log.txt view") instead: http://fast-matrix.cpantesters.org/?dist=AI-Embedding says there are two passing results under OpenBSD so far for your v0.1_1.

    And your release is a development release, so it wouldn't surprise me if privately-run cpantesters automation de-prioritized testing of a dev-release compared to an official release of all the other dozens or hundreds of releases from the past 24 hours.

      For new modules within the first 24-48 hours...

      Thanks for that. The PAUSE email said to expect results in "an hour or so" - so that's what I was expecting...

      And thanks for the link. I wasn't aware of the fast-matrix.

      This now says 1 Fail :(
      Is there a way to find out what the fail actually was? - remembered and found it

      I have found two bugs in the code after installing the module properly from CPAN plus an error in the POD. These have been corrected and a new method added this evening. So there will be another development release uploaded tomorrow.

Re: CPAN Testers
by ikegami (Patriarch) on May 31, 2023 at 03:32 UTC

    There are some failing tests now. You declared JSON::PP as a dependency, but you are using JSON.

      Yes...I spotted that...
      This is exactly why CPAN Testers is so invaluable...I have JSON installed and had wrongly assumed it was core.

      So I have to make a call whether to use JSON or JSON::PP
      At first I thought JSON because it will default to JSON::XS if available. But then I reasoned that JSON::PP would be better because it is core and, in this module, it will only ever handle modest JSON objects after an HTTP call so speed is not a massive factor. So better to go for a core module at the possible expense of a little speed.

      Is that logic sensible for this choice?

Re: CPAN Testers
by choroba (Cardinal) on May 30, 2023 at 21:57 UTC
    I don't even see the module itself in CPAN. Have you received the e-mail confirming it's been indexed by PAUSE?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      Have you received the e-mail confirming it's been indexed by PAUSE

      Yes - nearly 11 hours ago!

      Google has it listed in search results and it is here

        Thanks for the link - it wasn't showing up in the main metacpan search. That is because you appear to have uploaded 2 releases within an hour of each other, one with version 0.1_1 and the other, apparently previous one, without any version info at all (and which has various other issues too). Since neither version number is a valid non-dev version it won't appear in the search results.

        Always ensure that the dist you upload has a valid version number otherwise you will encounter troubles like this.

        I would further recommend always uploading a non-dev release first. This should ensure the indexing and claim the namespace. If you start with version 0.00, it should be very clear to all users that this is the first release and unlikely to be perfect. Subsequent dev releases can address the issues there will doubtless be in this first release.

        HTH.


        🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11152537]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found