GNU bug report logs - #77875
[PATCH 0/2] Use 'graph-descendant?' from Guile-Git instead of custom code

Previous Next

Package: guix-patches;

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

Date: Thu, 17 Apr 2025 20:21:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 77875 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 77875 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 2/2] git: Remove compatibility shim for Guile-Git <= 0.5.2.
Date: Thu, 17 Apr 2025 22:22:37 +0200
Guile-Git 0.5.2 was released in July 2021.

* guix/git.scm (GITERR_HTTP): Remove.

Change-Id: I05b2ee36f786bd83ca91c8989912f83f6dde59c0
---
 guix/git.scm | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/guix/git.scm b/guix/git.scm
index cb26714d2d..2ff2bfd8ed 100644
--- a/guix/git.scm
+++ b/guix/git.scm
@@ -206,13 +206,6 @@ (define* (make-default-fetch-options #:key (verify-certificate? #t))
                                                  warn-for-invalid-certificate)))
     options))
 
-(define GITERR_HTTP
-  ;; Guile-Git <= 0.5.2 lacks this constant.
-  (let ((errors (resolve-interface '(git errors))))
-    (if (module-defined? errors 'GITERR_HTTP)
-        (module-ref errors 'GITERR_HTTP)
-        34)))
-
 (define (set-git-timeouts connection-timeout read-timeout)
   "Instruct Guile-Git to honor the given CONNECTION-TIMEOUT and READ-TIMEOUT
 when talking to remote Git servers.
-- 
2.49.0





This bug report was last modified 86 days ago.

Previous Next


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