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

[PATCH 0/2] refs: introduce reftable backend

From
Patrick Steinhardt <ps@pks.im>
Date
Jan 30, 2024, 08:05 UTC
Message-ID
<cover.1706601199.git.ps@pks.im>
Hi,

all prequisites for the reftable backend have now been merged or are about to be merged. This patch series thus introduces the reftable backend itself.

The patch series is built on top of c5b454771e (The eleventh batch, 2024-01-29). In addition it depends on ps/tests-with-ref-files-backend at bbd6106967 (t: mark tests regarding git-pack-refs(1) to be backend specific, 2024-01-29), which is about to be merged to "next".

The patch series is impacted by three in-flight patch series:
  - ps/reftable-compacted-tables-permission-fix, which fixes permissions
    on "tables.list" when compacting so that it correctly honors the
    "core.sharedRepository" setting.
  - jc/reftable-core-fsync, which starts to fsync reftable data to disk.
  - A follow-up to that patch series [1], which starts to fsync
    "tables.list" to disk during compaction.

The patch series does _not_ depend on those series. Instead, I have added a couple of tests marked with `test_expect_failure` to t0610. These tests will start to pass once those topics land. As I don't expect this patch series to land on its first iteration I very much assume that the in-flight patch series will land before the reftable backend does.

Patrick
[1]: <7bdafc9bd7f53f38a24d69a563615b6ad484e1ba.1706592127.git.ps@pks.im>
Patrick Steinhardt (2):
  refs: introduce reftable backend
  ci: add jobs to test with the reftable backend
 .github/workflows/main.yml                    |    9 +
 .gitlab-ci.yml                                |    9 +
 Documentation/ref-storage-format.txt          |    2 +
 .../technical/repository-version.txt          |    5 +-
 Makefile                                      |    1 +
 ci/lib.sh                                     |    2 +-
 ci/run-build-and-tests.sh                     |    3 +
 contrib/workdir/git-new-workdir               |    2 +-
 path.c                                        |    2 +-
 path.h                                        |    1 +
 refs.c                                        |    1 +
 refs/refs-internal.h                          |    1 +
 refs/reftable-backend.c                       | 2286 +++++++++++++++++
 repository.h                                  |    5 +-
 t/t0610-reftable-basics.sh                    |  887 +++++++
 t/t0611-reftable-httpd.sh                     |   26 +
 t/test-lib.sh                                 |    2 +
 17 files changed, 3237 insertions(+), 7 deletions(-)
 create mode 100644 refs/reftable-backend.c
 create mode 100755 t/t0610-reftable-basics.sh
 create mode 100755 t/t0611-reftable-httpd.sh
-- 
2.43.GIT
Next: Patrick Steinhardt
Message 1 of 23 in “refs: introduce reftable backend”
  1. 0/2 refs: introduce reftable backendPatrick Steinhardt, Jan 30, 2024
  2. 1/2 refs: introduce reftable backendPatrick Steinhardt, Jan 30, 2024
  3. Karthik NayakFeb 1, 2024
  4. Patrick SteinhardtFeb 2, 2024
  5. Patrick SteinhardtFeb 2, 2024
  6. 2/2 ci: add jobs to test with the reftable backendPatrick Steinhardt, Jan 30, 2024
  7. Junio C HamanoJan 30, 2024
  8. 0/2 refs: introduce reftable backendPatrick Steinhardt, Feb 2, 2024
  9. 1/2 refs: introduce reftable backendPatrick Steinhardt, Feb 2, 2024
  10. 2/2 ci: add jobs to test with the reftable backendPatrick Steinhardt, Feb 2, 2024
  11. Karthik NayakFeb 2, 2024
  12. Junio C HamanoFeb 3, 2024
  13. Patrick SteinhardtFeb 4, 2024
  14. 0/2 refs: introduce reftable backendPatrick Steinhardt, Feb 5, 2024
  15. 1/2 refs: introduce reftable backendPatrick Steinhardt, Feb 5, 2024
  16. 2/2 ci: add jobs to test with the reftable backendPatrick Steinhardt, Feb 5, 2024
  17. Karthik NayakFeb 5, 2024
  18. 0/2 refs: introduce reftable backendPatrick Steinhardt, Feb 7, 2024
  19. 1/2 refs: introduce reftable backendPatrick Steinhardt, Feb 7, 2024
  20. Jeff KingFeb 7, 2024
  21. Patrick SteinhardtFeb 8, 2024
  22. Jeff KingFeb 15, 2024
  23. 2/2 ci: add jobs to test with the reftable backendPatrick Steinhardt, Feb 7, 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.