Re: .gitignore patch for coverage builds - Mailing list pgsql-hackers

From Robert Haas
Subject Re: .gitignore patch for coverage builds
Date
Msg-id AANLkTinkw46y4tAvDLiDG81CHi4EUpWetw5NcHZF=Dwv@mail.gmail.com
Whole thread Raw
In response to Re: .gitignore patch for coverage builds  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
On Mon, Feb 14, 2011 at 7:38 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> On Wed, Jan 26, 2011 at 2:41 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> Excerpts from Tom Lane's message of mié ene 26 19:20:52 -0300 2011:
>>> Robert Haas <robertmhaas@gmail.com> writes:
>>> > On Wed, Jan 26, 2011 at 4:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> >> Ick. That's an awful lot of stuff to have global ignores for.
>>>
>>> > The "coverage" directory ignore seems a little icky, but the rest
>>> > seems unlikely to pick up anything incidental.
>>>
>>> Tying /coverage to the root as in his V2 makes that better,
>>
>> Hmm, I don't think that works, because you can run "make coverage" in
>> any subdir and it will create a "coverage" subdir there.
>
> I like being told that I have a coverage directory outstanding when I
> run "git status".
>
> The hundreds of other files, not so much.
>
>
>>> but I'm
>>> still unexcited about the thesis that we should auto-ignore the results
>>> of any random tool somebody wants to run in their source tree.
>>
>> Well, in this case it's not any random tool, because it's integrated
>> into our makefiles.
>
> I agree.  Should this be added to commit-fest 2011-Next?

I think there's little reason not to go ahead and commit this now.
It's a trivial patch, Tom is the only one objecting, and there are at
least four votes on the other side.  The only question in my mind is
whether we ought to try to ignore the coverage directories, or just
the other glob patterns.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pg_ctl failover Re: Latches, signals, and waiting
Next
From: "David E. Wheeler"
Date:
Subject: Re: why two dashes in extension load files