Giter Site home page Giter Site logo

izk's Issues

Define linting rules

Define linting configuration files and travis tests, to maintain the code quality throughout the project lifetime.

Improve output of `ls` command

Example

(0) > ls /
test test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 test13 test14 test15 test16 test17

We should probably see how the unix ls command does it and try to replicate

raw command seems not play well

About raw command

when i type raw srvr ,it seems like invalid why is that

(RO 0) > raw srvr
Command 'raw srvr' is invalid

[idea] Allow `set` to open an editor to input the data

Instead of typing a one-liner such as set /test '{"super": "long", "json": "file", "with": {"nested": "values"}}, we could only type set /test, wich would open the user's EDITOR, in which the value would be typed in, saved to a tmpfile, read, and assigned to the znode.

Timeout on zk connection at startup

This is just bad XP

(izk) λ  izk git:(master) ✗ izk
Connection dropped: socket connection error: Connection refused
Connection dropped: socket connection error: Connection refused
Connection dropped: socket connection error: Connection refused
Connection dropped: socket connection error: Connection refused
Connection dropped: socket connection error: Connection refused
Connection dropped: socket connection error: Connection refused
^CTraceback (most recent call last):
  File "/Users/balthazarrouberol/dd/.envs/izk/bin/izk", line 11, in <module>
    load_entry_point('izk', 'console_scripts', 'izk')()
  File "/Users/balthazarrouberol/code/izk/izk/prompt.py", line 71, in main
    read_only=not args.write
  File "/Users/balthazarrouberol/code/izk/izk/zk.py", line 8, in __enter__
    self.start()
  File "/Users/balthazarrouberol/dd/.envs/izk/lib/python3.6/site-packages/kazoo/client.py", line 563, in start
    event.wait(timeout=timeout)
  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 551, in wait
    signaled = self._cond.wait(timeout)
  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 299, in wait
    gotit = waiter.acquire(True, timeout)
KeyboardInterrupt

Fail with a helpful error message instead.

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.