Open p5pRT opened 7 years ago
This is an issue forked from RT #131258\, where I pointed out:
On Sat\, May 06\, 2017 at 07:05:58PM +0200\, Jeroen van Wolffelaar via perl5-porters wrote:
(maybe an idea if perlbug would've redirected me? It asked me about which module this was\, so theoretically it should be able to figure out/even correctly route the ticket?)
Perlbug is supposed to do this. However\, the code currently only does:
if the module is not bundled with perl: suggest a mis-spelling or try http://rt.cpan.org\, else if module has a bug tracker entry: suggest using that bug tracker instead
However\, Module::CoreList's pod entry for it's bug_tracker() method implies that bug_tracker() is only to override the default of http://rt.cpan.org/Public/Dist/Display.html?Name=$ModuleName
So perlbug won't correctly handle modules bundled with perl that have a default bugtracker.
I think the actual logic should be:
if the module is not bundled with perl: suggest a mis-spelling or try http://rt.cpan.org; else if Module::CoreList::upstream($module) $tracker = Module::CoreList::bug_tracker($module) // "http://rt.cpan.org/Public/Dist/Display.html?Name=$module" suggest using $tracker instead else accept bug report
On Mon\, 15 May 2017 07:36:17 GMT\, davem wrote:
This is a bug report for perl from davem@iabyn.com\, generated with the help of perlbug 1.40 running under perl 5.26.0.
----------------------------------------------------------------- [Please describe your issue here]
This is an issue forked from RT #131258\, where I pointed out:
On Sat\, May 06\, 2017 at 07:05:58PM +0200\, Jeroen van Wolffelaar via perl5-porters wrote:
(maybe an idea if perlbug would've redirected me? It asked me about which module this was\, so theoretically it should be able to figure out/even correctly route the ticket?)
Perlbug is supposed to do this. However\, the code currently only does:
if the module is not bundled with perl: suggest a mis-spelling or try http://rt.cpan.org\, else if module has a bug tracker entry: suggest using that bug tracker instead
However\, Module::CoreList's pod entry for it's bug_tracker() method implies that bug_tracker() is only to override the default of http://rt.cpan.org/Public/Dist/Display.html?Name=$ModuleName
So perlbug won't correctly handle modules bundled with perl that have a default bugtracker.
I think the actual logic should be:
if the module is not bundled with perl: suggest a mis-spelling or try http://rt.cpan.org; else if Module::CoreList::upstream($module) $tracker = Module::CoreList::bug_tracker($module) // "http://rt.cpan.org/Public/Dist/Display.html?Name=$module" suggest using $tracker instead else accept bug report
How is the data in %Module::CoreList::upstream and %Module::CoreList::bug_tracker updated?
I ask because\, in the course of looking at this RT\, I noticed that the data for File::Path is out-of-date.
##### 14954 %upstream = ( ... 15088 'File::Path' => 'cpan'\, # correct ... 15394 ); 15395 15396 %bug_tracker = ( ... 15528 'File::Path' => undef\, #wrong ... 15834 ); #####
I could push a change for this one line\, but that would beg the question of how many other inaccurate entries there currently are?
Thank you very much.
-- James E Keenan (jkeenan@cpan.org)
The RT System itself - Status changed from 'new' to 'open'
Migrated from rt.perl.org#131316 (status was 'open')
Searchable as RT131316$