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

Re: [PATCH v0 1/1] Teach git version --build-options about zlib+libcurl

From
Jeff King <peff@peff.net>
Date
Jun 26, 2024, 20:42 UTC
Message-ID
<20240626204232.GD441931@coredump.intra.peff.net>
In-Reply-To
<xmqqmsn87n9x.fsf@gitster.g>
On Tue, Jun 25, 2024 at 01:58:18PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> <rsbecker@nexbridge.com> writes:
> 
> > My take on the separate patches and discussion about reporting run-time
> > values of libcurl, zlib, and OpenSSL, is that these are being added to
> > --build-options not --runtime-options (does not exist yet). I think that
> > grabbing run-time values could be confusing to users who expect the
> > --build-options even if comparing the two values.
> 
> Yup.  I thought that the consensus was to leave all those extra
> complexities like runtime versions for a later and separate topic
> done after the dust from this change settles.

My only qualm is that reading curl.h at all in a program that is not going to link it feels a bit funny (it is declaring symbols that will not be available at link time). And we could fix that immediately by having "remote-https --build-options".

Adding a curl_version() check on top of that could come later, but of course it would be easy to do.

But that may just be me being overly conservative. If nobody looks at those symbols, I'm not sure what harm would come.

-Peff
Previous: rsbecker@nexbridge.comNext: Junio C Hamano
Message 13 of 15 in “Teach git version --build-options about zlib+libcurl”
  1. 0/1 Teach git version --build-options about zlib+libcurlRandall S. Becker, Jun 21, 2024
  2. 1/1 Teach git version --build-options about zlib+libcurlRandall S. Becker, Jun 21, 2024
  3. Junio C HamanoJun 21, 2024
  4. Junio C HamanoJun 21, 2024
  5. rsbecker@nexbridge.comJun 21, 2024
  6. Junio C HamanoJun 21, 2024
  7. Junio C HamanoJun 21, 2024
  8. Randall BeckerJun 21, 2024
  9. Junio C HamanoJun 22, 2024
  10. rsbecker@nexbridge.comJun 25, 2024
  11. Junio C HamanoJun 25, 2024
  12. rsbecker@nexbridge.comJun 25, 2024
  13. Jeff KingJun 26, 2024
  14. Junio C HamanoJun 26, 2024
  15. Jeff KingJun 26, 2024

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.