Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 132869
Status: rejected
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: tom [...] eborcom.com
Cc:
AdminCc:

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



Subject: Patch to add resources metadata
Date: Tue, 23 Jun 2020 09:46:01 +0000
To: bug-Net-DNS [...] rt.cpan.org
From: Tom Hukins <tom [...] eborcom.com>
Hi, Please find attached a patch that adds useful metadata about this distribution's repository and home page. Tools such as MetaCPAN display this. Tom
Index: Makefile.PL =================================================================== --- Makefile.PL (revision 1788) +++ Makefile.PL (working copy) @@ -57,6 +57,14 @@ 'Net::LibIDN2' => 1.00, ); +my %resources = ( + homepage => 'https://www.net-dns.org/', + repository => { + type => 'svn', + url => 'https://www.net-dns.org/svn/net-dns/', + web => 'https://www.net-dns.org/svn/net-dns/', + }, + ); ## IMPORTANT: THE USE AND/OR HANDLING OF STRONG ENCRYPTION TECHNOLOGIES IS ## PROHIBITED OR SEVERELY RESTRICTED IN MANY TERRITORIES. @@ -81,7 +89,11 @@ WriteMakefile( ## Makefile & distribution metadata %metadata, PREREQ_PM => {%prerequisite}, - META_MERGE => {recommends => {%optional}}, + META_MERGE => { + recommends => {%optional}, + resources => {%resources}, + 'meta-spec' => {version => 2}, + }, clean => {FILES => "@debris"}, );
On Tue Jun 23 06:15:03 2020, TOMHUKINS wrote: Show quoted text
> Hi, > > Please find attached a patch that adds useful metadata about this > distribution's repository and home page. Tools such as MetaCPAN display > this. > > Tom
This has been considered before. There seems no compelling reason to change the decisions in RT#122543 and RT#101777
Subject: Re: [rt.cpan.org #132869] Patch to add resources metadata
Date: Fri, 10 Jul 2020 10:41:40 +0000
To: Dick Franks via RT <bug-Net-DNS [...] rt.cpan.org>
From: Tom Hukins <tom [...] eborcom.com>
On Tue, Jun 23, 2020 at 11:29:31AM -0400, Dick Franks via RT wrote: Show quoted text
> This has been considered before. > There seems no compelling reason to change the decisions in RT#122543 > and RT#101777
Thanks for your reply. I didn't check for previous reports of this as I assumed it would be a beneficial change. Obviously it's completely up to you how you manage the software you release, but I find the direct links from MetaCPAN to modules' repositories, Web sites and bug trackers very helpful: the consistent UI helps me to find these finds more quickly. Tom