develooper Front page | perl.perl5.porters | Postings from April 2009

perlbug and upstream bug trackers

Thread Next
From:
Nicholas Clark
Date:
April 23, 2009 14:21
Subject:
perlbug and upstream bug trackers
Message ID:
20090423212052.GG71149@plum.flirble.org
Alexandr Ciornii had the bright idea of making perlbug ask for a module
name, in an attempt to pre-emptively deflect non-core bug reports. Hence:

    If your bug is about a Perl module rather than a core language
    feature, please enter its name here. If it's not, just hit Enter
    to skip this question.
    
    Module: DBI
    DBI is not a "core" Perl module. Please check that you entered
    its name correctly. If it is correct, quit this program, try
    searching for DBI on http://rt.cpan.org, and report your issue
    there.
    
    
    
    If your bug is about a Perl module rather than a core language
    feature, please enter its name here. If it's not, just hit Enter
    to skip this question.
    

I've just pushed 4 commits (0accdd48ba097069ed72ce592d307484b9284ba7 to
e1ae7bac59dc665dbcf504f414286127af684b23) which adds a second feature:
    
    
    If your bug is about a Perl module rather than a core language
    feature, please enter its name here. If it's not, just hit Enter
    to skip this question.
    
    Module: Test::Harness
    Test::Harness included with core Perl is copied directly from
    the CPAN distribution. Please report bugs in Test::Harness
    directly to its maintainers using
    http://rt.cpan.org/Public/Dist/Display.html?Name=Test-Harness
    
    
    
    If your bug is about a Perl module rather than a core language
    feature, please enter its name here. If it's not, just hit Enter
    to skip this question.
    
    Module: Test::Builder
    Test::Builder included with core Perl is copied directly from
    the CPAN distribution. Please report bugs in Test::Builder
    directly to its maintainers using http://code.google.com/p/test-
    more/issues
    
    
    
    If your bug is about a Perl module rather than a core language
    feature, please enter its name here. If it's not, just hit Enter
    to skip this question.
    
    Module: B::Concise
    
    
    Please pick a severity from the following list:
    
        critical high medium low wishlist none
    
    Severity [low]: 


It adds a mapping hash, currently in Module::CoreList (no documentation or
API yet, is this the right place anyway?), which translates module names to
the URL of upstream bug trackers, where known. "where known" is currently
from Porting/corelist.pl being pointed at CPAN mirror, mapping module names
to distribution tarballs, distribution tarball paths to META.yml filenames,
and META.yml contents to

resources:
  homepage: http://www.perl.org/
  bugtracker: http://rt.perl.org/perlbug/
  license: http://dev.perl.org/licenses/


bugtracker!

It's not perfect. There's a lot of bug tracking that it doesn't know about,
and I wasn't sure if it was a good idea to guess the type of bug tracker
wanted for other dual life modules, leave it as is, or get the mechanical
turk (or a sufficiently advanced regular expression) to read all the module
files looking for sections about "how to report bugs".

What do people think? You can see what it does know about at

http://perl5.git.perl.org/perl.git/blob/0accdd48:/lib/Module/CoreList.pm#l9542

Nicholas Clark

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About