Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-19 Thread Xiyue Deng
Nis Martensen writes: > On 18.05.2024 22.58, Xiyue Deng wrote: >> Using the use case in elpa-debian-el as an example, we handle CCing >> oneself in ELisp, so we assume reportbug is invoked without "list-cc-me" >> by not passing that argument. However, if the user has a >> "~/.reportbugrc" with

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-19 Thread Nis Martensen
On 18.05.2024 23.52, Nis Martensen wrote: > Since this is about cc-related options, are you already including the -x > (or --no-cc) option when invoking reportbug? Just checked and you don't need it when using --template. Bcc headers will be stripped off and won't be included in that case.

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-19 Thread Nis Martensen
Hi Xiyue, > If we have an option to disable loading "~/.reportbugrc" we can avoid > this situation. There is no option to disable loading /etc/reportbugrc, but you can already disable loading ~/.reportbugrc by setting $HOME to a non-existing directory or the empty string: $ grep cc

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-18 Thread Nis Martensen
On 18.05.2024 22.58, Xiyue Deng wrote: > Using the use case in elpa-debian-el as an example, we handle CCing > oneself in ELisp, so we assume reportbug is invoked without "list-cc-me" > by not passing that argument. However, if the user has a > "~/.reportbugrc" with "list-cc-me" in it, it will

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-18 Thread Xiyue Deng
Hi Nis, Nis Martensen writes: > On 12.05.2024 23.11, Xiyue Deng wrote: >> Nis Martensen 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

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-18 Thread Nis Martensen
On 12.05.2024 23.11, Xiyue Deng wrote: > Nis Martensen 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

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-12 Thread Xiyue Deng
Nis Martensen 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 >>

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-12 Thread Nis Martensen
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

Bug#1070881: reportbug: Provide an option to skip loading configuration files

2024-05-11 Thread Xiyue Deng
Package: reportbug Version: 12.0.0 Severity: wishlist 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