From: Patrick Steinhardt Date: Mon, 26 Oct 2026 10:05:39 GMT Subject: Re: [PATCH v3 2/7] setup: introduce object storage extension Message-ID: In-Reply-To: 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 "[://]", 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