guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: ci: Remove the package version from the job name.


From: guix-commits
Subject: branch master updated: ci: Remove the package version from the job name.
Date: Sun, 31 Jan 2021 09:14:42 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5c11188  ci: Remove the package version from the job name.
5c11188 is described below

commit 5c111882de4d1cb6cd1d5a86c935c20bb3bc76a3
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Jan 31 15:10:04 2021 +0100

    ci: Remove the package version from the job name.
    
    Match Hydra behaviour where the job_name is <package_name>.<system>. This
    allows to operate on several builds of the same package in the CI, 
regardless
    of their version.
    
    * gnu/ci.scm (job-name): Remove package version from the job name.
---
 gnu/ci.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/ci.scm b/gnu/ci.scm
index 736a133..96bff64 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -412,8 +412,7 @@ all its dependencies, and ready to be installed on 
\"foreign\" distributions.")
 
 (define job-name
   ;; Return the name of a package's job.
-  (compose string->symbol
-           (cut package-full-name <> "-")))
+  (compose string->symbol package-name))
 
 (define package->job
   (let ((base-packages



reply via email to

[Prev in Thread] Current Thread [Next in Thread]