I'm not exactly sure the following is on purpose or accident. Feel free to close if it's on purpose.
The jgo docs state the default jgo cache dir is ~/.cache/jgo
jgo/constants.py does correctly return get_user_home() / ".cache" / "jgo"
But scyjava seems to forcefully override the default cache dir:
scyjava/_jvm.py:205 calls:
env = jgo.build(endpoint=endpoint, cache_dir=scyjava.config.get_cache_dir(), ...)
and scyjava/config.py:27 hard codes:
_cache_dir = Path.home() / ".jgo"
Not only does it have a different notion of what the default location should be, but it doesn't seem to let the user utilize the jgo config file (settings.cacheDir) / env var (JGO_CACHE_DIR) to set it to a custom location. Or at least I'm not able to find evidence that set_cache_dir is called in order to override it.
Likewise with the m2 cache, although there the defaults agree.
I'm not exactly sure the following is on purpose or accident. Feel free to close if it's on purpose.
The jgo docs state the default
jgocache dir is~/.cache/jgojgo/constants.pydoes correctly returnget_user_home() / ".cache" / "jgo"But scyjava seems to forcefully override the default cache dir:
scyjava/_jvm.py:205calls:env = jgo.build(endpoint=endpoint, cache_dir=scyjava.config.get_cache_dir(), ...)and
scyjava/config.py:27hard codes:_cache_dir = Path.home() / ".jgo"Not only does it have a different notion of what the default location should be, but it doesn't seem to let the user utilize the
jgoconfig file (settings.cacheDir) / env var (JGO_CACHE_DIR) to set it to a custom location. Or at least I'm not able to find evidence thatset_cache_diris called in order to override it.Likewise with the
m2cache, although there the defaults agree.