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

Re: ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))

From
Taylor Blau <me@ttaylorr.com>
Date
Nov 8, 2022, 21:52 UTC
Message-ID
<Y2rPrNz6BD6DlRcO@nand.local>
In-Reply-To
<Y2pnZic1mi205/MQ@coredump.intra.peff.net>
On Tue, Nov 08, 2022 at 09:27:50AM -0500, Jeff King wrote:
Show 29 quoted lines
> On Mon, Nov 07, 2022 at 03:33:40PM +0100, Ævar Arnfjörð Bjarmason wrote:
>
> >
> > On Thu, Nov 03 2022, Taylor Blau wrote:
> >
> > > * ab/make-bin-wrappers (2022-10-31) 4 commits
> > >  - Makefile: simplify $(test_bindir_programs) rule by splitting it up
> > >  - Makefile: rename "test_bindir_programs" variable, pre-declare
> > >  - Makefile: define "TEST_{PROGRAM,OBJS}" variables earlier
> > >  - Makefile: factor sed-powered '#!/bin/sh' munging into a variable
> > >
> > >  Resolve issues with the bin-wrappers/% rules where "make
> > >  bin-wrappers/git" would generate the script but not "git" itself.
> > >
> > >  Waiting for review.
> > >  source: <cover-v3-0.4-00000000000-20221031T222249Z-avarab@gmail.com>
> >
> > On my end I'm waiting to see what you and/or Jeff think about:
> > https://lore.kernel.org/git/221101.86edun5tgn.gmgdl@evledraar.gmail.com/
>
> I don't have any strong opinion on that. I read the v2 cover letter, was
> skeptical/confused of the motivation, and didn't go much further.
>
> Your explanation in the linked email is that there are _other_ reasons
> to do this refactoring, but I don't have any knowledge there that would
> add to the review. My gut is still that building bin-wrappers/foo
> doesn't need to depend on foo, but if it's one line, I don't care that
> much either way. If it was 50 lines of complicated Makefile refactoring,
> then would probably not be worth it.
Isn't this topic exactly the latter? IOW:
    $ git diff --stat master...ab/make-bin-wrappers
     Makefile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
     1 file changed, 52 insertions(+), 20 deletions(-)
...maybe that was exactly your point ;-).

TBH, I am not sold whatsoever on the premise of that series, and agree that plodding through 50+ lines of complicated Makefile diff is difficult to justify when the premise is hazy to me.

Ævar, any strong objections against dropping this one? If there is a simpler way forward, I'm all ears, but in the meantime I find it difficult to justify the review time as-is.

Thanks, Taylor

Previous: Jeff KingNext: Jeff King
Message 9 of 18 in “What's cooking in git.git (Nov 2022, #01; Thu, 3)”
  1. Taylor BlauNov 4, 2022
  2. Philip OakleyNov 5, 2022
  3. Taylor BlauNov 5, 2022
  4. Philip OakleyNov 7, 2022
  5. Taylor BlauNov 8, 2022
  6. ab/config-multi-and-nonbool (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  7. ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  8. Jeff KingNov 8, 2022
  9. Taylor BlauNov 8, 2022
  10. Jeff KingNov 9, 2022
  11. ab/coccicheck-incremental (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  12. Taylor BlauNov 8, 2022
  13. ab/sha-makefile-doc (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  14. ab/submodule-helper-prep-only (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 8, 2022
  15. Taylor BlauNov 8, 2022
  16. ab/cmake-nix-and-ci (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 8, 2022
  17. Phillip WoodNov 8, 2022
  18. ab/misc-hook-submodule-run-command (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 8, 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.