software/theia: Fix exporter.exclude logic
requested to merge xavier_thompson/slapos:fix/theia-resiliency-scripts-clarify-filter-rules into master
-
Rework
exporter.excludelogic, with the following goals in mind:-
exporter.excludemay contain absolute paths for convenience (so that SRs may write e.g.$${directory:logs}) -
exporter.excludelists paths and patterns of paths that must not be transferred to theia1, but that should be preserved in theia1 if they already exist there. -
__buildout_installed__paths listed in.installed*.cfgshould not be transferred to theia1, and should be deleted if they already exist in theia1. There is no need to parse.installed*.cfgin theia1, as any paths not included in the transfer and not matched inexporter.excludewill be deleted by default.
-
-
Change backup signature logic to support non-ascii file and folder names by ensuring filepaths are represented on a single line even when they contain non-printable, newline or non-ascii characters, or even when their encoding it not valid utf-8.
Edited by Xavier Thompson