# [PATCH] Add MYMETA.json to perl/.gitignore

5 messages from 2011-12-29 to 2011-12-29. Participants: Jack Nagel, Junio C Hamano, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/29262

## Jack Nagel, 2011-12-29 04:42

Subject: [PATCH] Add MYMETA.json to perl/.gitignore
Message-ID: <1325133725-20671-1-git-send-email-jacknagel@gmail.com>
URL: https://gitlist.dev/e/1325133725-20671-1-git-send-email-jacknagel%40gmail.com

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

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
---
 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
-- 
1.7.8.2.302.g17b4

```

## Junio C Hamano, 2011-12-29 05:34

Subject: Re: [PATCH] Add MYMETA.json to perl/.gitignore
Message-ID: <7vty4kx7ol.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vty4kx7ol.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1325133725-20671-1-git-send-email-jacknagel@gmail.com>

```
Jack Nagel <jacknagel@gmail.com> writes:

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

> the build and is cleaned up with 'make clean', so it should be ignored.
>
> Signed-off-by: Jack Nagel <jacknagel@gmail.com>
> ---
>  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

```

## Junio C Hamano, 2011-12-29 06:58

Subject: Re: [PATCH] Add MYMETA.json to perl/.gitignore
Message-ID: <7vmxabyiby.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vmxabyiby.fsf%40alter.siamese.dyndns.org
In-Reply-To: <7vty4kx7ol.fsf@alter.siamese.dyndns.org>

```
Junio C Hamano <gitster@pobox.com> writes:

> Jack Nagel <jacknagel@gmail.com> writes:
>
>> 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.

>
>> the build and is cleaned up with 'make clean', so it should be ignored.
>>
>> Signed-off-by: Jack Nagel <jacknagel@gmail.com>
>> ---
>>  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

```

## Ævar Arnfjörð Bjarmason, 2011-12-29 09:50

Subject: Re: [PATCH] Add MYMETA.json to perl/.gitignore
Message-ID: <CACBZZX5kkX3jc-PvSe2=ZWm1DC8tWvsZN9q5G4JabEVnvf6TQA@mail.gmail.com>
URL: https://gitlist.dev/e/CACBZZX5kkX3jc-PvSe2%3DZWm1DC8tWvsZN9q5G4JabEVnvf6TQA%40mail.gmail.com
In-Reply-To: <7vmxabyiby.fsf@alter.siamese.dyndns.org>

```
On Thu, Dec 29, 2011 at 07:58, Junio C Hamano <gitster@pobox.com> 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.

```

## Jack Nagel, 2011-12-29 17:40

Subject: Re: [PATCH] Add MYMETA.json to perl/.gitignore
Message-ID: <CAMYxyaWLy6ab7M0QW-zGPbZNahY7XpXVmN6AiwmA1oerNDM29w@mail.gmail.com>
URL: https://gitlist.dev/e/CAMYxyaWLy6ab7M0QW-zGPbZNahY7XpXVmN6AiwmA1oerNDM29w%40mail.gmail.com
In-Reply-To: <CACBZZX5kkX3jc-PvSe2=ZWm1DC8tWvsZN9q5G4JabEVnvf6TQA@mail.gmail.com>

```
On Thu, Dec 29, 2011 at 3:50 AM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> On Thu, Dec 29, 2011 at 07:58, Junio C Hamano <gitster@pobox.com> 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.

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)

```
