Re: [PATCH v3 0/6] odb: make packfile generation pluggable

Karthik Nayak <[email protected]>
Newsgroups org.kernel.vger.git
Message-ID <CAOLa=ZRsVjRrwzAf==SmevATf+OWoHdnHwUbvi1=M6foBRzLnA@mail.gmail.com>
Patrick Steinhardt <[email protected]> writes:

> Hi,
>
> this patch series makes packfile generation pluggable.
>
> Note that this series only makes those parts pluggable that are required
> for the transport layer. The other parts that relate to packfile
> generation as required by our repository maintenance is kept as-is, as
> there is a bunch of options there that are way too specific to the
> "files" backend to be portable. This should ultimately not be much of a
> problem though, as maintenance itself is already pluggable in the first
> place.
>
> It's a bit of a shame though for git-pack-objects(1), which still isn't
> usable with alternate backends. I tried several times to find good
> solutions for making it fully pluggable, but due to the backend-specific
> options it's an utter mess. I want to eventually address this though:
> same as with git-refs(1), I want to introduce git-objects(1) to care
> about all things ODB. And as part of that command we can also introduce
> a command that generates packfiles in a generic fashion, without all the
> cruft that git-pack-objects(1) has. This is part of a future patch
> series though.
>
> Changes in v3:
>   - Fix a use-after-scope bug on abnormal exit when child processes are
>     cleaned up via `mark_child_for_cleanup()`, as noticed by Elijah.
>   - Link to v2: https://patch.msgid.link/[email protected]
>

Dropping in to review the new version, the changes look good!

[snip]
signature.asc (application/pgp-signature, 690 B)
-----BEGIN PGP SIGNATURE-----

iQHKBAEBCgA0FiEEV85Mf2N1cQ/LZcYGPtWfJI5GjH8FAmqG4usWHGthcnRoaWsu
MTg4QGdtYWlsLmNvbQAKCRA+1Z8kjkaMfzAsDAChthyFr5j+krKt01IysVQA+Ujl
108+ZLXI0B3QCs5A6Uwo7x7rVHf14lnriu1fl78lcGGajfnRlShQFym+8IYncQtz
V2UFHF3W481bP6397fRtPlNv9T6hJrq8Rv2SXSDqJukudgo8kY9DxS8iT3sQV4ip
7XAX1RZ3mae0Ovsy4k/wTxtLMeDL3JDcE+mqAviGkaSKm5vBEmzqBHiUuPB/epCr
RnSpxqgDkAQ401m+Ez6g9MWEtZ6Z2YdqQy6r31PNWWDgpRdcT+zmyeGVEcK1pTzB
nMLmAUJSR0FoSpIw2nS5ieMLP5bZZRsZvycV893ZQu7O958RfmxFfaapOK8O0Gvr
+/N4aIlr5jDh59ZYcWJpQLBYgiRhvdFqrCqXuSkH7XLxud+JnLA9o5qrCYbG9bev
WKoGCwKgg/tA0iExm9b85kpxZkpg/2uxjza19kRUL/Lu3kUD8cVegrSZ1EolAz9/
BhdHqwABaKiv/MNuJT3OgpH58gDFB3Oplywwz/M=
=QA7X
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.