develooper Front page | perl.module-authors | Postings from October 2008

Re: Integrating license related things of CPAN

Thread Previous | Thread Next
From:
Eric Wilhelm
Date:
October 22, 2008 11:53
Subject:
Re: Integrating license related things of CPAN
Message ID:
200810221152.27471.ewilhelm@cpan.org
# from Paul LeoNerd Evans
# on Wednesday 22 October 2008:

>>I think the tools
>> should not create a distribution without a valid license key.
>> Obviously they should keep installing modules without a
>> license in META.yml.
>
>I think an outright failure for what is ultimately a non-technical
>reason, is not a good behaviour. It could warn loudly, but I don't
>think it should completely fail to build. That would get annoying in
>sitautions when you want to Just Do It.

If the field is required in META.yml, then ACTION_distmeta should croak 
if it is not defined.

This is not a 'build' failure.  This is throwing an error during 'build 
dist'.

While that might be annoying (once -- for the author), the tool can't 
get around that if it is a required field -- because any other behavior 
wouldn't comply with the META.yml spec.

--Eric
-- 
"...the bourgeoisie were hated from both ends: by the proles, because
they had all the money, and by the intelligentsia, because of their
tendency to spend it on lawn ornaments."
--Neal Stephenson
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About