On 13-02-16 03:39 AM, Dominique Dumont wrote:
Le jeudi 10 janvier 2013 19:34:51,yan...@babyl.dyndns.org a écrit :
> So, yeah, I've embraced the per-dist version, and
>have lived happily ever after...
Well, if you look at that diff [1] provided by CPAN, knowing that only*one*
file was really changed, you'll see a big drawback of this practice.
As Debian packager or Perl modules, I also have similar issues: when I want to
evaluate the changes brought by a new version of a Perl module, debdiff will
report similar cruft.
If the diff added the option '--ignore-matching-lines=version',
wouldn't that take care of a huge chunk of the problem?
... now I'm just thinking wild, wild thoughts, but did anybody at any
time proposed to have, just like $VERSION, a $DISTRIBUTION variable
indicating to which dist the module belongs to? With that, the version
mechanisms could be modified to report the version of the main dist
module if no local version is present. Mind you, this implies either
core CPAN changes and changes of the UNIVERSAL::VERSION behavior, or
sneaky ninja moves, so this paragraph is nothing that could happen
anytime fast. But still, it's an idea.
Joy,
`/anick