-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix remote path mapping checking edge cases (#56)
#49 * Add a validator to the `remote_path` and `local_path` fields that ensures a trailing slash is added to the values of the, if the values defined in the configuration don't have them. This matches Sonarr's behaviour when setting these values, and fixes an issue where Buildarr would always try to add remote path mappings without trailing spaces in the paths to Sonarr, even if they already existed. * Switch the `remote_path` and `local_path` fields for remote path mappings to a custom `OSAgnosticPath` type, that semi-transparently handles differences between POSIX and Windows paths. Windows paths will be compared case-insensitively. * Update resource management logging for remote path mappings to the latest standards for Buildarr, and remove extraneous logging.
- Loading branch information
Showing
2 changed files
with
94 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters