ashtonkem / butler Goto Github PK
View Code? Open in Web Editor NEWJenkins/Hudson plugin for Emacs
Jenkins/Hudson plugin for Emacs
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?
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 (...))
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
If no - this is a definite feature request.
Can get from, example:
http://localhost:8080/job/name/36/consoleText
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.
Package description lists Deferred 3.2 as required. Probably needs to be 0.3.2?
Group jobs by the view.
Copy the way that magit does key bindings in the status window.
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
Copy the way that magit does key bindings in the status window.
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
Butler should be able to refresh the status of the servers.
Trying to install butler (0.2.4) from melpa-stable I get the following error: Need package deferred-3.2', but only 0.3.2 is available
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.