GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
740 stars 209 forks source link

TOML Configuration #873

Closed ryneeverett closed 1 year ago

ryneeverett commented 2 years ago

Now that configuration parsing is decoupled from the services (#849), it should be fairly easy to add a second configuration parser for a more modern format. I believe TOML is currently the best candidate and thanks to PEP-518 has a special place in the python ecosystem. (Edit 2023: Now that much of the taskwarrior code base itself is transitioning to rust, toml seems even more at home in the taskwarrior ecosystem.)

My goal would be to add support for toml, deprecate the INI format, and convert most of the documentation over while leaving a separate page or section to explain how the legacy format works. I don't foresee a need to remove INI support. In fact it will probably help us keep configuration parsing decoupled from validation.