diff options
author | Yuchen Pei <hi@ypei.me> | 2023-03-26 10:29:18 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2023-03-26 10:29:18 +1100 |
commit | a7e313d116b059b23ddb6efa185e3606f1da75a8 (patch) | |
tree | 06144ba9547d0f7ee3778ff1f1d0085699945106 /buildbot-client.el | |
parent | 20fd138b70a92fa3dc8a8a44e95fa2be57da092f (diff) |
add logs formatting and cache
Diffstat (limited to 'buildbot-client.el')
-rw-r--r-- | buildbot-client.el | 5 |
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)))) |