Giter VIP home page Giter VIP logo

butler's People

Contributors

ashtonkem avatar mar-kolya avatar mariushe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

butler's Issues

deferred error : (error "Bad bounding indices: -6, nil")

When I run butler-status, I get this error:

deferred error : (error "Bad bounding indices: -6, nil")

I'm not sure how to figure out the source of the issue, since deferred doesn't appear to respect the usual toggle-debug-on-error setting, so I can't get a stack.

Do you have suggestions for how to debug this?

deferred error

Running refresh-butler-status fails with following error:

    deferred error : (search-failed {)

However, everything works fine when stepping through the function with edebug. Seems the following combination is broken:

   (deferred:$ (deferred:url-retrieve (...)
                      (deferred:nextc it (...))

Trying it out and getting: (void-variable butler-servers-list)

Hi! Thanks for writing this for Emacs! I was interested in trying this out to impress my non-emacs friends but I'm having some trouble. I've tried installing butler from melpa packages, and from putting a clone of your repo in my load-path, and still not getting very far at all. I'm sure this is my inability to read elisp or your directions :)

I've included this code into my .emacs file:

(add-to-list butler-servers
         '(jenkins "Jenkins"
               (server-address . "http://some/url")
               (server-user . "myusername")
               (server-password . "mypassword")))

..and emacs tells me this when I'm starting up:

eval: Symbol's value as variable is void: butler-servers

Can you help? I'm really interested in trying this out

Pervasive use of hash-tables makes things awkward

I'm adding some additional features and the pervasive use of hash tables makes things quite annoying to extract values out of the butler-hash.

After I've added my features I want to see what it'd be like refactoring to use defstructs to represent individual jobs, which should make the API a little cleaner internally.

Key bindings

Copy the way that magit does key bindings in the status window.

Error using Melpa stable

your package can't be installed using Melpa stable :

Dependency butler failed to install: Need package `deferred-3.1', but only 0.3.2 is available

According to butler.el file, dependencies are not valid :

;; Package-Requires: ((deferred "3.2") (json "1.2") (emacs "24"))

Last stable version of deferred seems to be 0.3.2

Key bindings

Copy the way that magit does key bindings in the status window.

Packaging issues

Hi! I've added a butler recipe to MELPA so that we can automatically build packages of it.

There are currently a couple of issues with butler.el, so I thought I'd just bring them to your attention:

Firstly, the Package-Requires header should include (json "1.2"), since that library is not a standard Emacs library, but it is required by butler.el.

Secondly, although you've declared lexical-binding on the first line, it looks like you're not using it, since the lexical-let* macro you're using accomplishes the same thing without requiring lexical-binding.

If you need to keep the lexical-binding: t setting, then you should add (emacs "24") to the Package-Requires header, because your code won't work as expected in Emacs 23. If you don't need the lexical-binding setting - which would be ideal - then you should remove it.

In order to byte-compile cleanly, your use of lexical-let* suggests you should have a

(eval-when-compile (require 'cl))

Finally, you should probably add an autoload declaration for butler-status:

;;;###autoload
(defun butler-status (...) ...)

This way, when users have installed the package, they will not need to explicitly require it before using M-x butler-status.

Hope that feedback helps! :-)

-Steve

Refresh

Butler should be able to refresh the status of the servers.

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.