Re: [PATCH 05/13] setup: introduce explicit repository discovery
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jul 7, 2026, 06:25 UTC
- Message-ID
- <akyb6yOvhKS3qq3h@pks.im>
- In-Reply-To
- <akwocdrzeu0xBLQZ@denethor>
On Mon, Jul 06, 2026 at 05:19:59PM -0500, Justin Tobler wrote:
Show 8 quoted lines
> On 26/06/30 01:47PM, Patrick Steinhardt wrote: > > Like this, we'll never end up with a partially-configured repository and > > can eventually extend `repo_init()` to handle the full initialization > > for us. > > So IIUC the expectation here would be for all configuration of the > repository to happen prior to it being applied? Would it be a bug to > attempt to apply configuration to a repository more than once?
I'd say that it should be treated as a bug, yes. I basically want us to ensure that every repository is created once and exactly once via a constructor that takes all required parameters as input. That's still future music though.
Patrick