From b8fa5a2ae8b4c78ec84792e1a1d807ac6a675443 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Thu, 3 Mar 2016 12:55:21 +0300 Subject: emacs: hydra: Use '-' to separate job names and version numbers. * emacs/guix-hydra.el (guix-hydra-job-name-specification): New procedure. * emacs/guix-ui-package.el (guix-package-info-insert-systems) (guix-package-list-latest-builds): Use it. --- emacs/guix-hydra.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'emacs/guix-hydra.el') diff --git a/emacs/guix-hydra.el b/emacs/guix-hydra.el index 429483946b..9f876e7eea 100644 --- a/emacs/guix-hydra.el +++ b/emacs/guix-hydra.el @@ -36,6 +36,10 @@ (concat ".*\\." (regexp-opt guix-help-system-types) "\\'") "Regexp matching a full name of Hydra job (including system).") +(defun guix-hydra-job-name-specification (name version) + "Return Hydra's job name specification by NAME and VERSION." + (concat name "-" version)) + (defun guix-hydra-message (entries search-type &rest _) "Display a message after showing Hydra ENTRIES." ;; XXX Add more messages maybe. -- cgit 1.4.1