git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add MYMETA.json to perl/.gitignore
@ 2011-12-29  4:42 Jack Nagel
  2011-12-29  5:34 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Jack Nagel @ 2011-12-29  4:42 UTC (permalink / raw)
  To: git, gitster; +Cc: jacknagel

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add MYMETA.json to perl/.gitignore
  2011-12-29  4:42 [PATCH] Add MYMETA.json to perl/.gitignore Jack Nagel
@ 2011-12-29  5:34 ` Junio C Hamano
  2011-12-29  6:58   ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2011-12-29  5:34 UTC (permalink / raw)
  To: Jack Nagel; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add MYMETA.json to perl/.gitignore
  2011-12-29  5:34 ` Junio C Hamano
@ 2011-12-29  6:58   ` Junio C Hamano
  2011-12-29  9:50     ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2011-12-29  6:58 UTC (permalink / raw)
  To: git; +Cc: Jack Nagel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add MYMETA.json to perl/.gitignore
  2011-12-29  6:58   ` Junio C Hamano
@ 2011-12-29  9:50     ` Ævar Arnfjörð Bjarmason
  2011-12-29 17:40       ` Jack Nagel
  0 siblings, 1 reply; 5+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-12-29  9:50 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Jack Nagel

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add MYMETA.json to perl/.gitignore
  2011-12-29  9:50     ` Ævar Arnfjörð Bjarmason
@ 2011-12-29 17:40       ` Jack Nagel
  0 siblings, 0 replies; 5+ messages in thread
From: Jack Nagel @ 2011-12-29 17:40 UTC (permalink / raw)
  To: Ævar Arnfjörð Bjarmason; +Cc: Junio C Hamano, git

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-29 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29  4:42 [PATCH] Add MYMETA.json to perl/.gitignore Jack Nagel
2011-12-29  5:34 ` Junio C Hamano
2011-12-29  6:58   ` Junio C Hamano
2011-12-29  9:50     ` Ævar Arnfjörð Bjarmason
2011-12-29 17:40       ` Jack Nagel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).