Code Monkey home page Code Monkey logo

Comments (6)

mickaelperrin avatar mickaelperrin commented on July 25, 2024 4

unison has conflict handling implemented.

You can use the sync_args option to pass additional options to unison.

See the unison documentation for a full list of options, you may be interested by:

-copyonconflict keep copies of conflicting files
-prefer xxx choose this replica's version for conflicting changes

Unison has also the -force option, but regarding the implementation of unison dualside, I don't know how it could work...

Currently with unison unox, I use it with -prefer newer -copyonconflict.

Edit: Forgot to say that Unison, can also call external merging tools but that's surely out of your needs

from docker-sync.

EugenMayer avatar EugenMayer commented on July 25, 2024 2

i suppose conflict mode to be "host wins", not container wins. Also, when we resolve a conflict, we should growl a notifications ( no matter they are on or of for sync ) so the person is aware of.

from docker-sync.

EugenMayer avatar EugenMayer commented on July 25, 2024

@mickaelperrin i added this to our sprint towards unox, since it makes a lot of sense. AFAICs you already included it, right? If yes, just close this one

from docker-sync.

mickaelperrin avatar mickaelperrin commented on July 25, 2024

There is no default conflict resolution in unox strategy but the parameter sync_args is indeed here.

from docker-sync.

gagarine avatar gagarine commented on July 25, 2024

-prefer newer seem a good option but server time need to be the same than the host? Right now it's not.

Also should the -times be set?

from docker-sync.

gagarine avatar gagarine commented on July 25, 2024

Time drift is a MacOS VM issue docker/for-mac#17

from docker-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.