Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-ReportVersions CPAN distribution.

Report information
The Basics
Id: 118960
Status: open
Priority: 0/
Queue: Dist-Zilla-Plugin-ReportVersions

People
Owner: Nobody in particular
Requestors: nigel.metheringham [...] gmail.com
Cc:
AdminCc:

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



Subject: Inability to handle the Dist::Zilla::Role::Git::Repo version info
Latest versions of Dist::Zilla::Role::Git::Repo put the following information into META.yml Dist::Zilla::Role::Git::Repo: 'git --version': 2.10.0 This causes the YAML::Tiny subset embedded to explode:- [15:14:06] t/000-report-versions.t ...... YAML::Tiny does not support a feature in line ' 'git --version': 2.10.0' at t/000-report-versions.t line 426. Since YAML::Tiny is likely to be required anyhow by the rest of the toolchain, can I suggest you just drop the embedded version and use the real thing.
On 2016-11-25 07:30:54, NIGELM wrote: Show quoted text
> Latest versions of Dist::Zilla::Role::Git::Repo put the following > information into META.yml > > Dist::Zilla::Role::Git::Repo: > 'git --version': 2.10.0 > > This causes the YAML::Tiny subset embedded to explode:- > [15:14:06] t/000-report-versions.t ...... YAML::Tiny does not > support a feature in line ' 'git --version': 2.10.0' at > t/000-report-versions.t line 426. > > Since YAML::Tiny is likely to be required anyhow by the rest of the > toolchain, can I suggest you just drop the embedded version and use > the real thing.
CPAN::Meta::YAML and Parse::CPAN::Meta are in core (since 5.10.1 and 5.13.9 respectively) and the only canonical things to be using to parse META.* files. Before that, if you really want to stay pure, you could fall back to what ExtUtils::MakeMaker does to read YAML files (but it might be safer to simply skip the test entirely).

This module is not maintained.

I recommend you to switch immediately all your projects to Dist::Zilla::Plugin::Test::ReportPrereqs.

-- 
Olivier Mengué - http://perlresume.org/DOLMEN