jadu / meteor

A packaging and deployment tool
https://jadu.github.io/meteor
MIT License
9 stars 1 forks source link

[MET-108] Don't scan all directories in the install when backing up #123

Closed jackbentley closed 3 years ago

jackbentley commented 3 years ago

This updates the code that handles the replace_directories config option to not scan the entire install directory. The user may not have permission to access some of the directories which causes the task to fatal error.

Additionally, this PR will enforce that the config values are directories starting at the installation root. i.e. /var or /var/config are at /patch/dir/var and /patch/dir/var/config respectively.

This PR also removes the undocumented ability to specify a pattern for the config option.