On Mon, May 11, 2009 at 08:07:36PM +0100, Paul LeoNerd Evans wrote:

> I was recently pointed in the direction of my kwalitee tests:
>   http://cpants.perl.org/author/PEVANS
> They all fail for not having a README file or a LICENSE.

After a few months, I came to the conclusion that the CPANTS game isn't
worth bothering with.  My time is better spent writing code, improving
my test coverage, improving my portability, and drinking beer than it is
with silly things like that.

> I was wondering, since I have e.g. the following Build.PL:
> 
>    module_name => 'IO::Async',
>    ...
>    license => 'perl',
> 
> surely Module::Build ought to be able to automatically satisfy both
> these conditions?
> 
>  * Take the module given by module_name (or some other named one), run it
>    through pod2txt >README

I don't think that's what README is for.  There's no sense in
duplicating the documentation.  README is where you put the instructions
on how to build and install your software.

>  * Look up the named license from a standard set of default ones and
>    print it to >LICENSE
> Are either of those doable automatically?

That could be a reasonable thing to do, but even then you still have
problems with how to represent dual-licenced code.

-- 
David Cantrell | A machine for turning tea into grumpiness

          All praise the Sun God
          For He is a Fun God
          Ra Ra Ra!

Reply via email to