Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Subversion with DropBox

Is it a bad idea to use DropBox as a backup system for Subversion repositories?

Has anyone tried using Subversion with an an online file sharing utility like DropBox? What's your experiences?

My concern is whether this will work - mainly because Subversion maintains locks and it's very specific about it. I'm not sure if DropBox and Subversion can both work together?

p.s. I'm thinking of using this for my Xcode projects, and no, i don't want to use github because it's not free - you can't keep your repositories Private with the free account (and other reasons).


References:

DropBox (file sync, sharing, and online backup)

Subversion (open source version control system)

like image 558
Mustafa Avatar asked Jan 20 '10 07:01

Mustafa


People also ask

Is Subversion the same as SVN?

SVN stands for Subversion. So, SVN and Subversion are the same. SVN is used to manage and track changes to code and assets across projects.

Can I move SVN folder to another location?

Moving files and folders select the files or directories you want to move. right drag them to the new location inside the working copy. release the right mouse button. in the popup menu select Context Menu → SVN Move versioned files here.

Does Subversion require a server?

The short answer: no. The long answer: if you just want to access a repository, then you only need to build a Subversion client. If you want to host a networked repository, then you need to set up either Apache2 or an "svnserve" server.


2 Answers

I've got Dropbox, SVN and Xcode working fine here, I've had no problems what so ever.

You don't even need to be careful about which machine you commit/update from as Dropbox keeps EVERYTHING synchronised.

like image 126
James Avatar answered Oct 20 '22 15:10

James


My suggestion is to use dropbox together with an encryption tool such as TrueCrypt. In this way you would have a safe storage on the cloud.

SVN works perfectly in a TrueCrypt disk.

If you need to access the repository at the same time on multiple location I would recommend of using a subversion host provider. DropBox can get confused if two persons are modifying the same file at once.

http://wiki.dropbox.com/TipsAndTricks/IncreasePrivacyAndSafety

http://www.randomwire.com/storing-sensitive-data-in-the-cloud

like image 32
dawez Avatar answered Oct 20 '22 16:10

dawez