David Cantrell raises this edge case in CPAN::Reporter:

> The distribution name 'Sendmail_M4.0.27.tar.gz' does not appear to be
> formatted according to CPAN tester guidelines. Perhaps it is not a
> normal CPAN distribution.

How do you think we should handle this case?  Right now CPAN::Reporter
doesn't send reports unless the distribution tarball matches:

   qr/(.+)([\-\_])(v?\d.*)(\.(?:tar\.(?:gz|bz2)|tgz|zip))$/;

This was added at Barbie's suggested based on the use of this regex in YACSmoke.

We could make the separator optional:

   qr/(.+)([\-\_]?)(v?\d.*)(\.(?:tar\.(?:gz|bz2)|tgz|zip))$/;

Alternatively, we could just confirm that the distribution appears to
be a tarball and hope that's a valid distribution and that the CPAN
Testers architecture can parse out a dist-name and version.

Any ideas?

David


---------- Forwarded message ----------
From: David Cantrell <[EMAIL PROTECTED]>
Date: Oct 3, 2007 7:45 PM
Subject: CPAN::Reporter bug^Wweird edge case
To: [EMAIL PROTECTED]


I don't suppose this is really a bug, but FYI ...


It looks like a fairly normal (if very poor quality) distribution to me.

http://search.cpan.org/~cml/Sendmail_M4.0.27/

--
David Cantrell | Godless Liberal Elitist

    All children should be aptitude-tested at an early age and,
    if their main or only aptitude is for marketing, drowned.

Reply via email to