diff options
| author | Alex Kost <alezost@gmail.com> | 2018-07-27 12:25:38 +0300 |
|---|---|---|
| committer | Alex Kost <alezost@gmail.com> | 2018-07-27 12:26:04 +0300 |
| commit | b05fa7d15603f32b8dc92f5cf19f8a3fef6142fd (patch) | |
| tree | fe1188655919c64c478173a144404c38c7bfa936 | |
| parent | Add popup interface ('build-farm' command) (diff) | |
| download | emacs-build-farm-b05fa7d15603f32b8dc92f5cf19f8a3fef6142fd.tar.gz | |
Modify a message for the 'fake' search type
* build-farm.el (build-farm-message): Adjust the message.
(build-farm-list-describe): Adjust the commentary.
| -rw-r--r-- | build-farm.el | 9 |
1 files 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)) |
