News for: ~/.config/borgmatic/config.yaml.

This commit is contained in:
Dan Helfman 2018-06-17 14:30:47 -07:00
parent 7a1e3f5639
commit dede8f9d4b
2 changed files with 6 additions and 2 deletions

1
NEWS
View file

@ -10,6 +10,7 @@
* #63: Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in * #63: Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in
archive. archive.
* Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically. * Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically.
* Add ~/.config/borgmatic/config.yaml to default configuration path probing.
1.1.15 1.1.15
* Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file. * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file.

View file

@ -1,8 +1,11 @@
import os import os
DEFAULT_CONFIG_PATHS = ['/etc/borgmatic/config.yaml', '/etc/borgmatic.d', DEFAULT_CONFIG_PATHS = [
os.path.expanduser('~/.config/borgmatic/config.yaml')] '/etc/borgmatic/config.yaml',
'/etc/borgmatic.d',
os.path.expanduser('~/.config/borgmatic/config.yaml'),
]
def collect_config_filenames(config_paths): def collect_config_filenames(config_paths):