Re: [PATCH] Add MYMETA.json to perl/.gitignore

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Add MYMETA.json to perl/.gitignore

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:42

Junio C Hamano [off-list ref] writes:
Jack Nagel [off-list ref] writes:
quoted
ExtUtils::MakeMaker generates MYMETA.json in addition to MYMETA.yml
since version 6.57_07. As it suggests, it is just meta information about
Are we better off ignoring MYMETA.* instead, so that we won't get affected
when they start dropping new cruft with the same information in yet more
different formats?
Just to make sure there is no misunderstanding. The above is _not_ a
rhetorical question that implies that I _think_ the patch should instead
change the existing "MYMETA.yml" to "MYMETA.*" without adding a new entry
to ignore "MYMETA.json". It is a pure question, and a valid answer could
be "I checked with Perl people and they promise they won't be adding any
more MYMETA.foo left and right with new MakeMaker releases", in which case
the original patch is absolutely the right thing to do.

I am simply asking because I do not know.
quoted
the build and is cleaned up with 'make clean', so it should be ignored.

Signed-off-by: Jack Nagel <redacted>
---
 perl/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/perl/.gitignore b/perl/.gitignore
index 9235e73..d5c6e22 100644
--- a/perl/.gitignore
+++ b/perl/.gitignore
@@ -1,5 +1,6 @@
 perl.mak
 perl.mak.old
+MYMETA.json
 MYMETA.yml
 blib
 blibdirs

Re: [PATCH] Add MYMETA.json to perl/.gitignore

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:52:42

On Thu, Dec 29, 2011 at 07:58, Junio C Hamano [off-list ref] wrote:
I am simply asking because I do not know.
It'll stay JSON for the forseeable future. It's part of the CPAN META
Specification.

Re: [PATCH] Add MYMETA.json to perl/.gitignore

From: Jack Nagel <hidden>
Date: 2016-06-15 22:52:42

On Thu, Dec 29, 2011 at 3:50 AM, Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
On Thu, Dec 29, 2011 at 07:58, Junio C Hamano [off-list ref] wrote:
quoted
I am simply asking because I do not know.
It'll stay JSON for the forseeable future. It's part of the CPAN META
Specification.
Yep, cf. [1]. Thanks.

Jack

[1] http://search.cpan.org/~mschwern/ExtUtils-MakeMaker-6.62/lib/ExtUtils/MakeMaker.pm#Module_Meta-Data_(META_and_MYMETA)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help