You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config: The 'computers' field in a SyncRule is no longer optional.
Features
A recursive, e.g. "**/*.lua", glob pattern can now be used in config.rules.source in order to glob files and preserve the relative source directory structure when copied to a target directory. Adds a 'flatten' option to Sync Rules. Default is true. If set to false, will keep source directory structure when a recursive glob pattern is used (6631487)
config: add robust config error handling with suggestions (aa466f2)
Bug Fixes
config: improve withDefaultConfig helper and ensure that result from loadConfig is wrapped with this. Notably this ensures that flatten field is applied (default true) to all sync rules (6631487)
config: The 'computers' field in a SyncRule is no longer optional. (6631487)
config: various improvements to config file validation. Improved validation of computer references. Referenced groups must exist, cannot be circular, etc. Ensure paths in config actually exist/can be accessed. (aa466f2)
ensure consistent use of toSystemPath when logging/error messaging (6631487)
general: improvements to path normalization, including better handling of unix vs windows paths. Internally, paths should consistently use a normalized path (forward slashes) and then convert to an appropriate system path when interacting with the filesystem or user-facing messages (6631487)
utils: resolveComputerReferences recursively expands group names to generate a flattened list of computer IDs (aa466f2)