Tough crowd. Done.
Tests added/updated and linting errors should be fixed.
I'm just a tourist from the land of const chars so I'm not familiar with local customs. Since the linter is complaining let's make it lowercase.
Fixed.
Sure thing! And thanks for commenting.. I'm glad to hear
STATE_DIRECTORYwould be useful. If you do want to review something that doesn't require a degree in Python, you can have a gander at…
My Python isn't good enough to give this a proper review but thumbs up for supporting STATE_DIRECTORY. I didn't think to make a fuss about it but strictly speaking system service state should be…
/run/user/$UID
Good point. However in the common case, borgmatic doesn't put database dumps there; it puts named pipes there for streaming database dumps directly to Borg. And on [this particular page about…
/run/user/$UID
I only speak for the Linux platform but XDG_RUNTIME_DIR for users and RUNTIME_DIRECTORY for system unless overridden by borgmatic config LGTM. Falling back to /tmp if nothing is set also…
/run/user/$UID