Re: [Module::Build] [PATCH] Missing META.yml fields
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2006-03-08 00:17:52
|
On Mar 6, 2006, at 6:04 PM, Randy W. Sims wrote: > Chris Dolan wrote: >> If you use the "dist_name" style of Build.PL instead of >> "module_name", then you need to include the "dist_abstract" field >> too, or you will see the following error when running "Build >> distmeta": >> ERROR: Missing required field 'abstract' for META.yml >> This is very misleading because it's the "dist_abstract" field >> that's missing, not "abstract". The following simple patch >> changes the error message. I've confirmed that with the patch it >> now says: >> ERROR: Missing required field 'dist_abstract' for META.yml >> but I haven't tested any fields other than "abstract". >> Chris >> diff -u -r1.552 Base.pm >> --- lib/Module/Build/Base.pm 4 Mar 2006 03:59:28 -0000 1.552 >> +++ lib/Module/Build/Base.pm 5 Mar 2006 20:45:41 -0000 > > Thanks, applied. > Ideally I think the message would look something like: ERROR: Missing required data 'abstract' for META.yml, please provide 'dist_abstract' field. -Ken |