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

Libification update (was: What's cooking in git.git (Aug 2024, #10; Tue, 27))

From
Josh Steadmon <steadmon@google.com>
Date
Aug 28, 2024, 20:38 UTC
Message-ID
<eoy2sjhnul57g6crprxi3etgeuacjmgxpl4yllstih7woyuebm@bd62ib3fi2ju>
In-Reply-To
<xmqq5xrl7fgu.fsf@gitster.g>
Hi folks,
Since we're no longer doing our regular libification sync
videoconference, I wanted to highlight recent developments related to
libification. These include:
* general code-health cleanups that make it easier to use Git as a
  library, such as leak fixes, error handling improvements, and
  reduction of global state
* unit testing, to get more coverage on Git internals
* explicit libification, i.e. exposing Git internals for use in other
  code bases
There are some interesting series which could use some more reviewers:
* Calvin's and my js/libgit-rust [1] to add a proof-of-concept Rust
  wrapper and API around Git internals
* Patrick's ps/clar-unit-test [2] to add the Clar [3] unit-testing
  framework
* Patrick's ps/leakfixes-part-6 [11] to fix various memory leaks
* Toon's series [12] to fix a leak in bundle-uri.c
* Ghanshyam's gt/unit-test-oidset [13] to add tests for oidset
* Ghanshyam's gt/unit-test-oid-array [15] to migrate testhelper tests to
  the unit-test framework
Other relevant series, which do not necessarily need reviewer attention
at the moment:
* Patrick's ps/leakfixes-part-5 [4], which is cooking in next
One stalled series, perhaps someone is interested in picking this up?
* Philip's pp/add-parse-range-unit-test [5], expecting a reroll
Finally, I'd like to celebrate a few series that have (or will soon)
graduate to master:
* gt/unit-test-urlmatch-normalization [6] to migrate testhelper tests to
  the unit-test framework
* cp/unit-test-reftable-block [7] and cp/unit-test-reftable-readwrite
  [9] to migrate reftable tests to the unit-test framework
* ps/config-wo-the-repository [8] to remove dependency on global state
  in path.c and config.c
* ps/leakfixes-part-4 [10] to fix various memory leaks
* rs/remote-leakfix [14] fixes memory leaks in git-remote

In the near future, we at Google (mostly just Emily, Calvin, and me) will be focusing on the next reroll of js/libgit-rust and reviewing other libification-related series.

Thank you to everyone who contributed with series and/or reviews!

[1] https://lore.kernel.org/git/cover.1723242556.git.steadmon@google.com/ [2] https://lore.kernel.org/git/cover.1724159966.git.ps@pks.im/ [3] https://github.com/clar-test/clar [4] https://lore.kernel.org/git/cover.1724315484.git.ps@pks.im/ [5] https://lore.kernel.org/git/pull.1677.v2.git.git.1716710073910.gitgitgadget@gmail.com/ [6] https://lore.kernel.org/git/20240820152008.21354-2-shyamthakkar001@gmail.com/ [7] https://lore.kernel.org/git/20240821124150.4463-1-chandrapratap3519@gmail.com/ [8] https://lore.kernel.org/git/cover.1723540226.git.ps@pks.im/ [9] https://lore.kernel.org/git/20240813144440.4602-1-chandrapratap3519@gmail.com/ [10] https://lore.kernel.org/git/cover.1723614263.git.ps@pks.im/ [11] https://lore.kernel.org/git/cover.1724656120.git.ps@pks.im/ [12] https://lore.kernel.org/git/20240826083052.1542228-1-toon@iotcl.com/ [13] https://lore.kernel.org/git/20240824172028.39419-1-shyamthakkar001@gmail.com/ [14] https://lore.kernel.org/git/82cb986c-6830-4d9a-bad1-fe4cab6a76eb@web.de/ [15] https://lore.kernel.org/git/20240824170223.36080-1-shyamthakkar001@gmail.com/

Previous: Junio C Hamano
Message 2 of 2 in “What's cooking in git.git (Aug 2024, #10; Tue, 27)”
  1. Junio C HamanoAug 27, 2024
  2. Libification update (was: What's cooking in git.git (Aug 2024, #10; Tue, 27))Josh Steadmon, Aug 28, 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.