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

Re: [PATCH] t0021, t5615: use $PWD instead of $(pwd) in PATH-like shell variables

From
Jeff King <peff@peff.net>
Date
Nov 14, 2016, 17:01 UTC
Message-ID
<20161114170105.btnohk2777ddaiul@sigill.intra.peff.net>
In-Reply-To
<35d3a07d-5d2f-aedd-94bc-4d92e5aa4661@web.de>
On Mon, Nov 14, 2016 at 05:35:56PM +0100, Torsten Bögershausen wrote:
Show 10 quoted lines
> > What is the goal for 'pu'?
> 
> > (1) Builds clean on all platforms + passes all tests
> Yes
> > (2) Builds clean on all platforms
> Yes
> > (3) Builds clean on Linux
> Yes
> > (4) Just makes new topics easily available to a broader audience
> Yes

I'd have answered differently, though I think in the end we agree on the outcome.

I think the only thing that matters is (4). It _usually_ builds and passes all tests, but not always. But the point is that nobody should care in particular about "pu". What we care about is whether the individual topics will build and pass before they are merged to master (or even "next").

So "pu" is a tool, because you can test all of the topics at once and find out early if there are any problems. And it's good to investigate problems there before topics hit next (though they are also often caught in review, or by people trying the broken topic on their various platforms, or sometimes Junio even pushes out a known-broken state in pu and mentions it in "What's cooking").

So yes, it should do all of those things, but we don't necessarily expect that it will never be broken. That's expected to happen from time to time, and the purpose of the branch. With respect to Lars' original point:

> > Git 'pu' does not compile on macOS right now:
> > builtin/bisect--helper.c:299:6: error: variable 'good_syn' is used uninitialized 
> > whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]

The next step is to make sure that the topic author is aware (in this case, one assumes it's pb/bisect).

Better still is to make a patch that can either be applied on top, or squashed as appropriate. I know that Ramsay Jones does this, for example, with some of his sparse-related checks, and I'm pretty sure from the turnaround-time that he runs it against "pu".

-Peff
Previous: Torsten BögershausenNext: Ramsay Jones
Message 11 of 17 in “mingw: hot-fix t5615”
  1. mingw: hot-fix t5615Johannes Schindelin, Nov 11, 2016
  2. Junio C HamanoNov 11, 2016
  3. Johannes SixtNov 11, 2016
  4. t0021, t5615: use $PWD instead of $(pwd) in PATH-like shell variablesJohannes Sixt, Nov 11, 2016
  5. Jeff KingNov 11, 2016
  6. Junio C HamanoNov 11, 2016
  7. Johannes SchindelinNov 12, 2016
  8. Junio C HamanoNov 13, 2016
  9. Lars SchneiderNov 14, 2016
  10. Torsten BögershausenNov 14, 2016
  11. Jeff KingNov 14, 2016
  12. Ramsay JonesNov 14, 2016
  13. Junio C HamanoNov 14, 2016
  14. Johannes SchindelinNov 15, 2016
  15. Johannes SchindelinNov 16, 2016
  16. Junio C HamanoNov 16, 2016
  17. Jeff KingNov 11, 2016

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.