Re: [Module-build-general] META.yml extraction on CPAN
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-03-14 22:03:54
|
On Thursday, March 13, 2003, at 07:22 PM, Andreas J. Koenig wrote: > Autrijus suggested to me to start extracting the META.yml files as > we're doing for the README. So I did. The first yaml file has been > extracted for Casey West: > > -rw-rw-r-- 1 root root 366 Mar 12 21:42 > poest-0.20030312.readme > -rw-rw-r-- 1 root root 327 Mar 12 21:44 > poest-0.20030312.meta > -rw-rw-r-- 1 root root 14014 Mar 12 21:46 > poest-0.20030312.tar.gz Good idea. > > I realize now that META.yml should contain some protocol.version tag > so that the reader knows which fields he can expect. Good point - I included the "generated_by" field for this purpose, but an independent protocol field would probably serve the need better. > And a spec, what > the file contains and a revision history of the spec to know what a > specific file contains or should contain depending on > protocol.version. And a URL for the spec so that we can point to it. > > OK, a subset of all this will do. I just wrote up http://module-build.sourceforge.net/META-spec.html , see whether that fills the need. It describes the META.yml files as created by Module::Build version 0.16. It's a little informal, but I guess we don't need formality yet. Probably the first revision we'd make is to add a field like "meta_protocol" for specifying the version of the protocol, like you suggested. -Ken |