GNU bug report logs - #41510
[PATCH] guix: print: Update deprecated method

Previous Next

Package: guix-patches;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Sun, 24 May 2020 16:42:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Subject: bug#41510: closed (Re: [bug#41510] [PATCH] guix: print: Update
 deprecated method)
Date: Mon, 07 Dec 2020 11:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41510: [PATCH] guix: print: Update deprecated method

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41510 <at> debbugs.gnu.org.

-- 
41510: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41510
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Cc: 41510-done <at> debbugs.gnu.org
Subject: Re: [bug#41510] [PATCH] guix: print: Update deprecated method
Date: Mon, 07 Dec 2020 12:40:29 +0100
Hi,

Ekaitz Zarraga <ekaitz <at> elenq.tech> skribis:

> This patch corrects the following warning:
>
> guix/import/print.scm:77:21: warning: 'origin-sha256' is deprecated, use 'origin-hash' instead

This was fixed in a9105c2c4c97ffbdb1b09dadc14773566924ab59.

Closing!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] guix: print: Update deprecated method
Date: Sun, 24 May 2020 16:41:30 +0000
Hi,

This patch corrects the following warning:

guix/import/print.scm:77:21: warning: 'origin-sha256' is deprecated, use 'origin-hash' instead


Best,
Ekaitz




From ac21251092570bd426505f98d4415781e7c66147 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Date: Sun, 24 May 2020 18:36:59 +0200
Subject: [PATCH] guix: print: Update deprecated method

    * guix/import/print.scm (source->code): Replace origin-sha256 with
    origin-hash
---
 guix/import/print.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/print.scm b/guix/import/print.scm
index 11cc218285..afbb680607 100644
--- a/guix/import/print.scm
+++ b/guix/import/print.scm
@@ -74,7 +74,7 @@ when evaluated."
   (define (source->code source version)
     (let ((uri       (origin-uri source))
           (method    (origin-method source))
-          (sha256    (origin-sha256 source))
+          (sha256    (origin-hash source))
           (file-name (origin-file-name source))
           (patches   (origin-patches source)))
       `(origin
--
2.26.2





This bug report was last modified 4 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.