Re: META.yml Update Proposal

[email protected] ("Randy W. Sims") Sat, 06 Dec 2003 08:57:17 -0500
Newsgroups perl.cpan.discuss,perl.cpan.metadata
Message-ID <[email protected]>
On 12/4/2003 3:03 PM, Thomas Klausner wrote:
> Hi!
> 
> On Thu, Dec 04, 2003 at 01:53:33PM -0500, Randy W. Sims wrote:
> 
> 
> 
>>Thanks. I've already posted my final proposal to the Module-Build list 
>><http://sourceforge.net/mailarchive/message.php?msg_id=6578408> for Ken 
> 
> 
> I'm not on the Module::Build list so I missed the discussion up so far, but
> I find one important thing missing from your specification:
> 
> There should be a field in META.yml that specifies which version of the
> META.yml-spec the file adheres to.
> 
> While it might be possible to deduce this from the value of 'generated_by',
> I think it's easier for humans and parsers if there is a dedicated field.
> 

Perhaps something like:

=head2 meta-spec

Example:

   meta-spec: <http://module-build.sourceforge.net/META-spec.html> - v1.1

(Spec 1.1) [required] This field indicates the location of the version
of the F<META.yml> document specification being used along with the 
version number.


or should that be:

meta-spec:
     url: <http://module-build.sourceforge.net/META-spec.html>
     version: 1.1


-- 
A little learning is a dang'rous thing;
Drink deep, or taste not the Pierian spring;
There shallow draughts intoxicate the brain;
And drinking largely sobers us again.
                 - Alexander Pope