all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#65991] [PATCH] gnu: go-ipfs: Update to 0.14.0.
@ 2023-09-15  9:52 Artyom V. Poptsov
  2023-10-05 14:34 ` bug#65991: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2023-09-15  9:52 UTC (permalink / raw)
  To: 65991


[-- Attachment #1.1: Type: text/plain, Size: 56 bytes --]

Hello,

this patch updates "go-ipfs" to version 0.14.0.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-go-ipfs-Update-to-0.14.0.patch --]
[-- Type: text/x-diff, Size: 2083 bytes --]

From 59c78e119ded8a77444652aa9ffe977b076981a5 Mon Sep 17 00:00:00 2001
Message-Id: <59c78e119ded8a77444652aa9ffe977b076981a5.1694771201.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Fri, 15 Sep 2023 12:46:35 +0300
Subject: [PATCH] gnu: go-ipfs: Update to 0.14.0.

* gnu/packages/ipfs.scm (go-ipfs): Update to 0.14.0.
  [source]: Change "go-ipfs" to "kubo" in the source link.
  [arguments]: Rename "go-ipfs" to "kubo".
---
 gnu/packages/ipfs.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 1e4a7cca3a..1bad48de4c 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -221,15 +221,15 @@ (define-public gx-go
 (define-public go-ipfs
   (package
     (name "go-ipfs")
-    (version "0.13.0")
+    (version "0.14.0")
     (source
      (origin
        (method url-fetch/tarbomb)
        (uri (string-append
-             "https://dist.ipfs.io/go-ipfs/v" version
-             "/go-ipfs-source.tar.gz"))
+             "https://dist.ipfs.io/kubo/v" version
+             "/kubo-source.tar.gz"))
        (sha256
-        (base32 "1cx47ais2zn62c0r7lmrpfzia2gjyr61qi8my5wg3pj3dfr0fhkq"))
+        (base32 "0n7nfiymh6knj3h672gdrb24g9vz9j15x3vn6aml2nk7pv9dsy7p"))
        (file-name (string-append name "-" version "-source"))
        (modules '((guix build utils)))
        (snippet '(for-each delete-file-recursively
@@ -282,8 +282,8 @@ (define-public go-ipfs
     (build-system go-build-system)
     (arguments
      (list
-      #:unpack-path "github.com/ipfs/go-ipfs"
-      #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
+      #:unpack-path "github.com/ipfs/kubo"
+      #:import-path "github.com/ipfs/kubo/cmd/ipfs"
       #:phases
       #~(modify-phases %standard-phases
           ;; https://github.com/ipfs/kubo/blob/master/docs/command-completion.md

base-commit: 4c031bb86f2a82c9e37ce37981abc2779fcd8b68
prerequisite-patch-id: a1d5b9f0dd12eb0d494e90f628a060b5bdc27498
-- 
2.34.1


[-- Attachment #1.3: Type: text/plain, Size: 442 bytes --]


Also "go-ipfs" has been renamed to "kubo" since 0.14.0 in the upstream.
I kept the package name "go-ipfs" for now but the question is how to
gracefully migrate to the new name in the future?  What do yo think?

Thanks,

- avp

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65991: [PATCH] gnu: go-ipfs: Update to 0.14.0.
  2023-09-15  9:52 [bug#65991] [PATCH] gnu: go-ipfs: Update to 0.14.0 Artyom V. Poptsov
@ 2023-10-05 14:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-10-05 14:34 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 65991-done

Hi,

"Artyom V. Poptsov" <poptsov.artyom@gmail.com> skribis:

> From 59c78e119ded8a77444652aa9ffe977b076981a5 Mon Sep 17 00:00:00 2001
> Message-Id: <59c78e119ded8a77444652aa9ffe977b076981a5.1694771201.git.poptsov.artyom@gmail.com>
> From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
> Date: Fri, 15 Sep 2023 12:46:35 +0300
> Subject: [PATCH] gnu: go-ipfs: Update to 0.14.0.
>
> * gnu/packages/ipfs.scm (go-ipfs): Update to 0.14.0.
>   [source]: Change "go-ipfs" to "kubo" in the source link.
>   [arguments]: Rename "go-ipfs" to "kubo".

Applied, thanks!

> Also "go-ipfs" has been renamed to "kubo" since 0.14.0 in the upstream.
> I kept the package name "go-ipfs" for now but the question is how to
> gracefully migrate to the new name in the future?  What do yo think?

Change the name and add a declaration under the old name, using
‘deprecated-package’,

HTH!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-05 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15  9:52 [bug#65991] [PATCH] gnu: go-ipfs: Update to 0.14.0 Artyom V. Poptsov
2023-10-05 14:34 ` bug#65991: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.