Re: [Module-build-general] More version info in META.yml
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-03-08 18:15:25
|
On Thursday, March 6, 2003, at 09:58 AM, sc...@po... wrote: > I was talking with Andreas last night about the META.yml idea. He > mentioned > that it would be useful for PAUSE if in addition to having just the > version # for the whole distribution, it also had the version # for all > .pm files in the dist. That way PAUSE wouldn't have to check itself > (involving some gymnastics to make it safe). > > At our end, its pretty simple. We just run the moral equivalent of > ExtUtils::MakeMaker->parse_version on each .pm file and encode that, > something like: > > modules: > Module::Build: 0.16 > Module::Build::Base: > Module::Build::Compat: 0.02 > ...etc... > > Thoughts? > I think that makes sense. A couple of questions, though: 1) Would this be better in a separate file like VERSIONS or something? Probably not, but I just wanted to throw out the idea. The list could get pretty big for some distributions. Maybe that's okay. 2) What about .pm files that contain multiple packages? Should those packages be included too, like the PAUSE namespace indexer does? -Ken |