Project

General

Profile

Actions

Feature #22354

open

Go SDK supports systemd and XDG path environment variables

Added by Brett Smith 26 days ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
Story points:
-

Description

In short, do for the Go SDK what #21020 did for the Python SDK. That implementation is in source:sdk/python/arvados/_internal/basedirs.py. Specs:

We give the systemd variables priority over the XDG ones.


Related issues 2 (2 open0 closed)

Related to Arvados - Idea #21323: System services use cache/config directories indicated by XDG env vars / systemd directivesNewActions
Related to Arvados - Bug #22350: LSF crunch-run using $HOME for the cacheNewActions
Actions #1

Updated by Brett Smith 26 days ago

  • Related to Idea #21323: System services use cache/config directories indicated by XDG env vars / systemd directives added
Actions #3

Updated by Brett Smith 26 days ago

  • Related to Bug #22350: LSF crunch-run using $HOME for the cache added
Actions #4

Updated by Peter Amstutz 26 days ago

  • Target version set to Development 2025-01-08
Actions #5

Updated by Carlos Fenoy 23 days ago

From my point of view it would be better if additionally Arvados has its own variable to configure paths. In the case of the cache we may want to point Arvados to a different directory than any other tool, and using XDG or Systemd variables could affect other tools like pip.

Actions #6

Updated by Peter Amstutz 17 days ago

  • Target version changed from Development 2025-01-08 to Development 2025-01-22
Actions

Also available in: Atom PDF