Skip Menu |

This queue is for tickets about the Test-Effects CPAN distribution.

Report information
The Basics
Id: 98793
Status: resolved
Priority: 0/
Queue: Test-Effects

People
Owner: Nobody in particular
Requestors: gmarler [...] bloomberg.net
Cc:
AdminCc:

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



Subject: Illegal character in META.yml prevents Pinto repo insertion for this distro
Date: Thu, 11 Sep 2014 15:21:40 -0000
To: BUG-TEST-EFFECTS [...] RT.CPAN.ORG
From: "Gordon Marler (BLOOMBERG/ 120 PARK)" <gmarler [...] bloomberg.net>
When trying to insert this distro tarball into a Pinto repo, the check for META.yml validity fails like so: pinto -r /perfwork/CPAN-Pinto add -v -s 20140704 \ Test-Effects-0.001004.tar.gz Unable to extract packages from Test-Effects-0.001004.tar.gz: CPAN::Meta::YAML found illegal characters in plain scalar: 'Test all effects at once: return value, I/O, warnings, exceptions, etc.' at /usr/perl5/site_perl/5.18.1/Parse/CPAN/Meta.pm line 45. at /usr/perl5/site_perl/5.18.1/CPAN/Meta.pm line 322. at /usr/perl5/site_perl/5.18.1/Dist/Metadata.pm line 188. Looking at the META.yml, turns out ':' in the abstract line is invalid. Building v0.001004_01 with an altered META.yml, where only one line is changed, FROM: abstract: Test all effects at once: return value, I/O, warnings, exceptions, etc. TO: abstract: Test all effects at once\x3A return value, I/O, warnings, exceptions, etc. And the resulting distro tarball then passes the validation test and can be inserted into the Pinto repo. Thanks! GM
On 2014-09-11 08:21:54, gmarler@bloomberg.net wrote: Show quoted text
> When trying to insert this distro tarball into a Pinto repo, the check > for META.yml validity fails like so:
These issues are also reported here (there is a link in the left sidebar on the metacpan page):http://cpants.cpanauthors.org/dist/Test-Effects
Subject: Re:[rt.cpan.org #98793] Illegal character in META.yml prevents Pinto repo insertion for this distro
Date: Thu, 11 Sep 2014 16:08:45 -0000
To: bug-Test-Effects [...] rt.cpan.org
From: "Gordon Marler (BLOOMBERG/ 120 PARK)" <gmarler [...] bloomberg.net>
That's handy to know - thanks! From: bug-Test-Effects@rt.cpan.org At: Sep 11 2014 11:53:07 To: Gordon Marler (BLOOMBERG/ 120 PARK) Subject: Re:[rt.cpan.org #98793] Illegal character in META.yml prevents Pinto repo insertion for this distro <URL: https://rt.cpan.org/Ticket/Display.html?id=98793 > On 2014-09-11 08:21:54, gmarler@bloomberg.net wrote: Show quoted text
> When trying to insert this distro tarball into a Pinto repo, the check > for META.yml validity fails like so:
These issues are also reported here (there is a link in the left sidebar on the metacpan page):http://cpants.cpanauthors.org/dist/Test-Effects
Subject: Re: [rt.cpan.org #98793] Illegal character in META.yml prevents Pinto repo insertion for this distro
Date: Mon, 15 Sep 2014 12:41:57 +1000
To: bug-Test-Effects [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Patched. Many thanks to you both. Damian