summaryrefslogtreecommitdiff
path: root/build-farm-url.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2018-07-14 11:34:45 +0300
committerAlex Kost <alezost@gmail.com>2018-07-16 21:37:19 +0300
commit766799e951ef8cce10613ee09ee3fb1d4265b79e (patch)
tree2dbbc902ac5c969e0560c0c4d2b9d0b11f7ad022 /build-farm-url.el
parenturl: Pass extra header "Accept: application/json" (diff)
downloademacs-build-farm-766799e951ef8cce10613ee09ee3fb1d4265b79e.tar.gz
Add interface for projects ('build-farm-projects' command)
* build-farm-url.el (build-farm-project-url): New function. * build-farm-project.el: New file.
Diffstat (limited to 'build-farm-url.el')
-rw-r--r--build-farm-url.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-farm-url.el b/build-farm-url.el
index e3d040d..1b47d64 100644
--- a/build-farm-url.el
+++ b/build-farm-url.el
@@ -132,6 +132,9 @@ Skip ARG, if VALUE is nil or an empty string."
(build-farm-api-url "jobsets"
`(("project" . ,project))))
+;; Projects are received from the root build farm page.
+(defalias 'build-farm-project-url #'build-farm-url)
+
;;; Receiving data from a build farm