lukors Posted July 18, 2017 Report Share Posted July 18, 2017 The folder where I have all my programming projects is backed up with Resilio. Sometimes when I try to compile a project, it seems like Sync locks some file, so the linker cannot do its work. The result is that my compilation just hangs there until I turn off Sync and retry compilation. Can this be solved? Quote Link to comment Share on other sites More sharing options...
lukors Posted July 21, 2017 Author Report Share Posted July 21, 2017 I have now noticed the same thing happens with Git repositories. Resilio will go in and lock something while I'm committing, causing the commit to fail. Quote Link to comment Share on other sites More sharing options...
Moe Posted July 22, 2017 Report Share Posted July 22, 2017 What version of Sync are you running? Make sure you are up to date. The latest version is 2.5.6. Also I am not so sure if it is smart to have Sync handle a git repo to be honest. Quote Link to comment Share on other sites More sharing options...
lukors Posted July 22, 2017 Author Report Share Posted July 22, 2017 I am not at home, so I can't check the version, but I will do that when I can. Why are you unsure if it's smart to use Resilio to back up a git repo? Quote Link to comment Share on other sites More sharing options...
Moe Posted July 23, 2017 Report Share Posted July 23, 2017 Well because what if your other peer checks out of the current branch and your client you are working on is currently in a file of another branch. I just don't think it is wise. Just let git commit changes and pull all infos itself. Git as is, is already complicated enough and if you add another layer that messes with it's data structure.. I am just not sure if that is wise. But I haven't tried it so.. if it is working for you then that's good. Quote Link to comment Share on other sites More sharing options...
lukors Posted July 29, 2017 Author Report Share Posted July 29, 2017 Only one peer has write access to the git repos, so it would never happen that two peers check out different branches in the same repo. Sync as far as I know in my use case does not add any other layer that messes with git's data structure, it just reads the files and sends them over the Internet. Doing this is indeed working fine for me for many years now, apart from that Sync locks files so I need to turn it off when I work with the repos. Thank you for your concern. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.