3 ms·
There's a decent open source sync daemon for OneDrive on Linux - I'm the packager who looks after it on Fedora. With the odd exception when APIs change it just
by thomasfedb 8y ago
There's a decent open source sync daemon for OneDrive on Linux - I'm the packager who looks after it on Fedora. With the odd exception when APIs change it just works.
- copperx 8y agoOneDrive doesn't support dotfiles and thus can't sync Git repos.
- thomasfedb 8y agoPersonally I sync my git repos with git, everything else with OneDrive - that said dotfile support could be added to the client at least in theory…
- fencepost 8y agoOneDrive doesn't support dotfiles and thus can't sync Git repos. This does not appear to still be the case based on testing just now (creating a folder named ".foldername", containing a file named ".testfile" then verifying that they've synced up to OneDrive). Several years ago it didn't support syncing folders with a . in the name, but that was resolved 3 years ago. With Microsoft's relatively new focus on Git, I can't imagine that problems with repositories stored in OneDrive folders would remain unfixed. I will note that there are names that Windows Explorer won't let you create - notably, names beginning with a ".". That's an Explorer issue, not a OneDrive or filesystem issue - you can create such files and folders programmatically or from a command prompt.
- mwilliaams 8y agoI think you can do that in explorer if you change some of the options.
- culot 8y agoOnedrive handles Git repos on Windows fine. It does balk sometimes if you feed it large repos, but most often it works fine.
- thomasfedb 8y agoThis just sounds like a horrible scary idea. What happens if I change something in a repo on multiple machines - a OneDrive merge conflict inside .git sounds like a nightmare.
- culot 8y agoI hadn't thought of that, that indeed sounds torturous!
- __sr__ 8y agoErr... I can’t imagine a scenario where one would want to use OneDrive/Dropbox to sync git repositories. It’s like having your local Dropbox folder inside your local OneDrive folder — only a lot worse.
- copperx 8y agoI keep my .tex, .md, and .org files under source control, but I don't bother syncing to GitHub. I just back them up with the rest of my personal (non-code) files.
- Multicomp 8y agoWhat daemon is that?
- thomasfedb 8y agohttps://github.com/abraunegg/onedrive https://github.com/abraunegg/onedrive (currently I package the original project by @skillion, but this fork is better maintained...)