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

2021-04-30 Thread Andrius Merkys
Hi,

On 2021-04-14 19:02, gregor herrmann wrote:
> 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]

Right, that's what I meant, thanks for correction.

> 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).

UltimateDebianDatabase also seems to ingest debian/upstream/metadata to
its tables, but I haven't checked how they look there. Also I am not
aware of services using the UDD.

> 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.

I agree. Most likely this would not add much benefit.

Best,
Andrius



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

2021-04-14 Thread gregor herrmann
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


signature.asc
Description: Digital Signature


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

2021-04-14 Thread Andrius Merkys
Hi,

On 2021-04-14 11:10, Yadd wrote:
> it seems that rt.cpan.org is going to be down

>From [1] I understand that the shutdown of rt.cpan.org has been
cancelled, and it should stay for at least 3 more years.

[1]
https://www.nntp.perl.org/group/perl.perl5.porters/2021/02/msg259168.html

Best,
Andrius



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

2021-04-14 Thread gregor herrmann
On Wed, 14 Apr 2021 10:10:39 +0200, Yadd 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:
> 
> it seems that rt.cpan.org is going to be down

Luckily CPAN RT got salvaged:
https://news.perlfoundation.org/post/rt-cpan-org-future


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
   `-   BOFH excuse #427:  network down, IP packets delivered via UPS 



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

2021-04-14 Thread Yadd
Le 14/04/2021 à 08:06, Andrius Merkys a écrit :
> Package: dh-make-perl
> Version: 0.116
> Severity: wishlist
> 
> 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

Hi,

it seems that rt.cpan.org is going to be down



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

2021-04-14 Thread Andrius Merkys
Package: dh-make-perl
Version: 0.116
Severity: wishlist

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

Best,
Andrius