diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-15 16:30:54 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-15 16:30:54 +1000 |
commit | 6583303218c19c394eac34a792e4a326e1c19b0d (patch) | |
tree | c33e31d1cc2494f2be372fad923a8afd94866990 /README.org | |
parent | 69a087571aa807008ba2f792926a2bda29d524bb (diff) |
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.
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 35 |
1 files changed, 31 insertions, 4 deletions
@@ -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: |