From 6583303218c19c394eac34a792e4a326e1c19b0d Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 15 Jul 2023 16:30:54 +1000 Subject: Adding support for more instances - Pass buildbot-host between buffers - Set buildbot-builders automatically - When the Changes API does not return builds, fetch the builds in a separate call This last change allows `buildbot-revision-open' to work with more instances, including python and buildbot. Also updated README with these changes, as well as ELPA installation info. --- README.org | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 7139b66..f46e660 100644 --- a/README.org +++ b/README.org @@ -8,18 +8,37 @@ instance. It supports [[https://docs.buildbot.net/latest/relnotes/0.9.0.html][ne older versions (<0.9.0) and shows views for branches, revisions, builds, steps, logs and builders. +It has been tested for the following instances: +- [[https://buildbot.mariadb.org][mariadb]] +- [[https://buildbot.python.org/all][python]] +- [[https://buildbot.buildbot.net][buildbot]] + *: The linked release notes describes the significant changes at 0.9.0. * Install +** From ELPA + :PROPERTIES: + :UPDATED: [2023-07-15 Sat 16:16] + :END: + +Buildbot is currently available at elpa-devel: + +#+begin_src elisp +(add-to-list 'package-archives + ("elpa-devel" . "https://elpa.gnu.org/devel/")) +(package-refresh-contents) +(package-install 'buildbot) +#+end_src + ** Manual install :PROPERTIES: - :UPDATED: [2023-06-26 Mon 16:44] + :UPDATED: [2023-07-15 Sat 16:24] :END: Clone this repo, and add to load path (assuming you clone to -~~/.emacs.d~): +=~/.emacs.d=): #+begin_src sh cd ~/.emacs.d @@ -34,11 +53,16 @@ After that, require buildbot and set the host and builders, like so #+begin_src elisp (require 'buildbot) -(setq buildbot-host "https://buildbot.mariadb.org") -(setq buildbot-builders (buildbot-get-all-builders)) +(setq buildbot-default-host "https://buildbot.mariadb.org") #+end_src +#+RESULTS: +: https://buildbot.python.org/all + * Use + :PROPERTIES: + :UPDATED: [2023-07-15 Sat 16:11] + :END: Entry points: - ~M-x buildbot-revision-open~ prompts for a revision id (e.g. commit @@ -49,6 +73,9 @@ Entry points: - ~M-x buildbot-builder-open~ prompts for a builder name from a list of available builders, and opens up a view of recent builds by this builder. +- The first time any of these commands is invoked it may take a bit + longer than usual because it needs to make an extra call to get all + builders. * TODOs :PROPERTIES: -- cgit v1.2.3