Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 46150
Status: open
Priority: 0/
Queue: Module-Build

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

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



Subject: Module::Build generates YAML that is unparsable by Parse::CPAN::Meta
Separate to any issues about whether M:B generates correct META.yml structure, this bug is to report that M:B allows the generation of POD that is unparsable by Parse::CPAN::Meta. That is, it generates YAML that does not fall within the "YAML Tiny" subset of YAML. In particular, M:B needs to ensure that when it generates YAML it serialises any objects that appear in the tree to be dumped. Anything that M:B doesn't know how to serialise should throw an error.
Subject: Re: [rt.cpan.org #46150] Module::Build generates YAML that is unparsable by Parse::CPAN::Meta
Date: Sun, 17 May 2009 07:04:38 -0400
To: bug-Module-Build [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Sun, May 17, 2009 at 5:43 AM, Adam Kennedy via RT <bug-Module-Build@rt.cpan.org> wrote: Show quoted text
> Separate to any issues about whether M:B generates correct META.yml > structure, this bug is to report that M:B allows the generation of POD > that is unparsable by Parse::CPAN::Meta. > > That is, it generates YAML that does not fall within the "YAML Tiny" > subset of YAML. > > In particular, M:B needs to ensure that when it generates YAML it > serialises any objects that appear in the tree to be dumped. > > Anything that M:B doesn't know how to serialise should throw an error.
Adam, we know you know how to report bugs properly, so would you please add the specifics that would make it easier to fix? Which version of M::B? Specific examples of distributions with a problem? Sample output? Etc. -- David
CC: adamk [...] cpan.org
Subject: Re: [rt.cpan.org #46150] Module::Build generates YAML that is unparsable by Parse::CPAN::Meta
Date: Mon, 18 May 2009 03:36:31 +1000
To: bug-Module-Build [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
Sorry See bug 46148 for examples. 2009/5/17 David Golden via RT <bug-Module-Build@rt.cpan.org>: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=46150 > > > On Sun, May 17, 2009 at 5:43 AM, Adam Kennedy via RT > <bug-Module-Build@rt.cpan.org> wrote:
>> Separate to any issues about whether M:B generates correct META.yml >> structure, this bug is to report that M:B allows the generation of POD >> that is unparsable by Parse::CPAN::Meta. >> >> That is, it generates YAML that does not fall within the "YAML Tiny" >> subset of YAML. >> >> In particular, M:B needs to ensure that when it generates YAML it >> serialises any objects that appear in the tree to be dumped. >> >> Anything that M:B doesn't know how to serialise should throw an error.
> > Adam, we know you know how to report bugs properly, so would you > please add the specifics that would make it easier to fix?  Which > version of M::B?  Specific examples of distributions with a problem? > Sample output?  Etc. > > -- David > >
Fixed in trunk for version objects. Leaving the ticket open as it's a broader issue.