Re: [PATCH 7/8] odb: read alternates via sources
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Dec 10, 2025, 05:54 UTC
- Message-ID
- <aTkK-ipzrsG21blw@pks.im>
- In-Reply-To
- <gmhqd5nkhpk5wqjnfrn6blnxo2owvfgomfbi652fi462nf3tny@eyhy6glagywx>
On Tue, Dec 09, 2025 at 11:49:55AM -0600, Justin Tobler wrote:
Show 6 quoted lines
> Question: the interface of odb_source_read_alternates() still expects > parsed alternates to be written to the output strvec. The sources don't > get added to the ODB source list until odb_add_source() is invoked on > the source. Does this mean odb_add_source() will have to be able to > handle various different types of ODB sources? If so, will these be > differentiated by some sort of URI?
Yes, exactly. The plan is to use syntax like "files://path" or "postgres://127.0.0.1:5432?database=myrepo". See also the discussion in [1].
Patrick
[1]: <aS2V4TKeS4V_oxAb@pks.im>