Coder Social home page Coder Social logo

backer's People

Contributors

nickrobison avatar

Watchers

 avatar  avatar  avatar

backer's Issues

Socket is not closing correctly.

When shutting down the daemon, we get the following error:

2018/04/05 15:28:14 rpc.Serve: accept:accept unix /tmp/backer.sock: use of closed network connection

We probably need to stop listening, before closing the socket.

Socket isn't being closed correctly.

We're currently opening the socket incorrectly, and that means it's not getting closed if the application crashes. We should modify the socket logic so that we can defer the deletion when the main loop stops.

Should use leveled logging

Our current logging is a bit of a mess, and really verbose. We should have leveled logging, like logrus or something else.

Add Windows support

We currently rely on unix sockets, which isn't fully portable, we should also have support for named pipes on Windows.

App should synchronize state on startup

If we start the application and point it to a folder with files that already exist, it won't actually do anything. We should at least have an option for synchronizing state with what files already exist in the remote storage.

Backer fails when using vim to modify a file

If you modify a file with vim, backer fails because the file that it sees is actually just the buffer and not the file itself. So we probably need some filtering to avoid watching temporary files.

Attempting to use the CLI on Debian results in permission denied

When attempting to use the CLI with the Debian package, I'm getting the following error:

bash FATA[2018-04-06T22:48:12Z] dial unix /tmp/backer.sock: connect: permission denied

I think we need to change the permissions so that anyone can read/write the socket.

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.