pink-mist / Warnings-Version

Load warnings from a specific version of perl
0 stars 0 forks source link

Fails with 5.21 #1

Open andk opened 9 years ago

andk commented 9 years ago

As per subject. Sample fail report:

http://www.cpantesters.org/cpan/report/bf79e47c-8de2-11e4-b701-7a555ef060ad

Diagnostics say "Unknown perl version: 5.21".

So it looks intentional to me. Since at the time the Makefile.PL is running it should already be determined which perl versions are known, it would be nice to stop the whole procedure and let the user know, avoiding cycles and fail reports. Details about how to do that are on this page: http://wiki.cpantesters.org/wiki/CPANAuthorNotes

HTH&&Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)

pink-mist commented 9 years ago

Hi, I've been trying to figure out how to get Dist::Zilla to let me have the Makefile.PL bail out if it's run with a development version of perl, but I have so far been unable to find a solution. The stuff in the CPANAuthorNotes seem to just be about a minimum perl version too, which I already specified in the Dist::Zilla dist.ini, but there seems to be no sane way to make perl dev versions bail out before testing

Thanks for your interest / Andreas Guldstrand (Pink Mist)

On 31 December 2014 at 12:02, andk notifications@github.com wrote:

As per subject. Sample fail report:

http://www.cpantesters.org/cpan/report/bf79e47c-8de2-11e4-b701-7a555ef060ad

Diagnostics say "Unknown perl version: 5.21".

So it looks intentional to me. Since at the time the Makefile.PL is running it should already be determined which perl versions are known, it would be nice to stop the whole procedure and let the user know, avoiding cycles and fail reports. Details about how to do that are on this page: http://wiki.cpantesters.org/wiki/CPANAuthorNotes

HTH&&Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)

— Reply to this email directly or view it on GitHub https://github.com/pink-mist/Warnings-Version/issues/1.

andk commented 9 years ago

Scroll down to

exit 0 unless some_dependency_is_met();

That's just a variation of the theme.

Unfortunately I have no dzil experience, so cannot provide guidance how to do it. Hopefully somebody else will.

Thanks for your quick feedback!

Regards,

andreas