git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: A "why TAP?" manifesto (was: [PATCH] test-lib: have --immediate emit valid TAP on failure)

From
Taylor Blau <me@ttaylorr.com>
Date
Mar 24, 2022, 21:57 UTC
Message-ID
<YjzpYic+QaOpqolE@nand.local>
In-Reply-To
<220324.8635j7nyvw.gmgdl@evledraar.gmail.com>
On Thu, Mar 24, 2022 at 02:48:42PM +0100, Ævar Arnfjörð Bjarmason wrote:
Show 7 quoted lines
> > The commit message is strong on the what, very strong in giving verbose
> > output that might or might not clarify the intention, and a little weak in
> > the why and the greater context.
>
> I thought "so that it emits valid TAP" was sufficiently
> self-explaining. I.e. we emit this machine-readable format, but in this
> edge case our output is invalid TAP, now it's valid.

I agree; if the justification is "something we use not-infrequently is broken" and the rest is "and this patch un-breaks it", I do not think we should devote much space to justifying why we use that thing in the first place.

Our TAP output meets the bar (at least for me, personally) of not needing to be rehashed anytime we change it, so I don't have any complaints about Ævar's patch message here.

Of course, we should be careful to avoid following that guidance _too_ much, since if it leaves us in a spot where we never question any past decisions, then I think we have gone too far.

Thanks, Taylor

Previous: Ævar Arnfjörð Bjarmason
Message 6 of 6 in “test-lib: have --immediate emit valid TAP on failure”
  1. test-lib: have --immediate emit valid TAP on failureÆvar Arnfjörð Bjarmason, Mar 23, 2022
  2. Johannes SchindelinMar 24, 2022
  3. A "why TAP?" manifesto (was: [PATCH] test-lib: have --immediate emit valid TAP on failure)Ævar Arnfjörð Bjarmason, Mar 24, 2022
  4. Junio C HamanoMar 24, 2022
  5. Ævar Arnfjörð BjarmasonMar 28, 2022
  6. Taylor BlauMar 24, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.