Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 78184
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: MRSCOTTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: META.yml does not conform to CPAN::Meta::Spec
When using Pinto to manage CPAN packages, CPAN::Meta::Spec fails to read the version attribute from META.yml. Could you please update so it conforms?
So version_from appears to be a valid meta.yml directive, but CPAN::Meta doesn't support it, it requires the version directive to be used. https://metacpan.org/source/DAGOLDEN/CPAN-Meta-2.120921/lib/CPAN/Meta/Validator.pm 95 'version' => { mandatory => 1, value => \&version }, Have you talked to DAGOLDEN about adding support for version_from? There are likely other modules out there which suffer from this same issue.
On Tue Jul 17 17:12:52 2012, PHRED wrote: Show quoted text
> So version_from appears to be a valid meta.yml directive
Where do you see that? I don't see version_from anywhere in the CPAN::Meta::Spec. It might be a valid ExtUtils::MakeMaker parameter though, but that's not the same thing. Show quoted text
> Have you talked to DAGOLDEN about adding support for version_from?
I haven't talked to DAGOLDEN yet, but I'm somewhat doubtful. I believe the META is supposed to describe the distribution independently of the distribution itself. In other words, it should be meaningful without actually having the source code in hand. A version_from directive would contradict that goal. -- Jeffrey Thalhammer Imaginative Software Systems www.imaginative-software.com
Subject: Re: [rt.cpan.org #78184] META.yml does not conform to CPAN::Meta::Spec
Date: Mon, 29 Oct 2012 19:41:39 -0700
To: bug-mod_perl [...] rt.cpan.org
From: Fred Moyer <fred [...] redhotpenguin.com>
On Mon, Oct 29, 2012 at 7:31 PM, Jeffrey Ryan Thalhammer via RT <bug-mod_perl@rt.cpan.org> wrote: Show quoted text
> Queue: mod_perl > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78184 > > > On Tue Jul 17 17:12:52 2012, PHRED wrote:
>> So version_from appears to be a valid meta.yml directive
> > Where do you see that? I don't see version_from anywhere in the > CPAN::Meta::Spec. It might be a valid ExtUtils::MakeMaker parameter > though, but that's not the same thing.
I think my original research was mostly 'version_from is in the Module::Install docs'. I didn't know about CPAN::Meta::Spec Show quoted text
>> Have you talked to DAGOLDEN about adding support for version_from?
> > I haven't talked to DAGOLDEN yet, but I'm somewhat doubtful. I believe > the META is supposed to describe the distribution independently of the > distribution itself. In other words, it should be meaningful without > actually having the source code in hand. A version_from directive would > contradict that goal.
I see your point. It also seems that version_from may be on the way out: http://www.nntp.perl.org/group/perl.module.build/2008/02/msg1239.html http://www.nntp.perl.org/group/perl.module.build/2008/02/msg1231.html I'll see what I can do about moving to 'version'.
Thanks. This is now resolved by r1469135 and r1635427.