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