Allow environment variable resolution in configuration file #548
No reviewers
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#548
Loading…
Reference in New Issue
No description provided.
Delete Branch "essembeh/borgmatic:configuration-env-resolve"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
be resolved
values if variable is not present in environment
by default
Resolves: #546
This looks great. And tests too! Thank you so much for taking the time to do this when all you needed was the database password from the environment. Clever use of the negative look-ahead for an escaped
$
.. I wouldn't have thought of that. Heads up that I may rename the--no-env
flag for consistency with other borgmatic flags. And I can write up some documentation when I get a chance.