/usr/bin/perl.exe Makefile.PL ~/perl50808

2008-07-08 Thread M W487
In

http://groups.google.com/group/perl.cpan.testers/browse_thread/thread/2329d49c2c2362e7/3320dc4adb32fbac?lnk=gst&q=mw487+gunnar#3320dc4adb32fbac

why is this command given using CPAN::Reporter (Smoking) 1.1556 (producing
an error)

/usr/bin/perl.exe Makefile.PL ~/perl50808

when

/usr/bin/perl.exe Makefile.PL

is called for in the README, and seems to complete fine?

Also,

/usr/bin/perl.exe Build.PL ~/perl50808

seems to be no trouble?

Thanks.


Re: Proposal: set AUTOMATED_TESTING to tester's ID

2008-07-08 Thread Kidney Bingos
On Tue, Jul 08, 2008 at 07:09:34PM +0100, Peter Flanigan wrote:
> 
> I was assuming that chris is a PAUSE id and obtained the email address 
> from the authors page on CPAN. I tried typing chris and CHRIS into the 
> textfield on that page and clicking the SEARCH button, but I received a 
> completely blank page in response
> 

You can pretty much assume that any test report from 'chris' is from me.

Yeah, annoyingly CPANPLUS doesn't include any indication the test report why
an NA is applicable. I have been meaning to get around to submitting a patch to
Jos to enable the inclusion of the output buffer in NA reports if 
AUTOMATED_TESTING
is set.

Cheers,

-- 
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==


pgpfTeUa2rMUA.pgp
Description: PGP signature


Re: Proposal: set AUTOMATED_TESTING to tester's ID

2008-07-08 Thread Peter Flanigan

David Cantrell wrote:


Looks like the NA is being generated because of this in Makefile.PL:
  my $found = 0;
  for (@INC) { if (-f catfile( $_, q(version.pm) )) { $found = 1; last } }
  exit 0 unless ($found);


In which case I have misunderstood. I thought that "exit 0" from a 
Makefile.PL would not generate an NA. So I've learnt something, thank you



which is a rather odd way of checking for version.pm's presence,
especially considering that you then list it in PREREQ_PM.  But in any
case, the NA report is legitimate, as (if I'm right about where it's
coming from :-) your code isn't intended to run on that platform.


A belt and braces approach. Since I "use version; our $VERSION = 
qv(...)" ExtUtils::MakeMaker will fail to extract the version from the 
module if version.pm is not already installed. Older testing platforms 
apparently ignore the configure_requires attribute in the the META.yml



Where did you get that address from?  Here
 is the tool to convert from an
NNTP id to an email address.


I was assuming that chris is a PAUSE id and obtained the email address 
from the authors page on CPAN. I tried typing chris and CHRIS into the 
textfield on that page and clicking the SEARCH button, but I received a 
completely blank page in response


--

Regards


Re: Proposal: set AUTOMATED_TESTING to tester's ID

2008-07-08 Thread Peter Flanigan

David Golden wrote:

I care a lot more about the
ones that *don't* pass... those are the ones that actually help me
improve my code.


Me to, which is why I would like to understand why the module didn't 
pass these three tests.


--

Regards


Re: Proposal: set AUTOMATED_TESTING to tester's ID

2008-07-08 Thread David Cantrell
On Tue, Jul 08, 2008 at 06:18:53PM +0100, Peter Flanigan wrote:
> I have these three NAs;
>   http://nntp.x.perl.org/group/perl.cpan.testers/1811561
>   http://nntp.x.perl.org/group/perl.cpan.testers/1811557
>   http://nntp.x.perl.org/group/perl.cpan.testers/1811555
>
> which do not appear to offer an explanation.

Looks like the NA is being generated because of this in Makefile.PL:
  my $found = 0;
  for (@INC) { if (-f catfile( $_, q(version.pm) )) { $found = 1; last } }
  exit 0 unless ($found);

which is a rather odd way of checking for version.pm's presence,
especially considering that you then list it in PREREQ_PM.  But in any
case, the NA report is legitimate, as (if I'm right about where it's
coming from :-) your code isn't intended to run on that platform.

>  [EMAIL PROTECTED]
>   SMTP error from remote mail server after MAIL
>   FROM:<[EMAIL PROTECTED]>:

Where did you get that address from?  Here
 is the tool to convert from an
NNTP id to an email address.

> So I'd like to put
>   exit 0 if ($ENV{AUTOMATED_TESTING} =~ m{ \A chris \z }imx);
> in the Makefile.PL for this module ...
> 
> What would you suggest?

Well, that would include *any* tester called chris, not just
[EMAIL PROTECTED]  If we were to do that, it should at least be the whole
of the email address used for sending reports.

-- 
David Cantrell | Nth greatest programmer in the world

Anyone willing to give up a little fun for tolerance deserves neither


Re: Proposal: set AUTOMATED_TESTING to tester's ID

2008-07-08 Thread David Golden
On Tue, Jul 8, 2008 at 1:18 PM, Peter Flanigan <[EMAIL PROTECTED]> wrote:
> What would you suggest?

I know that you feel strongly about these NA reports, but my personal
view is that while having them may be annoying if your goal is
perfection from CPAN Testers, the reality is that it really means
little in the long run.  CPAN Testers reports are not a value judgment
of any author -- they are merely facts about one tester's experience
with respect to a distribution.  (I.e, there's nothing to say that any
non-passing grade isn't the fault of the tester and not the author.)

Moreover, selectively disabling testers that submit reports you don't
like isn't really in the spirit of the CPAN Testers project.  I mean,
what's the benefit of having people volunteer to spend their time and
resources to test your code on a variety of platforms if you're only
interested in seeing the ones that pass?  I care a lot more about the
ones that *don't* pass... those are the ones that actually help me
improve my code.

So, my advice would be to just let it go and not worry about it.

Regards,
David


Re: Proposal: set AUTOMATED_TESTING to tester's ID

2008-07-08 Thread Peter Flanigan

I have these three NAs;

http://nntp.x.perl.org/group/perl.cpan.testers/1811561
http://nntp.x.perl.org/group/perl.cpan.testers/1811557
http://nntp.x.perl.org/group/perl.cpan.testers/1811555

which do not appear to offer an explanation. So I emailed Chris (the 
tester) and received this bounce




A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [EMAIL PROTECTED]
SMTP error from remote mail server after MAIL FROM:<[EMAIL PROTECTED]>:
host pkl.net [66.184.117.10]: 550 5.0.0 2003.08.29 SPAM - Mail 
Abuse - Mailserver is blacklisted.




I think it is referring to my ISPs mail server (Demon Internet). So I'd 
like to put


exit 0 if ($ENV{AUTOMATED_TESTING} =~ m{ \A chris \z }imx);

in the Makefile.PL for this module, but currently that wouldn't work. 
Instead I have


exit 0 if ($ENV{PERL5LIB} =~ m{ home/cpan/perl58[123] }mx);

which is a blunt instrument in comparison.

What would you suggest?

--

Regards