I appreciate the quick reply. Typically, in my experience, YAML validation is done with a JSON schema, not a a schema in YAML format. Looks like there's a Python library you're using that can…
Thank you for the quick turnaround!!
source_directories
optional if roots are specified in patterns file
To answer your question at the end: I'm aiming for separation of concerns: I'd like the YAML to define configuration-specific (not paths) and have all paths centralized in one patterns file. That…
source_directories
optional if roots are specified in patterns file
I took a peek at the borg source code. It looks like it just parses the R
paths out of the patterns file and appends it to the list holding the values passed to the PATH
positional parameter.…
source_directories
optional if roots are specified in patterns file
Could you take an approach where if source_directories
is missing, you initialize it to an empty array, just as if I had done it manually (as explained in your first bullet point)?
That way,…
source_directories
optional if roots are specified in patterns file