You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code quality seems decent, from an experienced developer
the amount of code is not much, but also not trivial. it might be also interesting for us that it supports android also (but not sure it is relevant for termux users).
some dists have it already packaged, some do not (looked at debian,ubuntu,fedora), so there might be some work for packagers.
Guess we need to change a bit how this works in borg:
old: use BORG_BASE_DIR env. If not set, make something up from HOME/USER/~.
old: the caller does use BORG_DIR, falls back to something in BORG_BASE_DIR, falls back to XDG_HOME, falls back to HOME/USER/~.
new: just use BORG_BASE_DIR env, if set, leave everthing else to caller.
new: the caller does use BORG_*_DIR, falls back to something in BORG_BASE_DIR, falls back to platformdirs.get_* (which deals with XDG stuff on some platforms).
@RayyanAnsari suggested to use the
platformdirs
python lib ( https://github.com/platformdirs/platformdirs ) and I had a closer look now:user_config_dir
goes against OS guidelines tox-dev/platformdirs#98The text was updated successfully, but these errors were encountered: