ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Web​Dav​Sync

No description provided

Details

  • 0.4.1
  • github.​com
  • github.​com
  • 11 years ago
  • 34 minutes ago
  • 11 years ago

Installs

  • Total 1K
  • Win 728
  • Mac 389
  • Linux 210
Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12
Windows 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Mac 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text - WebDavSync

This is a small Sublime Text plugin for syncing your sublime project directory with a directory on a WebDAV server. That could be useful for WebDAV-based hotdeploy environments. All WebDAV (network) activities are queued and done in an own background thread, so the UI keeps always responsive.

Installation

Manually:

Copy the content of this repository into a folder called WebDavSync in your Sublime Text packages directory. (Open the menu /Preferences/Browse Packages to determine the location of your packages directory)

Via Package Control:

Find WebDavSync in the Package Control installer and install it.

Setup

Create a *.sublime-project file (see http://www.sublimetext.com/docs/2/projects.html for further consultation) and add a webdavsync section to the settings.

{
    "folders":
    [
        {
            "path": "/path/to/your/project/root",
            "folder_exclude_patterns": []
        }
    ],
    "settings":
    {
        "webdavsync":
        {
            "host":"yourwebdavhost.com",
            "protocol":"https",
            "path":"/path/to/your/webdav/root",
            "username":"yourusername",
            "password":"yourpassword"
        }
    },
    "build_systems":
    [
    ]
}

Open this file with Sublime Text (Project/Open Project) and from now on all files in your local root director(ies) are automatically uploaded to yourwebdavhost.com/path/to/your/webdav/root each time you save it there. If folders do not exist on the server, they will be created, before the file is uploaded there.

For example:

  1. The local root path is /projectdir - see folders section in your *.sublime-project file

  2. The local file /projectdir/static/js/app.js is saved

  3. The remote root path is /version1

The resulting webdav resource path is https://yourwebdavhost.com/version1/static/js/app.js and the remote path /version1/static/js will be created if necessary.

Features

  1. Basic and Digest authentication
  2. Uploading files and creating folders

Not Implemented

  1. Digest auth-int
  2. Deleting folders and files