From b05fa7d15603f32b8dc92f5cf19f8a3fef6142fd Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Fri, 27 Jul 2018 12:25:38 +0300 Subject: Modify a message for the 'fake' search type * build-farm.el (build-farm-message): Adjust the message. (build-farm-list-describe): Adjust the commentary. --- build-farm.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build-farm.el b/build-farm.el index 0fe5e2d..9e307ba 100644 --- a/build-farm.el +++ b/build-farm.el @@ -253,7 +253,7 @@ SEARCH-TYPE and ARGS." ;; XXX Add more messages maybe. (when (null entries) (if (eq search-type 'fake) - (message "The update is impossible due to lack of the build farm API.") + (message "Sorry, this operation is not supported.") (message "The build farm has returned no results.")))) (defun build-farm-list-describe (&rest ids) @@ -261,8 +261,11 @@ SEARCH-TYPE and ARGS." (bui-display-entries (bui-entries-by-ids (bui-current-entries) ids) (bui-current-entry-type) 'info - ;; Hydra and Cuirass do not provide an API to receive builds/jobsets - ;; by IDs/names, so we use a 'fake' search type. + ;; Hydra provides an API to receive a build/jobset by its ID/name, + ;; but only a single one. Thus, to receive info on multiple + ;; builds/jobsets, we have to request a build farm multiple times. + ;; This may take a lot of time, so getting multiple builds/jobsets is + ;; not supported, and we use the 'fake' search type. (list (build-farm-current-url) 'fake) 'add)) -- cgit v1.2.3