`
cloudmail
  • 浏览: 267419 次
  • 来自: 广州
社区版块
存档分类
最新评论

【转】How To Use Dropbox As An SVN Repository

 
阅读更多

How To Use Dropbox As An SVN Repository

 

dropbox-subversion-svnRecently, the popular Cloud based startup Dropbox is getting lot of attention on Internet. It is a free file synchronization/backup service where you can backup, save and share files. Dropbox gives 2 GB of free space to every user where one can save / backup their files.

One of the interesting usage of Dropbox can be to use it as Subversion Repository to store your projects. We can create a local SVN repository on Dropbox which can be synchronized on Cloud by Dropbox. You can checkout this repository and add your projects / files into it. This way you can access your project anywhere. Also it is possible to share your repository with other users if you want to. Simply by sharing Dropbox folder where you have stored subversion repository can enables you to share it with other users.

Here is an example of hosting a local SVN repository on Dropbox.

Step 1: Create Dropbox repository

cd ~Dropbox
mkdir SVNRepository
cd SVNRepository

If you are using subversion command line utilities in Windows or using Unix box, we can create a new subversion repository by using svnadmin.

svnadmin create .

If you are using TortoiseSVN client then you may want to create repository using following:

Right-click on the newly created folder SVNRepository and select TortoiseSVN → Create Repository here….

We just created a Subversion repository on top of Dropbox folder. Don’t edit those files yourself!!. If you get any errors make sure that the folder is empty and not write protected.

Step 2: Checkout Dropbox repository

Our Dropbox repository is ready and we can do checkin / checkout in this now. Before we add any project / files in this repository, we need to make sure we add proper directory structure in this SVN repository. It is a good practice to divide an SVN repositories in three directory: trunk, branches and tags.

First create a working folder where you want to checkout your SVN repository.

mkdir ~MyWorkspace
cd MyWorkspace
svn checkout file:///~Dropbox/SVNRepository

This will checkout the newly created repository in folder MyWorkspace.

Now create 3 directories in MyWorkspace: trunk, branches and tags and commit the change back to repository.

mkdir trunk
mkdir branches
mkdir tags
svn commit -m "Initial setup (committing trunk, branches, tags)"

Step 3: Checkout Trunk of Dropbox SVN repository

We are done with the setup.. Just checkout the Trunk of this newly created SVN repository and start committing your changes.

svn checkout file:///~Dropbox/SVNRepository/trunk

That’s it. Now you can checkout the SVN repository “file:///~Dropbox/SVNRepository/trunk” anywhere and commit your changes to it. Ofcourse this is now hosted on Dropbox so you can easily synchronize your changes between different computers. You can also share this repository with other Dropbox users letting them SVN your repository access.

 

 

http://viralpatel.net/blogs/dropbox-svn-subversion-repository/

 

分享到:
评论

相关推荐

    Dropbox 3.14.7 Offline Installer / DROPBOX 离线安装文件

    Everything you keep in Dropbox is synced automatically to all your devices. Send videos quickly Send your entire wedding video to family with a simple link. It’s easy to share large files with ...

    Android代码-dropbox-sdk-java

    Dropbox Core SDK for Java 6 A Java library to access Dropbox's HTTP-based Core API v2. This SDK also supports the older Core API v1, but that support will be removed at some point. License: MIT ...

    Dropbox-Go, 转到Dropbox的库.zip

    Dropbox-Go, 转到Dropbox的库 dropbox转到Dropbox的库设置 $ go get -u github.com/scottferg/Dropbox-Go/dropbox身份验证Dropbox API使用OAuth作为认证机制。 可以通

    change-svn-wc-format

    SVN:This client is too old to work with working copy…解决办法 .txt 1、cmd进入py文件目录下执行py文件加入--help查看帮助,命令C:\change-svn-wc-format>change-svn-wc-format.py --help 2、cmd执行下面命令...

    Web Development Recipes 2nd Edition pdf

    use Git and Dropbox to collaborate; configure and secure the Apache web server; use virtualization to set up your own servers automatically; and much more. Whether you're new to front-end ...

    Vue.js 2.x by Example

    Next, you will see how easy it is to integrate remote data into an application by learning how to use the Dropbox API to display your Dropbox contents in an application In the final section, you will...

    Dropbox 1.0.20

    Dropbox 1.0.20 Dropbox 1.0.20 Dropbox 1.0.20

    dropbox0.7.1源码 dropbox source

    dropbox官方源码 2012-03-08 verison:0.7.1

    Laravel开发-dropbox

    Laravel开发-dropbox Dropbox是Laravel 5的Dropbox桥

    dropbox 离线包第一部分

    dropbox 离线安装包

    Android App for uploading to dropbox

    该代码的Android应用程序。 良好的代码,以Dropbox的优势。

    Dropbox PDF

    Dropbox PDF

    将邮件保存到Dropbox「Save emails to Dropbox」-crx插件

    直接从Gmail:trade_mark:将电子邮件保存到Dropbox。通过此扩展程序,您只需单击一下即可将Gmail:trade_mark:电子邮件保存到Dropbox:trade_mark:。电子邮件及其任何附件将自动保存在Dropbox:trade_mark:中。该扩展...

    dropbox2.4.7

    dropbox2.4.7 很好用的

    Laravel开发-laravel-dropbox

    Laravel开发-laravel-dropbox Dropbox是Laravel 5的Dropbox桥

    Dropbox(多宝箱)在线+离线安装包

    Dropbox(多宝箱) 成立于2007年,提供免费和收费服务,在不同操作系统下有客户端软件,并且有网页客户端,能够将存储在本地的文件自动同步到云端服务器保存。因为云端服务的特性,Dropbox的存储成本将被无限摊薄。 ...

    dropbox最新版

     将文件放入一台电脑的Dropbox里面去,文件就能即时的同步到Dropbox的服务器端,这些文件在你任何安装了Dropbox的电脑上都可以访问(Windows, Mac, and Linux都行!)。你可以用电脑或者移动终端从 Dropbox网站来...

    Dropbox Linux版

    Dropbox Linux版

    Dropbox云存储 2.3.12.10

    Dropbox云存储2.3.12.10 Drop box 大小:6.09MB 一款使手机与网络和电脑同步的软件。现在你可以浏览任意地方的软件在你的Dropbo里。 Dropbox 就是一款非常好用的免费网络文件同步工具(当然它也算是一个服务)。当...

    Dropbox 离线包第二部分

    Dropbox 离线包

Global site tag (gtag.js) - Google Analytics