GothenburgBitFactory / GothenburgBitFactory/taskwarrior
Hooks should be in config, not data
- Dominant language
- C++
- Stars
- 6.1k
- Forks
- 423
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
From [this](https://github.com/GothenburgBitFactory/taskwarrior/blob/9017cd6e530e4dbb0aaabd66dd11f6e7e0b56aa4/src/Hooks.cpp#L73), hooks default location is in `data.location`.
However I believe hooks are part of the configuration (version control on them would be useful), and should be in the config folder ($XDG_CONFIG_HOME).
Should the default folder be moved ? If so, should there be a mechanism to detect if the old folder is used ?
I am willing to work on this issue.
Other locations in the code :
- https://github.com/GothenburgBitFactory/taskwarrior/blob/9017cd6e530e4dbb0aaabd66dd11f6e7e0b56aa4/src/commands/CmdDiagnostics.cpp#L295
Contributor guide
Assessment
This issue has not been assessed yet.