kworkflow / patch-hub

patch-hub is a TUI that streamlines the interaction of Linux developers with patches archived on lore.kernel.org
GNU General Public License v2.0
8 stars 6 forks source link

Move default location of `patch-hub` to `~/.config/patch-hub` #73

Closed davidbtadokoro closed 1 week ago

davidbtadokoro commented 1 month ago

Description:

Currently, the default location of the config.json configuration file of patch-hub is at ~/.local/share/patch-hub/config.json. I propose to move it to ~/.config/patch-hub/config.json.

Motivation:

We should enforce the configuration specification as a XDG compliant project.

davidbtadokoro commented 1 month ago

Added the good first issue tag, as I think this can be done by only changing this line. Of course, covering this new behavior in the tests at src/app/config/tests.rs is a must.