On 12.05.2024 23.11, Xiyue Deng wrote: > Nis Martensen <[email protected]> writes: > >> On 11.05.2024 08.23, Xiyue Deng wrote: >>> I'd like to propose adding an option to skip loading configuration files >>> (/etc/reportbug.conf and ~/.reportbugrc). The use case is for external >>> programs that runs reportbug (e.g. debian-bug in elpa-debian-el) which >>> provides its own command line switches and have an assumption on the >>> output. When a user set some custom options, notably CC related ones, >>> it may interfere with how X-Debbugs-Cc is handled and broke some of the >>> assumptions of external tools (see https://bugs.debian.org/1032662). >> >> Thanks for the report. Did you intend to link to a different bug as your >> example? The one you cite does not seem to be related to reportbug. > > Ah, indeed. I was trying to refer to https://bugs.debian.org/1069908. > Thanks for the correction!
Thanks for providing the example. To me it does not give convincing evidence that an option to skip loading configuration files is a good idea. Even with such an option one would still be able to get unintended results by calling reportbug with buggy arguments. ;) Can you please clarify what specific assumptions of external tools you have in mind? Would a command line option to override a "list-cc-me" specified in the configuration file be sufficient to solve the problem? Is this an actual problem in your case?

