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

Re: Request for Help - Too many perl arguments as of 2.43.0-rc0

From
Jeff King <peff@peff.net>
Date
Nov 4, 2023, 13:49 UTC
Message-ID
<20231104134915.GA1492953@coredump.intra.peff.net>
In-Reply-To
<CAPig+cQpxRQnhffR8EWWRhqJPmOeOuCE3qsuMcnDyuMLLbTH8Q@mail.gmail.com>
On Sat, Nov 04, 2023 at 02:36:48AM -0400, Eric Sunshine wrote:
Show 7 quoted lines
> I don't see an urgent need for it. Unlike the actual tests themselves
> run by `make test` which may catch platform-specific problems in Git
> itself, the purpose of the "linting" checks is not to catch
> platform-specific problems, but rather to help test authors by
> identifying mistakes in the tests which might make them fragile. So,
> disabling linting on a particular platform isn't going to cause `make
> test` to miss some important Git problem specific to that platform.

Hmm. With compilation, we split the audience of "developers" vs "people who just want to build the program", and we crank up the number and severity of warning checks for the former. We could do the same here for tests. I.e., turn off test linting by default and re-enable it for DEVELOPER=1.

OTOH, this is the first time I think I've seen the linting cause a problem (whereas unexpected compile warnings are much more likely, as we are depending on the system compiler's behavior).

So consider it an idle thought for discussion, and not necessarily a proposal. ;)

-Peff
Previous: Eric SunshineNext: rsbecker@nexbridge.com
Message 9 of 12 in “Request for Help - Too many perl arguments as of 2.43.0-rc0”
  1. rsbecker@nexbridge.comNov 3, 2023
  2. Eric SunshineNov 3, 2023
  3. rsbecker@nexbridge.comNov 3, 2023
  4. Eric SunshineNov 3, 2023
  5. rsbecker@nexbridge.comNov 3, 2023
  6. Eric SunshineNov 4, 2023
  7. Junio C HamanoNov 4, 2023
  8. Eric SunshineNov 4, 2023
  9. Jeff KingNov 4, 2023
  10. rsbecker@nexbridge.comNov 4, 2023
  11. Eric SunshineNov 5, 2023
  12. Jeff KingNov 5, 2023

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.