Giter Site home page Giter Site logo

rsync's People

Contributors

gcarvalho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rsync's Issues

Disable Sync

is there a way to disable the sync without having to remove it from the project settings

No remotes defined

I installed the package and set up a project using Project -> Rsync SSH -> Initialize settings, which inserted a bunch of settings into my project. The format is slightly different from the documentation, but looks straightforward. Anyway, I edited the settings to add my remote host, directory and username, but every time I save a file, I get this message on the console:

Writing file /Users/partap/src/gpsprot/gpsprot.sublime-project with encoding UTF-8 (atomic)
[rsync-ssh] gpsprot: No remotes defined for gpsprot

(The project is called gpsprot)
I tried changing the "." key in remotes to the absolute path name on my local machine, and also tried just "gpsprot", but I get the same error.

Here is the settings in my project file.

    "settings":
    {
        "rsync_ssh":
        {
            "excludes":
            [
                ".git*",
                "_build",
                "blib",
                "Build"
            ],
            "options":
            [
                "--delete"
            ],
            "remotes":
            {
                ".":
                [
                    {
                        "enabled": 1,
                        "excludes":
                        [
                        ],
                        "options":
                        [
                        ],
                        "remote_host": "yojimbo.local",
                        "remote_path": "/home/partap/public_html/gpsprot.org/noframes/.",
                        "remote_port": 22,
                        "remote_post_command": "",
                        "remote_pre_command": "",
                        "remote_user": "partap"
                    }
                ]
            }
        }
    }

slave automatically sync files to local master

hi, thank you for your nice project.

I have set strsync.remote_is_master to false, because my local is the master, and I just want to sync local to remote. However, the remote still sync files to local. What's the problem?

    "strsync.local_path": "its my local project path",
    "strsync.hosts": the remote host settings,
    "strsync.check_remote_git": false,
    "strsync.delete_slave": true,
    "strsync.remote_is_master": false,
    "strsync.use_path": true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.