All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlo Arenas <carenas@gmail.com>
To: Han-Wen Nienhuys <hanwen@google.com>
Cc: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
	"Junio C Hamano" <gitster@pobox.com>,
	git@vger.kernel.org, ramsay@ramsayjones.plus.com
Subject: Re: hn/reftable (Re: What's cooking in git.git (Sep 2021, #08; Mon, 27))
Date: Wed, 29 Sep 2021 22:06:02 -0700	[thread overview]
Message-ID: <CAPUEspj6q_N-ZPRzUv8jx_5_eP0gDO5TyTpi5-kPkfeoVhkjvg@mail.gmail.com> (raw)
In-Reply-To: <CAFQ2z_NxqLVfSWNtcXdyWQsTXrTrWGq7Qof=wdx9mmeqOAJS_Q@mail.gmail.com>

On Tue, Sep 28, 2021 at 5:19 AM Han-Wen Nienhuys <hanwen@google.com> wrote:
> On Tue, Sep 28, 2021 at 10:38 AM Ævar Arnfjörð Bjarmason
> <avarab@gmail.com> wrote:
> > > * hn/reftable (2021-09-10) 20 commits
> > >  - fixup! reftable: implement stack, a mutable database of reftable files.
> > >  - 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: RFC: 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 we've reached approximately "good enough" with this for the next
> > steps, and can hopefully fix any remaining nits (such as my [1])
> > post-merge.
>
> There is still an RFC in 02/19. Maybe we can get agreement that this
> is OK and drop the RFC ?
>
> > Maybe hold off until Han-Wen gets a chance to ack it, and whether he's
> > ok with the proposed fixup(s)?
>
> regarding uncompress2: I thought it was functionality best left to
> zlib to implement, but I imagine git.git offers something similar.
> Sounds good to use that.
>
> > Wasn't there an outstanding "some of this in reftable/* should be static
> > functions" from someone, Carlo? (CC'd). In any case that sort of thing
> > could also be a post-cleanup, I couldn't find a reference to that
> > discussion in anything except my vague memory of it as I wrote this.
>
> I think I have addressed all outstanding issues in my github PR, and
> I'll send it out once I see CI pass.

It was actually raised by Ramsay[1], and might have been a red herring,
but there was for sure no follow up.

I have a few minor fixups that will post for discussion, and might be even
ok to merge to next without squashing if included on top, but I am not
sure if all those issues could be addressed post-cleanup, since IMHO
once this gets into master, then it will be considered a stable API
and it can't be changed.

For example. while looking at Ramsay message noticed the API for "reader"
in libreftable might be better with s/init_reader/reader_init/g

Carlo

[1] https://lore.kernel.org/git/bc387e32-321e-4726-2a02-2e6cf6ed5250@ramsayjones.plus.com/

CC +Ramsay

  reply	other threads:[~2021-09-30  5:07 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  0:52 What's cooking in git.git (Sep 2021, #08; Mon, 27) Junio C Hamano
2021-09-28  1:57 ` Ævar Arnfjörð Bjarmason
2021-09-28 20:52   ` Junio C Hamano
2021-09-28  6:46 ` Elijah Newren
2021-09-28  7:45   ` Ævar Arnfjörð Bjarmason
2021-09-28 17:25     ` Junio C Hamano
2021-09-28 21:00       ` Neeraj Singh
2021-09-28 23:34         ` Junio C Hamano
2021-09-28 23:53           ` Neeraj Singh
2021-10-07 22:01             ` Junio C Hamano
2021-10-08  6:51               ` Elijah Newren
2021-10-08 22:30                 ` Neeraj Singh
2021-10-08 23:01                 ` Junio C Hamano
2021-09-28  8:07   ` Ævar Arnfjörð Bjarmason
2021-09-28 17:27     ` Junio C Hamano
2021-09-28 13:31   ` Derrick Stolee
2021-09-28 17:33     ` Junio C Hamano
2021-09-28 20:16       ` Derrick Stolee
2021-09-28 17:16   ` Junio C Hamano
2021-09-29  6:42     ` Elijah Newren
2021-09-28 23:40   ` Jeff King
2021-09-28 23:49     ` Jeff King
2021-09-29 18:43     ` Neeraj Singh
2021-09-30  8:16       ` Jeff King
2021-10-01  7:50         ` Elijah Newren
2021-10-01 17:02           ` Junio C Hamano
2021-10-01 17:39             ` Neeraj Singh
2021-10-01 18:15               ` Elijah Newren
2021-10-01 18:12             ` Elijah Newren
2021-10-01 22:02               ` Junio C Hamano
2021-10-01 23:05                 ` Elijah Newren
2021-10-04 13:45     ` Elijah Newren
2021-09-28  8:22 ` da/difftool (was: Re: What's cooking in git.git (Sep 2021, #08; Mon, 27)) Ævar Arnfjörð Bjarmason
2021-09-28  8:23 ` ns/batched-fsync & en/remerge-diff (was " Ævar Arnfjörð Bjarmason
2021-09-28  8:31 ` sg/test-split-index-fix " Ævar Arnfjörð Bjarmason
2021-09-28  8:35 ` hn/reftable (Re: " Ævar Arnfjörð Bjarmason
2021-09-28 12:18   ` Han-Wen Nienhuys
2021-09-30  5:06     ` Carlo Arenas [this message]
2021-09-29  8:12 ` What's cooking in git.git (Sep 2021, #08; Mon, 27) Fabian Stelzer
2021-09-30 21:26   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPUEspj6q_N-ZPRzUv8jx_5_eP0gDO5TyTpi5-kPkfeoVhkjvg@mail.gmail.com \
    --to=carenas@gmail.com \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=hanwen@google.com \
    --cc=ramsay@ramsayjones.plus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.