Skip Menu |

This queue is for tickets about the Bundle-CPAN CPAN distribution.

Report information
The Basics
Id: 75454
Status: resolved
Priority: 0/
Queue: Bundle-CPAN

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: Various bad/missing META.{yml,json} values

https://metacpan.org/source/ANDK/Bundle-CPAN-1.859/META.json

 

1. The repository URL points to CPAN.pm's repository, not the bundles repository. (  "url" : "git://github.com/andk/cpanpm.git"  ).   I would have forked and proposed patches to this dist myself had the URL been right, but its not :(

 

2. License: [ 'unknown' ]  # No license is specified in Makefile.PL so tools working with the metacpan api think this distribution has no license.

 

3. Abstract: 'unknown'  # No abstract is set in Makefile.PL , which is why no description appears here : https://metacpan.org/author/ANDK

 

4. "author" : [ "unknown"  ],  # Not so important, but should be reasonably easy to fix.

 

 

Hope this helps,

 

-- Kent

 

Subject: Re: [rt.cpan.org #75454] Various bad/missing META.{yml,json} values
Date: Thu, 1 Mar 2012 15:46:16 -0500
To: bug-Bundle-CPAN [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Thu, Mar 1, 2012 at 3:24 PM, Kent Fredric via RT <bug-Bundle-CPAN@rt.cpan.org> wrote: Show quoted text
> 1. The repository URL points to CPAN.pm's repository, not the bundles > repository. ( "url" : "git://github.com/andk/cpanpm.git" ). I would have forked > and proposed patches to this dist myself had the URL been right, but its not :(
FWIW, the bundle is kept in the CPAN.pm repo in related/Bundle-CPAN I can't speak to the other issues.
On 2012-03-02 09:46:49, DAGOLDEN wrote:

Show quoted text
> FWIW, the bundle is kept in the CPAN.pm repo in related/Bundle-CPAN
>
> I can't speak to the other issues.

Oh, I thought I looked everywhere for it, I see it now. Patching time =).


Patched, Pull request: 

 

https://github.com/andk/cpanpm/pull/24
 

Patch also attached.

Subject: 0001-Update-Metadata-for-META.-json-yml.patch
From 0ea506e63ccb591176dfc388fe14c5f00012ec8d Mon Sep 17 00:00:00 2001 From: Kent Fredric <kentfredric@gmail.com> Date: Fri, 2 Mar 2012 10:15:57 +1300 Subject: [PATCH] Update Metadata for META.{json,yml} I've set the license to "perl" in absense of a better suggestion, and set the path to the "homepage" to point to the sub-directory with this dist in it, in the hopes the next person who wants to touch this dist sees it easier. Generation has been tested and the emitted .json/.yml files look ok. Ideally, I'd have used the repository.web meta-2.0 attribute, but I can't see a way to provide that to EUMM, everything I tried either broke or broke. --- related/Bundle-CPAN/Makefile.PL | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/related/Bundle-CPAN/Makefile.PL b/related/Bundle-CPAN/Makefile.PL index ba67e31..7f2732e 100644 --- a/related/Bundle-CPAN/Makefile.PL +++ b/related/Bundle-CPAN/Makefile.PL @@ -57,6 +57,9 @@ my @sign = (MM->can("signature_target") ? (SIGN => 1) : ()); WriteMakefile( NAME => 'Bundle::CPAN', VERSION_FROM => 'CPAN.pm', + LICENSE => 'perl', + AUTHOR => 'Andreas Koenig', + ABSTRACT => 'Bundle to optimize the behaviour of CPAN.pm', @sign, dist => { DIST_DEFAULT => join(" ", @@ -73,6 +76,7 @@ WriteMakefile( (META_ADD => { resources => { repository => "git://github.com/andk/cpanpm.git", + homepage => "https://github.com/andk/cpanpm/tree/master/related/Bundle-CPAN" }, keywords => ['CPAN','module','module installation'], }) : ()), -- 1.7.3.4
Pull request accepted, release made. Thanks!