aboutsummaryrefslogtreecommitdiff
path: root/buildbot-client.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2023-03-26 10:29:18 +1100
committerYuchen Pei <hi@ypei.me>2023-03-26 10:29:18 +1100
commita7e313d116b059b23ddb6efa185e3606f1da75a8 (patch)
tree06144ba9547d0f7ee3778ff1f1d0085699945106 /buildbot-client.el
parent20fd138b70a92fa3dc8a8a44e95fa2be57da092f (diff)
add logs formatting and cache
Diffstat (limited to 'buildbot-client.el')
-rw-r--r--buildbot-client.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildbot-client.el b/buildbot-client.el
index e979368..a633ff0 100644
--- a/buildbot-client.el
+++ b/buildbot-client.el
@@ -31,8 +31,9 @@
"%s/api/v2/builds/%s/steps"
buildbot-host buildid)))
-(defun buildbot-format-log-url (logid)
- (format "%s/api/v2/logs/%s/raw" buildbot-host logid))
+(defun buildbot-api-log-raw (logid)
+ (buildbot-url-fetch-raw
+ (format "%s/api/v2/logs/%d/raw" buildbot-host logid)))
(defun buildbot-api-recent-changes (limit)
(buildbot-api-change (list (cons 'order "-changeid") (cons 'limit limit))))