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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 465
Download (untitled) / with headers
text/plain 465b
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.
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-2324-1242553401-1150.46150-4-0 [...] rt.cpan.org>
References: <RT-Ticket-46150 [...] rt.cpan.org> <rt-3.6.HEAD-2324-1242553401-1150.46150-4-0 [...] rt.cpan.org>
Message-ID: <5d4beb40905170404s2fec306bhc37f24d2a5d08ab4 [...] mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id AFABA19B824A for <bug-Module-Build [...] rt.cpan.org>; Sun, 17 May 2009 07:04:46 -0400 (EDT)
Received: (qmail 32108 invoked by uid 103); 17 May 2009 11:04:46 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 17 May 2009 11:04:46 -0000
Received: from yw-out-2324.google.com (HELO yw-out-2324.google.com) (74.125.46.28) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Sun, 17 May 2009 04:04:40 -0700
Received: by yw-out-2324.google.com with SMTP id 9so1564188ywe.3 for <bug-Module-Build [...] rt.cpan.org>; Sun, 17 May 2009 04:04:38 -0700 (PDT)
Received: by 10.150.189.13 with SMTP id m13mr9906769ybf.309.1242558278046; Sun, 17 May 2009 04:04:38 -0700 (PDT)
Delivered-To: cpan-bug+Module-Build [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #46150] Module::Build generates YAML that is unparsable by Parse::CPAN::Meta
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=pEnm7VCjKH+WLcW53tJSTv6lieNVSsJYRva0S1iwPtEJgUQvTv9NKtmL3Oi+XWics/ bsDnJWfzqaCvCV7rb5MV5Y5hOEW6dDIMe4HAHs/tFTKS8rN38Hj0Te0QKyM3ioMtvvgn Loj4u90JWUdDX0oAS7R8EKyher55llf+mwKSE=
Return-Path: <xdaveg [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=66caBwJRShzzx3PIan7BfCCQ225BUjFAJ3e8tbGRuSU=; b=FJOEoLMsB/UPkmxbcGFLnGEsBYEzMkJbm+f6T3EYY306Nr689ORlDRZw093p1Iq2QO kzPHXFF4aibhBc1yq57RqJvdGv7OYNfVDQur6tmiHoGAgmFfxhqolRyvrAjXL7hk4Orq 7DkEaWLrxKqDNjt4zLRw9VnOcDlXVSrQwiQrM=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Module-Build [...] rt.cpan.org
X-Google-Sender-Auth: c9bd1d29096abeaa
Date: Sun, 17 May 2009 07:04:38 -0400
Sender: xdaveg [...] gmail.com
X-Spam-Level: *
To: bug-Module-Build [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: David Golden <dagolden [...] cpan.org>
RT-Message-ID: <rt-3.6.HEAD-2324-1242558328-30.46150-0-0 [...] rt.cpan.org>
Content-Length: 808
Download (untitled) / with headers
text/plain 808b
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
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-2324-1242558328-30.46150-6-0 [...] rt.cpan.org>
References: <RT-Ticket-46150 [...] rt.cpan.org> <rt-3.6.HEAD-2324-1242553401-1150.46150-4-0 [...] rt.cpan.org> <5d4beb40905170404s2fec306bhc37f24d2a5d08ab4 [...] mail.gmail.com> <rt-3.6.HEAD-2324-1242558328-30.46150-6-0 [...] rt.cpan.org>
Message-ID: <b8cb49a40905171036s7921e33apbe99065f811b9a8c [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 9AA6319B824A for <bug-Module-Build [...] rt.cpan.org>; Sun, 17 May 2009 13:36:41 -0400 (EDT)
Received: (qmail 16072 invoked by uid 103); 17 May 2009 17:36:41 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 17 May 2009 17:36:41 -0000
Received: from mail-qy0-f180.google.com (HELO mail-qy0-f180.google.com) (209.85.221.180) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Sun, 17 May 2009 10:36:34 -0700
Received: by qyk10 with SMTP id 10so647381qyk.33 for <bug-Module-Build [...] rt.cpan.org>; Sun, 17 May 2009 10:36:32 -0700 (PDT)
Received: by 10.220.97.212 with SMTP id m20mr6084166vcn.40.1242581791537; Sun, 17 May 2009 10:36:31 -0700 (PDT)
Delivered-To: cpan-bug+Module-Build [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #46150] Module::Build generates YAML that is unparsable by Parse::CPAN::Meta
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z0+ClcCqQ5jtdUK9T8oMckqiKY3N2sDPIzfCc9HfCnVX76OVtFTxc1sERB4jCmLyNp oHltoTeFoxDzIJejq2qF2zAVIidYx6EX/5ggR3Ql9PLOu51yObscbTxE0Ytl9n+uVxNH yK0fyWTnJp6flPm/+zavpoy+UKxAEvMOWhtNQ=
Return-Path: <adamkennedybackup [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uLHX10FGwrnJbSm+RlBc5jKgNme9xLwBWAFS2oSQeL8=; b=Tr7LEqbLhXnR9ixjJXNZtb7WPlAV1vZZgbvJlqVTGm993XWjMZwPTIsD4Y9JVACpIv edAF+RbHLeLS+Dacv78QKDyZ0hBkYnzdjzQTIaKBYDGjijxOtgEaTku6PNlJ08G+ZyH/ T6jdJMGoVbIEjADsCciuC4rSYGRGDh5XXEmEE=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Module-Build [...] rt.cpan.org
Date: Mon, 18 May 2009 03:36:31 +1000
X-Spam-Level: *
To: bug-Module-Build [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
RT-Message-ID: <rt-3.6.HEAD-2324-1242581811-643.46150-0-0 [...] rt.cpan.org>
Content-Length: 1000
Download (untitled) / with headers
text/plain 1000b
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 > >
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-2324-1242651916-430.46150-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 85
Fixed in trunk for version objects. Leaving the ticket open as it's a broader issue.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.