Giter Club home page Giter Club logo

sd2's People

Contributors

gae123 avatar zachkont avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zachkont

sd2's Issues

Schema default values not used

Version 0.14.1 shuts down with WARNING MAIN:LOOP:EX 'config' if there is no config key in config.yaml. Expected result was the config to include default values from the schema but it appears not to be working properly. Will investigate further and update this issue with findings and possibly a PR

When file is created in new directory, it does not get synced right away

It appears that when a new file is created in a new directory, sd2 notices the change and tries to use scp to copy the file to the remote server. However since the directory is new too it doesn't yet exist on the server and the scp command fails. It can then takes several minutes before the rsync command runs and does a full sync of the directory/files.

It would be nice if sd2 could notice when the scp command files, and do an immediate 'rsync'. Or maybe wait a couple of seconds in case there is a flurry of file changes (e.g. what happens when you do a 'git pull').

If config.yaml has bad format, sd2 daemon process dies without any message

I created a config.yaml that had a tab character in it, which the yaml parser doesn't like:

yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
  in "<unicode string>", line 37, column 1:
    	enabled: true
    ^

When I saved this file, the sd2 daemon process immediately died. The only in the logs that I could find was this:

2018-09-20 14:42:35 44097 INFO     SD2INIT:EE

It was only by running sd2 again that I found out what the problem was.

SD2 marks development host as "unhealthy" (SHOU) when an RSYNC fails

Steps to reproduce:

  • In your editing host (own workspace) remove a folder that is supposed to be RSYNCed. In my case it was the .kube folder.

  • After sd2 is running and the containers on the development machine are up and running, kill a container

  • According to the logs an RSYNC for the missing directory fails, and the development host is eventually marked as unhealthy, causing sd2 to skip checks for docker.

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.