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

ab/refs-errno-cleanup + hn/reftable (was: What's cooking in git.git (Nov 2021, #04; Sun, 14))

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Nov 15, 2021, 19:37 UTC
Message-ID
<211115.86sfvxqkbb.gmgdl@evledraar.gmail.com>
In-Reply-To
<xmqqv90tfhh2.fsf@gitster.g>
On Mon, Nov 15 2021, Junio C Hamano wrote:
Show 55 quoted lines
> * ab/refs-errno-cleanup (2021-10-16) 21 commits
>   (merged to 'next' on 2021-10-29 at 3f57147176)
>  + refs API: post-migration API renaming [2/2]
>  + refs API: post-migration API renaming [1/2]
>  + refs API: don't expose "errno" in run_transaction_hook()
>  + refs API: make expand_ref() & repo_dwim_log() not set errno
>  + refs API: make resolve_ref_unsafe() not set errno
>  + refs API: make refs_ref_exists() not set errno
>  + refs API: make refs_resolve_refdup() not set errno
>  + refs tests: ignore ignore errno in test-ref-store helper
>  + refs API: ignore errno in worktree.c's find_shared_symref()
>  + refs API: ignore errno in worktree.c's add_head_info()
>  + refs API: make files_copy_or_rename_ref() et al not set errno
>  + refs API: make loose_fill_ref_dir() not set errno
>  + refs API: make resolve_gitlink_ref() not set errno
>  + refs API: remove refs_read_ref_full() wrapper
>  + refs/files: remove "name exist?" check in lock_ref_oid_basic()
>  + reflog tests: add --updateref tests
>  + refs API: make refs_rename_ref_available() static
>  + refs API: make parse_loose_ref_contents() not set errno
>  + refs API: make refs_read_raw_ref() not set errno
>  + refs API: add a version of refs_resolve_ref_unsafe() with "errno"
>  + branch tests: test for errno propagating on failing read
>
> The "remainder" of hn/refs-errno-cleanup topic.
>
> Will cook in 'next'.
>
> [...]
>
> * hn/reftable (2021-10-08) 19 commits
>  - Add "test-tool dump-reftable" command.
>  - reftable: add dump utility
>  - reftable: implement stack, a mutable database of reftable files.
>  - reftable: implement refname validation
>  - reftable: add merged table view
>  - reftable: add a heap-based priority queue for reftable records
>  - reftable: reftable file level tests
>  - reftable: read reftable files
>  - reftable: generic interface to tables
>  - reftable: write reftable files
>  - reftable: a generic binary tree implementation
>  - reftable: reading/writing blocks
>  - Provide zlib's uncompress2 from compat/zlib-compat.c
>  - reftable: (de)serialization for the polymorphic record type.
>  - reftable: add blocksource, an abstraction for random access reads
>  - reftable: utility functions
>  - reftable: add error related functionality
>  - reftable: add LICENSE
>  - hash.h: provide constants for the hash IDs
>
>  The "reftable" backend for the refs API, without integrating into
>  the refs subsystem.
>
>  Will merge to 'next'?

I think hn/reftable is very much ready for "next", and it would be good to get a strong start at the greater "reftable" topic this cycle, which ab/refs-errno-cleanup is also a part of.

As noted in a recent thread[1] I've got pending patches on top of it that go further in closing the gap between hn/reftable and eventual full in-tree integration.

1. https://lore.kernel.org/git/211111.86k0hevjhs.gmgdl@evledraar.gmail.com/
Previous: Fabian Stelzer
Message 6 of 6 in “What's cooking in git.git (Nov 2021, #04; Sun, 14)”
  1. Junio C HamanoNov 15, 2021
  2. ab/mark-leak-free-tests-even-more (was: What's cooking in git.git (Nov 2021, #04; Sun, 14))Ævar Arnfjörð Bjarmason, Nov 15, 2021
  3. Elijah NewrenNov 15, 2021
  4. ab/only-single-progress-at-once (was: What's cooking in git.git (Nov 2021, #04; Sun, 14))Ævar Arnfjörð Bjarmason, Nov 15, 2021
  5. Fabian StelzerNov 15, 2021
  6. ab/refs-errno-cleanup + hn/reftable (was: What's cooking in git.git (Nov 2021, #04; Sun, 14))Ævar Arnfjörð Bjarmason, Nov 15, 2021

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.