aboutsummaryrefslogtreecommitdiff
path: root/buildbot-view.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2023-03-30 00:55:55 +1100
committerYuchen Pei <hi@ypei.me>2023-03-30 00:55:55 +1100
commitf5a35a82a62612fa8f6537b4da6ebdea8192a196 (patch)
tree3da25efacb1a76100eff668d0a7b39a9a14310eb /buildbot-view.el
parentf5b97b439a2a1a7d13c60f1b711edf704542a038 (diff)
started working on builder view
Diffstat (limited to 'buildbot-view.el')
-rw-r--r--buildbot-view.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildbot-view.el b/buildbot-view.el
index 8e3590d..ebeef70 100644
--- a/buildbot-view.el
+++ b/buildbot-view.el
@@ -229,6 +229,15 @@
(interactive "sBranch name: ")
(buildbot-view-open 'branch `((branch . ,branch))))
+;;;###autoload
+(defun buildbot-builder-open (builder-name)
+ (interactive (list (completing-read
+ "Builder name: "
+ (mapcar
+ (lambda (builder) (alist-get 'name builder))
+ buildbot-builders))))
+ (buildbot-view-open 'builder `((builder . ,builder))))
+
(defun buildbot-view-update ()
(unless (derived-mode-p 'buildbot-view-mode)
(error "Not in buildbot view mode"))