On Thu, 02 Jan 2025, Bill Allombert wrote:n
> On Tue, Dec 31, 2024 at 11:45:49PM -0800, Don Armstrong wrote:
> > On Sun, 29 Dec 2024, Bill Allombert wrote:n
> > > Do you have a preference how to fix this bug ?
> > 
> > My personal preference is to fix debbugsconfig to not copy those files
> > at all. The example config is needlessly verbose, and most of the rest
> > of them don't need to be copied in the first place.
> 
> Then, what is the minimal configuration set for a brand new debbugs instance
> (not a mirror of bugs.debian.org) ? 
> It is easy enough to adapt my patch to install solely the needed files.

The most minimal configuration is what the code in
t/lib/DebbugsTest.pm's create_debbugs_configuration does:
https://salsa.debian.org/debbugs-team/debbugs/-/blob/master/t/lib/DebbugsTest.pm?ref_type=heads#L63

There's a good argument to abstract that out into a
function in Debbugs::Config which can generate a configuration with
enough special hooks for testing.

That said, I think for right now if you want to punt and just fix the
bug and then we can make the fix better later, I'm OK with that.


-- 
Don Armstrong                      https://www.donarmstrong.com

Once, our bodies were bells:
Simply moving in the wind
We tolled our names.
 -- Phillis Levin "Poetry in Motion" p55

Reply via email to