From a7e313d116b059b23ddb6efa185e3606f1da75a8 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 26 Mar 2023 10:29:18 +1100 Subject: add logs formatting and cache --- buildbot-client.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'buildbot-client.el') 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)))) -- cgit v1.2.3