News for hackers. Stuff that matters.
Re:$Home, Not So Sweet $Home by zlg_codes on Thursday August 17, 2023 @04:54AM (#37158961)
If I remember correctly, ncmpcpp did this crap.

$HOME/.ncmpcpp -> $XDG_CONFIG_HOME/ncmpcpp

The correct way to handle this, for any projects forcing the change, is to use a staged deprecation period:

* first, you add support for XDG

* second, wait at least one version to give people time to get used to it

* third, switch the config location search order so it checks XDG before .whatever

* lastly, after an announcement and deprecation period, and at least 2-3 releases, remove support for the .whatever folder.

(To be fair, it's totally possible that my upgrade path with ncmpcpp skipped over some steps and they actually did it correctly. Will have to check when I care enough to dig through commits.)

There are no comments on this comment yet.