In addition to our SaaS Subversion, Trac, and Bugzilla hosting services, Codesion offers secure online storage that allows customers to store, share, and back up any file. Web developers or project managers can store images, videos, or documents in a non-versioned environment, using an easy drag and drop interface.
This is achieved by setting up a Codesion “WebDAV” drive, which uses the open source Web-based Distributed Authoring and Versioning protocol (DAV). Your Codesion DAV drive can also be linked to a Subversion repository, allowing you to auto-commit after every file change, keep a history of all revisions, and recover in case or error or corruption. The following two sections describe how to set up a) versioned and b) non-versioned DAV drives on Codesion.
A. Setting up ‘Easy SVN’ (Cloud Storage with revision history) Codesion “EasySVN” allows you to map a Subversion Network Drive as a generic network drive on your Windows / Linux / Mac machine. This makes it easy for non-developer users to keep a complete history of all changes, while working in the normal Windows or Mac interface.
Step by Step
1. To use Codesion’s ’Easy SVN’, you must first turn it on via our admin UI (see Fig 1).
Fig 1: Enabling ‘Easy SVN’. Click Services -> General Subversion Settings -> then check “Allow DAV writes to Subversion repositories”.
2. Once you have enabled ‘Easy SVN’, you must then navigate to your project page and locate the Subversion access URL (see Fig 2). If you haven’t created a project yet, please click on the Project tab and NEW, to create a new project. By default projects are created blank (with no services attached), so make sure you have added the “Subversion” service to your new project.
Fig 2: Locating your Subversion access URL. Click Projects -> select your project name (or new if you haven’t created one).
3. Ok, now that you have your Subversion access URL, copy-n-paste it. Next you have to map your network drive in your operating system.
3.1 Instructions For MAC:
Click on the background of your desktop -> Go (menu item) -> Connect to Server. Then enter your Subversion URL. You’ll then be prompted for your Codesion username password.
Fig 3: Mapping a network drive on OSX
3.2 Instructions for Windows:
Click on My Computer -> Add a network place -> Next -> Choose another network location -> Next -> Enter the Subversion access URL -> Next -> enter your Codesion username and password -> OK.
Fig 4: Mapping a network drive in Windows
3.3 Instructions for Linux:
KDE: Open the KDE Run Command dialog and enter knetattach -> Run -> Select WebFolder -> enter your Subversion access URL, username / password, port 443 and your done
Gnome: Open Places -> Connect to Server -> select Secure WebDAV (HTTPS) under service type -> enter your Subversion access URL, username / password, port 443 and your done
Command Line: To access your DAV drive using the Linux Console, you will need to install support for the WebDAV Linux File System (davfs2). More information can be found at http://dav.sourceforge.net.
Ok, that’s how to setup an “Easy SVN” drive (cloud storage with revision history). Next, we show how those who aren’t concerned with keeping a history of file changes, or who may want to limit their online storage requirements by not keeping a record of changes (if you have some very large files for example).
B. Setting up a DAV Network drive (Cloud Storage with no revision history)
To use our Network DAV drive, all you need to do is create a new Codesion project and add the “DAV” service to that project. If you haven’t created a project yet, please click on the Project tab and NEW, to create a new project. By default projects are created blank (with no services attached), so make sure you have added the “DAV-DRIVE” service to your new project.
Fig 5: Creating a new Codesion project with the DAV-DRIVE service enabled. Cut-n-paste the access URL.
Once you have created your project with the DAV-DRIVE service enabled, grab the access URL, i.e. https://ORG.dav.codesion.com/PROJECT_NAME and then map a network drive in your operating system. Please follow step 3 (above) for how to map a network drive in your operating system.
If I’ve missed anything, or you have suggestions, please comment below.