-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error with Unison because of wrong default exclude definitions #819
Comments
After a few tests, it works with the following settings: version: "2"
options:
verbose: true
syncs:
wakeo_platform_sync:
src: .
sync_excludes_type: Path
sync_excludes:
- .git
- tmp
- db/backups
- log
- vendor
sync_strategy: unison
sync_prefe: default It appears the sync_excludes_type: none
sync_excludes:
- Path .git
- Regex *\.log Here is the related code portion: docker-sync/lib/docker-sync/sync_strategy/unison.rb Lines 98 to 116 in 190d93d
I think |
We cannot rely on `sync_excludes_type` for default ignores, at the user can and will override it for his needs. Ref: #819
@EugenMayer & @zessx This is not completely fixed yet. That change needs to happen on native_osx sync strategy as it also uses the exclude_type Name and will throw the same error if set to none |
Fatal Error
Exclude definitions from 190d93d are not following the Unison format.
The following error now occurs at each start:
When the Unison strategy is used, the
Environment.default_ignores
values must be changed by prependingPath
to each of them.Docker Driver
No idea (using the native Docker Desktop app for macOS)
Sync strategy
unison
your docker-sync.yml
OS
macOS Monterey 12.3
The text was updated successfully, but these errors were encountered: