fix URLs of Goran Weinholt's Scheme libraries

OpenSubmitted by raingloom.
Details
2 participants
  • Ludovic Courtès
  • raingloom
Owner
unassigned
Severity
normal
R
R
raingloom wrote on 23 Mar 23:31 +0100
(name . Guix Patches)(address . guix-patches@gnu.org)
20220323233130.6bca6d98@riseup.net
Just a simple search-replace, all URLs verified to be working. At least
the old laesare URL is broken, the others may not have been broken.

Series starts at 0002 because I didn't bother making a new branch,
sorry. Hopefully it's not an issue.

Will try to get around to upgrading them too eventually....
From 2ad9a684648b648ca7e318ea34090fa2382ead4a Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Wed, 23 Mar 2022 23:24:43 +0100
Subject: [PATCH 2/6] gnu: guile-hashing: Update URLs.

* gnu/packages/guile-xyz.scm (guile-hashing): Update URLs.
---
gnu/packages/guile-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 63fbf3c89f..f03a6825a2 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3720,7 +3720,7 @@ (define-public guile-hashing
   (package
     (name "guile-hashing")
     (version "1.2.0")
-    (home-page "https://github.com/weinholt/hashing")
+    (home-page "https://gitlab.com/weinholt/hashing")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-- 
2.34.0
From f1b5e714da80ed4f4d0d5b9cd3441d3d8b91a3cf Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Wed, 23 Mar 2022 23:24:44 +0100
Subject: [PATCH 3/6] gnu: guile-packrat: Update URLs.

* gnu/packages/guile-xyz.scm (guile-packrat): Update URLs.
---
gnu/packages/guile-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f03a6825a2..9a55ad2bec 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3778,7 +3778,7 @@ (define-public guile-packrat
   (package
     (name "guile-packrat")
     (version "0.1.1")
-    (home-page "https://github.com/weinholt/packrat")
+    (home-page "https://gitlab.com/weinholt/packrat")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-- 
2.34.0
From 0d38b0ae2962e2e9b5fc51d9f64daa54fa11d27e Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Wed, 23 Mar 2022 23:24:44 +0100
Subject: [PATCH 4/6] gnu: guile-struct-pack: Update URLs.

* gnu/packages/guile-xyz.scm (guile-struct-pack): Update URLs.
---
gnu/packages/guile-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 9a55ad2bec..f5331f1079 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4181,7 +4181,7 @@ (define-public guile-struct-pack
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/weinholt/struct-pack")
+             (url "https://gitlab.com/weinholt/struct-pack")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
@@ -4210,7 +4210,7 @@ (define files
                       #t)))))
     (native-inputs
      (list guile-3.0))
-    (home-page "https://github.com/weinholt/struct-pack")
+    (home-page "https://gitlab.com/weinholt/struct-pack")
     (synopsis "R6RS library for working with packed byte structures")
     (description
      "This is an R6RS library for working with packed byte structures.  It is
-- 
2.34.0
From 30985cdeec9112db6879d2215f025cca40aeffa5 Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Wed, 23 Mar 2022 23:24:44 +0100
Subject: [PATCH 5/6] gnu: guile-machine-code: Update URLs.

* gnu/packages/guile-xyz.scm (guile-machine-code): Update URLs.
---
gnu/packages/guile-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f5331f1079..e8d7795737 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4225,7 +4225,7 @@ (define-public guile-machine-code
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/weinholt/machine-code")
+             (url "https://gitlab.com/weinholt/machine-code")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
@@ -4256,7 +4256,7 @@ (define files
      (list guile-3.0))
     (propagated-inputs
      (list guile-struct-pack))
-    (home-page "https://github.com/weinholt/machine-code")
+    (home-page "https://gitlab.com/weinholt/machine-code")
     (synopsis "Tools that relate to machine code and object formats")
     (description
      "This project is about the development of tools that relate to machine
-- 
2.34.0
From bea6d000501fe8edc6995f580f12772673dd32a2 Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Wed, 23 Mar 2022 23:24:44 +0100
Subject: [PATCH 6/6] gnu: guile-laesare: Update URLs.

* gnu/packages/guile-xyz.scm (guile-laesare): Update URLs.
---
gnu/packages/guile-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index e8d7795737..e31fa69e51 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4273,7 +4273,7 @@ (define-public guile-laesare
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/weinholt/laesare")
+             (url "https://gitlab.com/weinholt/laesare")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
@@ -4302,7 +4302,7 @@ (define files
                       #t)))))
     (native-inputs
      (list guile-3.0))
-    (home-page "https://github.com/weinholt/laesare")
+    (home-page "https://gitlab.com/weinholt/laesare")
     (synopsis "R6RS Scheme library that provides a reader")
     (description
      "This is an R6RS Scheme library that provides a reader with some extra
-- 
2.34.0
L
L
Ludovic Courtès wrote on 24 Mar 12:58 +0100
(name . raingloom)(address . raingloom@riseup.net)(address . 54540@debbugs.gnu.org)
87pmmbbm03.fsf@gnu.org
Hi,

raingloom <raingloom@riseup.net> skribis:

Toggle quote (3 lines)
> Just a simple search-replace, all URLs verified to be working. At least
> the old laesare URL is broken, the others may not have been broken.

Looks like something’s wrong with the new URLs:

Toggle snippet (26 lines)
$ ./pre-inst-env guix build guile-hashing -S --check

[...]

Initialized empty Git repository in /gnu/store/kgpkygpri3z6cgn2dj1fm71sz5w6mcb2-guile-hashing-1.2.0-checkout/.git/
warning: redirecting to https://gitlab.com/weinholt/hashing.git/
fatal: couldn't find remote ref v1.2.0
Failed to do a shallow fetch; retrying a full fetch...
warning: redirecting to https://gitlab.com/weinholt/hashing.git/
From https://gitlab.com/weinholt/hashing
* [new branch] dev -> origin/dev
* [new branch] master -> origin/master
error: pathspec 'v1.2.0' did not match any file(s) known to git
git-fetch: '/gnu/store/c8p8rlf1d0xfswcdf6cs46m2cfj4y9f7-git-minimal-2.34.0/bin/git checkout v1.2.0' failed with exit code 1
Trying content-addressed mirror at berlin.guix.gnu.org...
following redirection to `https://berlin.guix.gnu.org/nar/gzip/kgpkygpri3z6cgn2dj1fm71sz5w6mcb2-guile-hashing-1.2.0-checkout'...
Trying content-addressed mirror at berlin.guix.gnu.org...
following redirection to `https://berlin.guix.gnu.org/nar/kgpkygpri3z6cgn2dj1fm71sz5w6mcb2-guile-hashing-1.2.0-checkout'...
Trying to download from Software Heritage...
SWH: revision "v1.2.0" originating from https://gitlab.com/weinholt/hashing could not be found
builder for `/gnu/store/vx1s9x1z137bbpg18haamcbdm0jwjq06-guile-hashing-1.2.0-checkout.drv' failed to produce output path `/gnu/store/kgpkygpri3z6cgn2dj1fm71sz5w6mcb2-guile-hashing-1.2.0-checkout'
build of /gnu/store/vx1s9x1z137bbpg18haamcbdm0jwjq06-guile-hashing-1.2.0-checkout.drv failed
View build log at '/var/log/guix/drvs/vx/1s9x1z137bbpg18haamcbdm0jwjq06-guile-hashing-1.2.0-checkout.drv.gz'.
guix build: error: build of `/gnu/store/vx1s9x1z137bbpg18haamcbdm0jwjq06-guile-hashing-1.2.0-checkout.drv' failed

Could you take a look? It might that tags were not copied over?

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 4 Apr 14:12 +0200
control message for bug #54540
(address . control@debbugs.gnu.org)
874k39ujx5.fsf@gnu.org
tags 54540 + moreinfo
quit
?