Skip to contentSkip to conversation

Add MYMETA.json to perl/.gitignore

PATCH In review Jack Nagel 3 participants 5 messages Jun 15, 2016

lore
Share & tools
lore

Jack Nagel

author
#0 lore raw

PATCH 1/1 Add MYMETA.json to perl/.gitignore

ExtUtils::MakeMaker generates MYMETA.json in addition to MYMETA.yml since version 6.57_07. As it suggests, it is just meta information about the build and is cleaned up with 'make clean', so it should be ignored.

---
 perl/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
perl/.gitignore +1 -0
index 9235e73..d5c6e22 100644
@@ -1,5 +1,6 @@
 perl.mak
 perl.mak.old
+MYMETA.json
 MYMETA.yml
 blib
 blibdirs
Signature · 1 line
1.7.8.2.302.g17b4
#1 lore raw
Quoted 2 lines · Jack Nagel

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?

Quoted 18 lines

the build and is cleaned up with 'make clean', so it should be ignored.

---
 perl/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
perl/.gitignore +1 -0
index 9235e73..d5c6e22 100644
@@ -1,5 +1,6 @@
 perl.mak
 perl.mak.old
+MYMETA.json
 MYMETA.yml
 blib
 blibdirs
#2 lore raw
Quoted 8 lines · Junio C Hamano
Quoted 2 lines · Jack Nagel

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 19 lines
Quoted 19 lines

the build and is cleaned up with 'make clean', so it should be ignored.

---
 perl/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
perl/.gitignore +1 -0
index 9235e73..d5c6e22 100644
@@ -1,5 +1,6 @@
 perl.mak
 perl.mak.old
+MYMETA.json
 MYMETA.yml
 blib
 blibdirs
#3 lore raw
Quoted 1 line · Junio C Hamano

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.