Have a default location for the configuration file
Discussion is still in-progress concerning swh.core.config
rework (swh-core#1410).
Migrated from T2678 (view on Phabricator)
Discussion is still in-progress concerning swh.core.config
rework (swh-core#1410).
Migrated from T2678 (view on Phabricator)
mentioned in merge request !15 (closed)
added Software Heritage filesystem priority:Normal labels
While we wait for a proper solution, I think there is nothing stopping swh fuse
from loading a configuration file by default if it exists and -C
is not passed on the CLI.
We should just move -C
up one level (from swh fuse mount
to swh fuse
) and do something similar to what swh-scanner does.
The location of the file might change in the future as a consequence of swh-core#1410, but meh, it's not a big deal.
We can stay on the safe side for now and only support ~/.config/swh/fuse/fuse.yml
. And we will worry about merging with a global config file later.
assigned to @haltode
mentioned in commit bbcd975f
added state:wip label
removed state:wip label
closed
mentioned in merge request !79 (closed)