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.
| [reply] |
|
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.
| [reply] |
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.
| [reply] |
|
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?
| [reply] |
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]
| [reply] [d/l] |
|
| [reply] |
|
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.
| [reply] |
|
|