ActivityWatch / aw-core

Core library for ActivityWatch
Mozilla Public License 2.0
48 stars 46 forks source link

Migrate to `platformdirs` since `appdirs` is deprecated #122

Closed BelKed closed 1 year ago

BelKed commented 1 year ago

Fixes https://github.com/ActivityWatch/activitywatch/issues/914 Based on https://github.com/iterative/dvc/pull/9131

ErikBjare commented 1 year ago

Very nice, thanks!

ErikBjare commented 11 months ago

It seems platformsdirs uses the new XDG_STATE_HOME to store log files (spec) since v2.6.

This is a breaking change, and I will remedy it by deferring to the old XDG_CACHE_HOME/log, and pinning platformdirs since they seem to have breaking changes willy nilly.