Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by eddieplan9 on Friday November 26, 2010 @10:26AM
(#1942545)
FYI, dropbox does not do meaningful conflict resolving. It dumps a new file for each duplicated copy. Even worse, dropbox does not do merge even it is mergeable. This "dropbox clone" is actually better than real dropbox in this aspect.
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by necubi on Friday November 26, 2010 @10:34AM
(#1942567)
Actually, this is one of my favorite features of Dropbox. It may occasionally make me do some additional work to merge files, but it's worth it for the peace of mind: I know that Dropbox will never delete anything I don't want it to or erase history I want left intact.
Automatic merging isn't generally useful for things besides code, and if your using Dropbox for managing code you probably want to use a real SCM.
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by arethuza on Friday November 26, 2010 @09:47AM
(#1942461)
"polls at intervals and either pulls from the remote repository, or adds, commits, and pushes from the local one"
What does the dropbox client do that is significantly different from this? Does dropbox do block level replication or something?
NB I use dropbox and like it, but I do like the idea of the server component being completely open.
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by dan00 on Friday November 26, 2010 @10:27AM
(#1942547)
"What does the dropbox client do that is significantly different from this?"
Using inotify (linux). Polling doesn't scale.
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by meltingice on Friday November 26, 2010 @11:50AM
(#1942704)
Yeah, I'm looking into inotify to see how I can implement that with Ruby. Would definitely be nicer than simply polling the directory.
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by nixme on Friday November 26, 2010 @01:28PM
(#1942921)
Try rb-inotify (linux) and rb-fsevent (os x):
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by arethuza on Friday November 26, 2010 @11:10AM
(#1942624)
I'd assumed the "poll" there was the connection to the server - I hadn't even thought about polling for modified files!
Re:RubyDrop - A Ruby-based Dropbox clone that uses Git as a ...
by adriand on Friday November 26, 2010 @02:28PM
(#1943059)
The biggest thing that comes to mind is native clients for every computer and device I own (PC with both Windows & Linux on dual-boot, Mac desktop & laptop, iPod Touch, iPad), complete with nice file browsers, integrated media playing, etc. I was going to put that in my original comment, but thought it was somewhat obvious: at first glance, it seems to me that this would require the most work if you wanted to actually clone Dropbox.
That, and the nicely designed website, marketing copy, clever social/viral features, etc.
Incidentally, when I read the source I didn't notice any conflict handling, so you might want to be careful if you intend on using it for anything where conflicts are a possibility.