On Fri, Oct 17, 2003 at 10:36:25AM -0700, Stas Bekman wrote: > >>Michael, any idea why the default behavior is to always overwrite > >>META.yml? As more projects will start maintaining it, they all will > >>have to specify NO_META. Shouldn't it be the opposite: overwrite only > >>if explicitly told to?
Hmm, this is the first I've noticed of this conversation so I don't know the context. Yes, it should be overwritten by default because most projects shouldn't even know its there. Part of the reason for slipping META.yml generation quietly into MakeMaker was to rapidly populate CPAN with meta information without making all the CPAN authors aware of it and having them all add a new flag to their module. Now it just happens the next time they upload a new version of their module with a recent MakeMaker. NO_META is definately in the minority. I wish I still had my CPAN Makefile.PL scanning script to throw up some statistics. > >I think most projects would want the META.yml overwritten by default. I > >certainly do in my projects, because it will update all the information > >for me. I don't think many people are maintaining the metadata by hand > >like you are. I agree with Ken, I don't think many people are even aware its exists. > If that's the case, then OK we can use NO_META. But I think just like > Makefile is moved to Makefile.old, the old META.yml should at least be > moved to META.old when overwritten and may be a warning issued? Having META.old might be useful, like "make manifest". But a warning would just be an annoyance as META.yml is overwritten as part of normal operation. It can't tell the difference between a MakeMaker generated META.yml and a user generated one. More to the point, what's the real issue here? Did you edit META.yml by hand and forget to set NO_META and find your changes lost in the next version? In this case maybe a little "this file was created by MakeMaker: do not edit" in the META.yml might make sense. Also, what is/isn't MakeMaker doing that you need to maintain META.yml yourself? -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ "Never underestimate the bandwidth of a mag tape on a bicycle." -- Carl Friedberg in <[EMAIL PROTECTED]>
