Bug#1090997: debbugsconfig depends on /usr/share/doc/debbugs/
Don Armstrong <[email protected]> Sun, 5 Jan 2025 10:47:50 -0800
| Newsgroups | gmane.linux.debian.devel.debbugs |
|---|---|
| Message-ID | <uxtogaxxtvhiyhrcje47vqih3qeqcukvqititykzuk5xynscuw__14097.5902833574$1736103092$gmane$org@6bmncu32ji4w> |
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.