Page MenuHomeSoftware Heritage

Have a default location for the configuration file
Closed, MigratedEdits Locked

Description

Discussion is still in-progress concerning swh.core.config rework (T1410).

Event Timeline

haltode triaged this task as Normal priority.Oct 9 2020, 2:14 PM
haltode created this task.
haltode created this object in space S1 Public.
zack added a subscriber: zack.

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 T1410, 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.

haltode changed the task status from Open to Work in Progress.Oct 16 2020, 10:35 AM
haltode moved this task from Backlog to In progress on the Software Heritage filesystem board.