all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#68572] [PATCH] gnu: kubo: Update to 0.16.0.
@ 2024-01-18 19:58 Artyom V. Poptsov
  2024-01-19 22:55 ` bug#68572: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2024-01-18 19:58 UTC (permalink / raw)
  To: 68572


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

Hello,

this patch updates Kubo (IPFS) to 0.16.0.

[-- Attachment #1.2: 0001-gnu-kubo-Update-to-0.16.0.patch --]
[-- Type: text/x-diff, Size: 2674 bytes --]

From 3f92e0020f9cc94ae342f5f85ed138ff51480616 Mon Sep 17 00:00:00 2001
Message-ID: <3f92e0020f9cc94ae342f5f85ed138ff51480616.1705607838.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Thu, 18 Jan 2024 22:57:03 +0300
Subject: [PATCH] gnu: kubo: Update to 0.16.0.

* gnu/packages/ipfs.scm (kubo): Update to 0.16.0.
  [arguments]: Use go-1.18.
  [home-page]: Set to "https://ipfs.tech".

Change-Id: I06239354b0c9c23294d5aeac6d01f67636d5d3a5
---
 gnu/packages/ipfs.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index fc66582c8a..0c8c6ed820 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
-;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -223,7 +223,7 @@ (define-public gx-go
 (define-public kubo
   (package
     (name "kubo")
-    (version "0.15.0")
+    (version "0.16.0")
     (source
      (origin
        (method url-fetch/tarbomb)
@@ -231,7 +231,7 @@ (define-public kubo
              "https://dist.ipfs.io/kubo/v" version
              "/kubo-source.tar.gz"))
        (sha256
-        (base32 "0ss5k8xnzn9qk977dni5ja89yygcysdw7r3mdk67cac2dpa9hhqs"))
+        (base32 "0v8p4mjwsrqxzd6wdzafxnnfrv919x5p3r5342lbrjdv0k0yabhm"))
        (file-name (string-append name "-" version "-source"))
        (modules '((guix build utils)))
        (snippet '(for-each delete-file-recursively
@@ -286,6 +286,7 @@ (define-public kubo
      (list
       #:unpack-path "github.com/ipfs/kubo"
       #:import-path "github.com/ipfs/kubo/cmd/ipfs"
+      #:go go-1.18
       #:phases
       #~(modify-phases %standard-phases
           ;; https://github.com/ipfs/kubo/blob/master/docs/command-completion.md
@@ -361,7 +362,7 @@ (define-public kubo
                  (list this-package)
                  '())
              (list python-minimal-wrapper zsh)))
-    (home-page "https://ipfs.io")
+    (home-page "https://ipfs.tech")
     (synopsis "Go implementation of IPFS, a peer-to-peer hypermedia protocol")
     (description "IPFS is a global, versioned, peer-to-peer file system.  It
 combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web.  It is

base-commit: 3e3975275bbab84d58f7740e9680b265769aa580
-- 
2.41.0


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


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#68572: [PATCH] gnu: kubo: Update to 0.16.0.
  2024-01-18 19:58 [bug#68572] [PATCH] gnu: kubo: Update to 0.16.0 Artyom V. Poptsov
@ 2024-01-19 22:55 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-01-19 22:55 UTC (permalink / raw)
  To: 68572-done

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]


Hi,

I've done some analysis of the vendor directory, and it contains a
massive list of missed Guix packages. I see that version 0.16.0 is not
the latest upstream version for that reason.

A quick review of the required modules for the latest version of *kubo*,
v0.25.0, shows that it requires significant packaging efforts.
Hopefully, some of the missing ones will be covered after all pending
patches related to Golang are merged.

https://github.com/ipfs/kubo/blob/v0.25.0/go.mod

Keep this message here for future reference regarding the update of
*kubo*.

Quick rough script to check missing packages
--8<---------------cut here---------------start------------->8---
cd vendor
find * -maxdepth 2 -mindepth 2 -type d |
    sed -e 's/[\.\/]/-/g' |
    sort |
    while read -r m
    do
        echo "go-$m"
    done |
    while read -r p
    do
        guix show $p 2>&1
    done |
    grep "package not found" |
    tee kubo-vendor-package-not-found
--8<---------------cut here---------------start------------->8---

Pushed as 

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

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

end of thread, other threads:[~2024-01-19 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-18 19:58 [bug#68572] [PATCH] gnu: kubo: Update to 0.16.0 Artyom V. Poptsov
2024-01-19 22:55 ` bug#68572: " Sharlatan Hellseher

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.