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

5 messages from 2011-12-01 to 2011-12-03. Participants: Sebastian Morr, Jeff King, Junio C Hamano.
Thread: https://gitlist.dev/t/29066

## Sebastian Morr, 2011-12-01 20:31

Subject: [PATCH] Add MYMETA.yml to perl/.gitignore
Message-ID: <20111201203114.GA12796@thinkpad>
URL: https://gitlist.dev/e/20111201203114.GA12796%40thinkpad

```
This file is auto-generated in the process of building the Perl
extension.

Signed-off-by: Sebastian Morr <sebastian@morr.cc>
---

Good day, fine Sirs and Madams,

I just built Git for the first time, issued "git status", and there
was this untracked file. I guess you could call that an itch. This patch
fixes that, however, I'm not sure whether this is a relevant issue.

Didn't know whom to Cc, as the perl directory doesn't seem to get much
attention lately.

Kind regards,
Sebastian

 perl/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/perl/.gitignore b/perl/.gitignore
index 98b2477..9235e73 100644
--- a/perl/.gitignore
+++ b/perl/.gitignore
@@ -1,5 +1,6 @@
 perl.mak
 perl.mak.old
+MYMETA.yml
 blib
 blibdirs
 pm_to_blib
-- 
1.7.8.rc4.dirty

```

## Jeff King, 2011-12-01 22:35

Subject: Re: [PATCH] Add MYMETA.yml to perl/.gitignore
Message-ID: <20111201223520.GB4869@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20111201223520.GB4869%40sigill.intra.peff.net
In-Reply-To: <20111201203114.GA12796@thinkpad>

```
On Thu, Dec 01, 2011 at 09:31:15PM +0100, Sebastian Morr wrote:

> This file is auto-generated in the process of building the Perl
> extension.
>
> [...]
> 
> I just built Git for the first time, issued "git status", and there
> was this untracked file. I guess you could call that an itch. This patch
> fixes that, however, I'm not sure whether this is a relevant issue.

Thanks, I wrote the same patch myself last week. I could swear I sent it
to the list, but it appears that I forgot.

The only thing I would add is the reason this is suddenly coming up now:
generating MYMETA.yml is done only by new-ish versions of
ExtUtils::MakeMaker (it started for me with perl 5.14, which just hit
debian unstable recently). The file just contains extra information
about the environment and arguments to the Makefile-building process,
and can be safely deleted.

-Peff

```

## Sebastian Morr, 2011-12-02 22:55

Subject: [PATCH v2] Add MYMETA.yml to perl/.gitignore
Message-ID: <20111202225528.GA1176@thinkpad>
URL: https://gitlist.dev/e/20111202225528.GA1176%40thinkpad
In-Reply-To: <20111201223520.GB4869@sigill.intra.peff.net>

```
This file is auto-generated by newer versions of ExtUtils::MakeMaker
(presumably starting with the version shipping with Perl 5.14). It just
contains extra information about the environment and arguments to the
Makefile-building process, and can be safely deleted.

Signed-off-by: Sebastian Morr <sebastian@morr.cc>
---
 perl/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/perl/.gitignore b/perl/.gitignore
index 98b2477..9235e73 100644
--- a/perl/.gitignore
+++ b/perl/.gitignore
@@ -1,5 +1,6 @@
 perl.mak
 perl.mak.old
+MYMETA.yml
 blib
 blibdirs
 pm_to_blib
-- 
1.7.8.rc4.dirty

```

## Junio C Hamano, 2011-12-02 23:41

Subject: Re: [PATCH v2] Add MYMETA.yml to perl/.gitignore
Message-ID: <7vvcpymti3.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vvcpymti3.fsf%40alter.siamese.dyndns.org
In-Reply-To: <20111202225528.GA1176@thinkpad>

```
Sebastian Morr <sebastian@morr.cc> writes:

> This file is auto-generated by newer versions of ExtUtils::MakeMaker
> (presumably starting with the version shipping with Perl 5.14). It just
> contains extra information about the environment and arguments to the
> Makefile-building process, and can be safely deleted.

"safely deleted" sounds as if you made "make clean" remove it.  I do not
mind doing s/and can be.*/and should be ignored./ myself, if you want.

Does running "make clean" actually remove it, by the way?

> Signed-off-by: Sebastian Morr <sebastian@morr.cc>
> ---
>  perl/.gitignore |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/perl/.gitignore b/perl/.gitignore
> index 98b2477..9235e73 100644
> --- a/perl/.gitignore
> +++ b/perl/.gitignore
> @@ -1,5 +1,6 @@
>  perl.mak
>  perl.mak.old
> +MYMETA.yml
>  blib
>  blibdirs
>  pm_to_blib

```

## Sebastian Morr, 2011-12-03 00:07

Subject: Re: [PATCH v2] Add MYMETA.yml to perl/.gitignore
Message-ID: <20111203000729.GA19672@thinkpad>
URL: https://gitlist.dev/e/20111203000729.GA19672%40thinkpad
In-Reply-To: <7vvcpymti3.fsf@alter.siamese.dyndns.org>

```
On Fri, Dec 02, 2011 at 03:41:24PM -0800, Junio C Hamano wrote:
> Sebastian Morr <sebastian@morr.cc> writes:
> 
> > This file is auto-generated by newer versions of ExtUtils::MakeMaker
> > (presumably starting with the version shipping with Perl 5.14). It just
> > contains extra information about the environment and arguments to the
> > Makefile-building process, and can be safely deleted.
> 
> "safely deleted" sounds as if you made "make clean" remove it.  I do not
> mind doing s/and can be.*/and should be ignored./ myself, if you want.

You're very welcome to do that.

> Does running "make clean" actually remove it, by the way?

Yes, it does. perl/perl.mak (which, in turn, is generated by MakeMaker
via perl/Makefile) takes care of that file explicitly.

```
