All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Steinhardt <ps@pks.im>
To: "SZEDER Gábor" <szeder.dev@gmail.com>
Cc: git@vger.kernel.org, Karthik Nayak <karthik.188@gmail.com>
Subject: Re: [PATCH v3 2/7] setup: introduce object storage extension
Date: Mon, 26 Oct 2026 11:05:39 +0100	[thread overview]
Message-ID: <at8l86Eiz73QSAe_@pks.im> (raw)
In-Reply-To: <atzFrKoU/mrhq31L@szeder.dev>

On Sat, Oct 24, 2026 at 04:50:20PM +0200, SZEDER Gábor wrote:
> On Fri, Oct 23, 2026 at 01:49:11PM +0200, Patrick Steinhardt wrote:
> > Introduce a new "extensions.objectStorage" extension that allows the
> > user to configure the primary object database source of a repository.
> > The value is a URI in the format "<schema>[://<payload>]", mirroring
> > the format used by "extensions.refStorage":
> > 
> >   - The schema identifies the backend that shall be used. For now the
> >     only supported schema is "files", which is the existing object
> >     database backed by loose objects and packfiles.
> > 
> >   - The payload can be passed to configure the backend, and its
> >     interpretation is backend-specific. For the "files" backend, it
> >     allows you to configure a different location for the ".git/objects"
> >     directory.
> 
> Please justify why you want to make this configurable.

It allows us to already start testing pluggable object databases and the
object storage format extension together with a payload. But more
importantly it matches the semantics that we also have with the ref
storage format, where you can also configure the location.

We also have some use case for this at GitLab as a building block for
migrations. But the above two reasons are the more interesting ones for
now.

I'll adapt the commit message.

Patrick

  reply	other threads:[~2026-10-26 10:05 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  8:55 [PATCH 0/7] odb: introduce object storage extension Patrick Steinhardt
2026-10-19  8:55 ` [PATCH 1/7] loose: drop unused `repo_write_loose_object_map()` Patrick Steinhardt
2026-10-19 20:21   ` Karthik Nayak
2026-10-20  8:49     ` Patrick Steinhardt
2026-10-20 18:30       ` Karthik Nayak
2026-10-19  8:55 ` [PATCH 2/7] setup: introduce object storage extension Patrick Steinhardt
2026-10-19 21:29   ` Karthik Nayak
2026-10-20  1:27     ` Junio C Hamano
2026-10-20 18:32       ` Karthik Nayak
2026-10-20  8:50     ` Patrick Steinhardt
2026-10-20 19:06       ` Karthik Nayak
2026-10-19  8:55 ` [PATCH 3/7] setup: allow overriding object storage format via environment Patrick Steinhardt
2026-10-19 21:34   ` Karthik Nayak
2026-10-20  8:50     ` Patrick Steinhardt
2026-10-20 19:08       ` Karthik Nayak
2026-10-19  8:55 ` [PATCH 4/7] builtin: expose the object storage format Patrick Steinhardt
2026-10-19 21:40   ` Karthik Nayak
2026-10-20  8:50     ` Patrick Steinhardt
2026-10-20 19:10       ` Karthik Nayak
2026-10-19  8:56 ` [PATCH 5/7] builtin/init: introduce handling of " Patrick Steinhardt
2026-10-19  8:56 ` [PATCH 6/7] builtin/clone: introduce "--object-storage-format=" Patrick Steinhardt
2026-10-19  8:56 ` [PATCH 7/7] builtin/submodule: propagate "--object-storage-format=" Patrick Steinhardt
2026-10-21  5:39 ` [PATCH v2 0/7] odb: introduce object storage extension Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 1/7] loose: drop unused `repo_write_loose_object_map()` Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 2/7] setup: introduce object storage extension Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 3/7] setup: allow overriding object storage format via environment Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 4/7] builtin: expose the object storage format Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 5/7] builtin/init: introduce handling of " Patrick Steinhardt
2026-10-21 14:23     ` Karthik Nayak
2026-10-23  5:33       ` Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 6/7] builtin/clone: introduce "--object-storage-format=" Patrick Steinhardt
2026-10-21  5:39   ` [PATCH v2 7/7] builtin/submodule: propagate "--object-storage-format=" Patrick Steinhardt
2026-10-21 14:31   ` [PATCH v2 0/7] odb: introduce object storage extension Karthik Nayak
2026-10-23 11:49 ` [PATCH v3 " Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 1/7] loose: drop unused `repo_write_loose_object_map()` Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 2/7] setup: introduce object storage extension Patrick Steinhardt
2026-10-24 14:50     ` SZEDER Gábor
2026-10-26 10:05       ` Patrick Steinhardt [this message]
2026-10-26 11:22     ` Karthik Nayak
2026-10-26 11:53       ` Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 3/7] setup: allow overriding object storage format via environment Patrick Steinhardt
2026-10-26 11:25     ` Karthik Nayak
2026-10-26 11:53       ` Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 4/7] builtin: expose the object storage format Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 5/7] builtin/init: introduce handling of " Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 6/7] builtin/clone: introduce "--object-storage-format=" Patrick Steinhardt
2026-10-23 11:49   ` [PATCH v3 7/7] builtin/submodule: propagate "--object-storage-format=" Patrick Steinhardt
2026-10-26 11:35   ` [PATCH v3 0/7] odb: introduce object storage extension Karthik Nayak
2026-10-26 11:53     ` Patrick Steinhardt
2026-10-27  6:59 ` [PATCH v4 " Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 1/7] loose: drop unused `repo_write_loose_object_map()` Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 2/7] setup: introduce object storage extension Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 3/7] setup: allow overriding object storage format via environment Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 4/7] builtin: expose the object storage format Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 5/7] builtin/init: introduce handling of " Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 6/7] builtin/clone: introduce "--object-storage-format=" Patrick Steinhardt
2026-10-27  6:59   ` [PATCH v4 7/7] builtin/submodule: propagate "--object-storage-format=" Patrick Steinhardt
2026-10-28 10:53   ` [PATCH v4 0/7] odb: introduce object storage extension Karthik Nayak
2026-10-28 11:31     ` Patrick Steinhardt

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=at8l86Eiz73QSAe_@pks.im \
    --to=ps@pks.im \
    --cc=git@vger.kernel.org \
    --cc=karthik.188@gmail.com \
    --cc=szeder.dev@gmail.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.