Actions
Idea #21020
openSupport XDG base directory envvars throughout the Python SDK
Start date:
Due date:
Story points:
-
Description
We should support XDG Base Directory environment variables throughout the Python SDK. Things like XDG_CONFIG_PATH
and XDG_CACHE_HOME
. Note that this includes validations like ensuring the paths are absolute. There are probably packages on PyPI that can help us with this.
Known specific instances:
arvados.config.initialize
should default toconfig_file=None
. When the value isNone
, the function should searchXDG_CONFIG_PATH
to findarvados/settings.conf
.arvados.api.http_cache
should create and write to to$XDG_CACHE_HOME/arvados/SUBDIR
.
Related issues
Updated by Tom Clegg 4 months ago
- Related to Idea #21323: System services use cache/config directories indicated by XDG env vars / systemd directives added
Actions