Bug#986907: dh-make-perl: use rt.cpan.org as default bugtracker for CPAN

gregor herrmann gregoa at debian.org
Wed Apr 14 17:02:03 BST 2021


On Wed, 14 Apr 2021 09:06:19 +0300, Andrius Merkys wrote:

> CPAN's default bugtracker is rt.cpan.org. Therefore, it would be nice to
> have Bug-Database and Bug-Submit fields of debian/upstream/metadata
> auto-filled in with appropriate default values for CPAN packages:
> 
> Bug-Database: https://rt.cpan.org/Dist/Display.html?Name=$PKG
> Bug-Submit: https://rt.cpan.org/Ticket/Create.html?Queue=$PKG

[$PKG -> $CPAN_Distribution]

I'm not sure this makes sense. Here's my quick train of thought:

I know of 3 producers of debian/upstream/metadata: our own
dh-make-perl and dpt-debian-pstream, plus lintian-brush (run manually
or via the janitor). I think all of them do basically the same: Add
Bug-* entries if this information is present in META.yml or
META.json, plus some guesswork to add GitHub issues if there is no
bugtracker information but a GutHub repo.

Then I know of one consumer of debian/upstream/metadata: dpt-forward,
which already uses CPAN RT as a default value if it doesn't find a
better info anywhere else (in META.* or debian/upstream/metadata).

I'm not opposed to adding "Bug-*: CPAN RT" to
debian/upstream/metadata in both dpt-debian-upstream and dh-make-perl
for cases where there is no explicit bugtracker in META.* and there
is no upstream repo on GitHub; but the result at least for my use and
the consumers I know would just be that dpt-forward does the same as
it does now: use CPAN RT for forwarding bug reports/patches.

But it's of course possible that there are other consumers or other
use cases where this would help.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: U2: Trash, Trampoline And The Part
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20210414/9725e3a6/attachment.sig>


More information about the pkg-perl-maintainers mailing list