aboutsummaryrefslogtreecommitdiff
path: root/contrib/README
diff options
context:
space:
mode:
authorAndrzej Bieniek <andyhelp@gmail.com>2012-09-01 00:34:57 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-09-02 12:37:18 +0200
commitd63343efda83a24c52abfd58159c212a918d951d (patch)
treeb1a1a453949e5ed2d676b89f681e7e8e53f4638f /contrib/README
parent8f2f1559c1cfd56fef83888e40a09f9561e05b0e (diff)
downloadvicious-legacy-d63343efda83a24c52abfd58159c212a918d951d.tar.xz
contrib: add buildbot monitoring widget
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Diffstat (limited to 'contrib/README')
-rw-r--r--contrib/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/README b/contrib/README
index 4be896b..665592e 100644
--- a/contrib/README
+++ b/contrib/README
@@ -85,6 +85,12 @@ vicious.contrib.rss
vicious.contrib.sensors
-
+vicious.contrib.buildbot
+ - provides last build status for configured buildbot builders (http://trac.buildbot.net/)
+ - returns build status in the format: [<builderName>.<currentBuildNumber>.<lastSuccessfulBuildNumber>]
+ - if <currentBuildNumber> is the same as <lastSuccessfulBuildNumber> only one number is displayed
+ - <buildNumber> colors: red - failed, green - successful, yellow - in progress
+ - it depends on lua json parser (e.g. liblua5.1-json on Ubuntu 12.04)
Usage examples
--------------
@@ -95,3 +101,11 @@ Pulse Audio widget
awful.button({ }, 4, function () vicious.contrib.pulse.add(5,"alsa_output.pci-0000_00_1b.0.analog-stereo") end),
awful.button({ }, 5, function () vicious.contrib.pulse.add(-5,"alsa_output.pci-0000_00_1b.0.analog-stereo") end)
))
+
+Buildbot widget
+ local buildbotwidget = widget({ type = "textbox" })
+ local buildbotwidget_warg = {
+ {builder="coverage", url="http://buildbot.buildbot.net"},
+ {builder="tarball-slave", url="http://buildbot.buildbot.net"}
+ }
+ vicious.register(buildbotwidget, vicious.contrib.buildbot, "$1,", 3600, buildbotwidget_warg)