Hi, Here a patch to allow use of XDG_CONFIG_HOME/debian/reportbugrc for settings. Reading ~/.reportbugrc is still provided for convenience. Regards, Rodolphe
control: tags -1 + moreinfo what's the advantage? why under the 'debian' namespace? Regards,
Le 06/06/2015 17:34, Sandro Tosi a écrit : Mainly, organize config files in home directory in following the xdg basedir spec [1]. Note that this patch didn't remove the previous config file path, it just adds the possibility to move the config file in this new xdg dir. Well, I guess I would like that most config files related to debian tools are in the same place (I proposed similar patches that purpose to dput [2] and git-buildpackage [3] for now). But if XDG_CONFIG_HOME/debian dir is not appropriate, XDG_CONFIG_HOME/reportbugrc would be ok. Regards, Rodolphe [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787840 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787519
Control: tags -1 - moreinfo Control: found -1 6.5.0 Control: tags 742227 + patch Control: forcemerge 742227 -1 I've just poked #625654 about this, but it's not clear that reportbug is inherently Debian-specific. I also think that since they're separate applications written by separate developers, a 'debian' subdirectory would not be suitable. There's another bug to use ~/.config/ with the same intent, so I'm merging that in.
Not sure if anyone has proposed updated ways to do it, but I made a minimal patch that implements it with fallback to legacy config. It's not trying to move anything, just using XDG base dir if it's a new installation and picking legacy config if it already exists. It allows to start using it for fresh installs and not breaking it for old ones which is a simple temporary compromise. See attached. Regards, Shmerl.