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

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1ace18d351 import: github: Honor upstream-name property.
1ace18d351 is described below

commit 1ace18d351bf0253cb2ef27abbd75e413fd119d0
Author: Dariqq <dar...@posteo.net>
AuthorDate: Sun Jun 23 08:03:26 2024 +0000

    import: github: Honor upstream-name property.
    
    * guix/import/github.scm (import-release): Use package-upstream-name instead
    of package-name.
    
    Change-Id: I9a4999a01156ce02584270837ceab70996b49106
    Signed-off-by: Nicolas Goaziou <m...@nicolasgoaziou.fr>
---
 guix/import/github.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/github.scm b/guix/import/github.scm
index c5556d78ee..7be29ca151 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -327,7 +327,7 @@ Optionally include a VERSION string to fetch a specific 
version."
 
   (let* ((original-uri (origin-uri (package-source pkg)))
          (source-uri (github-uri original-uri))
-         (name (package-name pkg))
+         (name (package-upstream-name pkg))
          (newest-version version-tag
                          (latest-released-version source-uri name
                                                   #:version version)))

Reply via email to