Skip Menu |

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

Report information
The Basics
Id: 66062
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-Bugtracker

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

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



Subject: Dist::Zilla::Plugin::Bugtracker passing URI:http reference to YAML::Tiny (which is unsupported)
YAML::Tiny does not support URI::http references at /home/mike/perl5/perlbrew/perls/perl- 5.12.3/lib/site_perl/5.12.3/YAML/Tiny.pm line 539.
I'm not sure either, but since META.yml is generated by the [MetaYAML] plugin - http://search.cpan.org/perldoc?Dist::Zilla::Plugin::MetaYAML - and that uses CPAN::Meta::Converter - http://search.cpan.org/perldoc?CPAN::Meta::Converter - maybe the problem is there. The mailto does appear in META.json, so I assume that both files' generators get passed the same metadata, but they do different things with them.
Argh. That response should have gone to the other bug - the 'mailto' metadata one. Sorry. I'll put the reply there as well; please ignore this one.
On Tue Feb 22 23:42:57 2011, DOHERTY wrote: Show quoted text
> YAML::Tiny does not support URI::http references at > /home/mike/perl5/perlbrew/perls/perl- > 5.12.3/lib/site_perl/5.12.3/YAML/Tiny.pm line 539.
Normally this plugin works, so I can't reproduce this. What were you trying to do? Please post some example code; what does your dist.ini look like? I only use YAML::Tiny via the [ReportVersions] plugin, and that reads META.yml, but how does a URI:http reference get in there?
On Wed Feb 23 04:56:27 2011, MARCEL wrote: Show quoted text
> What were you trying to do? Please post some example code; > what does your dist.ini look like?
name = Text-Unidecode author = Sean M. Burke <sburke@cpan.org> license = Perl_5 copyright_holder = Sean M. Burke copyright_year = 2001 [@Author::DOHERTY] no_twitter = 1 surgical = 1 skip_tests = HasVersionTests bugtracker = http://bugtracker.org ---- That pluginbundle just passes bugtracker to Dist::Zilla::Plugin::Bugtracker. Perhaps I am doing something wrong. # Clearly, this code is abridged :) package Dist::Zilla::PluginBundle::Author::DOHERTY; use Moose; with 'Dist::Zilla::Role::PluginBundle::Easy'; has bugtracker => ( is => 'ro', isa => 'Str', lazy => 1, default => sub { $_[0]->payload->{bugtracker} || 'http://github.com/doherty/%s/issues' }, ); sub configure { [ 'Bugtracker' => { web => $self->bugtracker } ], }
On Tue Mar 01 17:49:18 2011, DOHERTY wrote: Show quoted text
> On Wed Feb 23 04:56:27 2011, MARCEL wrote:
> > What were you trying to do? Please post some example code; > > what does your dist.ini look like?
Here's another example: main_module = lib/MediaWiki/Bot.pm name = MediaWiki-Bot license = GPL_3 copyright_holder = the MediaWiki::Bot team <perlwikibot@googlegroups.com> author = Dan Collins <en.wp.st47@gmail.com> author = Mike.lifeguard <mike.lifeguard@gmail.com> ; I hope I have divined names from emails properly ;... [@Filter] -bundle = @Basic -remove = Readme -remove = ExtraTests [SurgicalPodWeaver] ; We have to use SurgicalPodWeaver because we must skip PWP/perlwikipedia [Bugtracker] web = http://code.google.com/p/perlwikipedia/issues/list ;... $ dzil build [DZ] beginning to build MediaWiki-Bot [DZ] dist's main_module is lib/MediaWiki/Bot.pm [Git::NextVersion] Bumping version from 3.2.7 to 3.2.8 [DZ] extracting distribution abstract from lib/MediaWiki/Bot.pm [OurPkgVersion] File: lib/PWP.pm has no comments, consider adding a "# VERSION" commment [OurPkgVersion] File: lib/perlwikipedia.pm has no comments, consider adding a "# VERSION" commment YAML::Tiny does not support URI::http references at /home/mike/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/YAML/Tiny.pm line 539.
Fixed in 1.111080