GNU bug report logs - #72129
[PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb}.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Mon, 15 Jul 2024 20:04:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72129 in the body.
You can then email your comments to 72129 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72129; Package guix-patches. (Mon, 15 Jul 2024 20:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 15 Jul 2024 20:04:01 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy,
 ipld-go-codec-dagpb}.
Date: Mon, 15 Jul 2024 23:03:29 +0300
This patchset adds two packages and unbunldes them from Kubo.

Artyom V. Poptsov (4):
  gnu: Add go-github-com-ipfs-go-ipld-legacy.
  gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.
  gnu: Add go-github-com-ipld-go-codec-dagpb.
  gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb.

 gnu/packages/ipfs.scm | 64 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 62 insertions(+), 2 deletions(-)


base-commit: 3689faac5c10249f052c979b527cba26054170d8
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72129; Package guix-patches. (Mon, 15 Jul 2024 20:06:02 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72129 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy.
Date: Mon, 15 Jul 2024 23:04:20 +0300
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipld-legacy): New variable.

Change-Id: I70afb1bb7b1fcc0db477db05c9c82548a2c39285
---
 gnu/packages/ipfs.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index daf68903c2..e57399d6d9 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -373,6 +373,36 @@ (define-public go-github-com-ipfs-go-ipld-format
 order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-forest.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-ipld-legacy
+  (package
+    (name "go-github-com-ipfs-go-ipld-legacy")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipld-legacy")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0sc2zc3lyxy30fzynwdpfrl8jhh1ynwixn1crrv8hzn93yix6550"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipfs/go-ipld-legacy"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-ipfs-go-block-format
+                             go-github-com-ipfs-go-cid
+                             go-github-com-ipfs-go-ipld-format
+                             go-github-com-ipld-go-ipld-prime))
+    (home-page "https://github.com/ipfs/go-ipld-legacy")
+    (synopsis "Translation layer for IPLD legacy code")
+    (description
+     "@code{go-ipld-format} is a translation layer between @code{go-ipld-prime} nodes
+and @code{go-ipld-format} legacy interface.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public go-github-com-ipld-go-ipld-prime
   (package
     (name "go-github-com-ipld-go-ipld-prime")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72129; Package guix-patches. (Mon, 15 Jul 2024 20:06:02 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72129 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.
Date: Mon, 15 Jul 2024 23:04:21 +0300
* gnu/packages/ipfs.scm (kubo): Unbundle go-github-com-ipfs-go-ipld-legacy.
[inputs]: Add go-github-com-ipfs-go-ipld-legacy.

Change-Id: Ifca764014cf03db9260c139a3e83387d20b23983
---
 gnu/packages/ipfs.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index e57399d6d9..22fbce25b6 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -744,6 +744,7 @@ (define-public kubo
                              "vendor/github.com/ipfs/go-ipfs-util"
                              "vendor/github.com/ipfs/go-ipld-cbor"
                              "vendor/github.com/ipfs/go-ipld-format"
+                             "vendor/github.com/ipfs/go-ipld-legacy"
                              "vendor/github.com/ipfs/go-ipld-git"
                              "vendor/github.com/ipfs/go-log"
                              "vendor/github.com/ipld/go-ipld-prime"
@@ -833,7 +834,7 @@ (define-public kubo
                   go-github-com-ipfs-go-ipld-cbor
                   go-github-com-ipfs-go-ipld-format
                   go-github-com-ipfs-go-ipld-git
-                  ;;go-github-com-ipfs-go-ipld-legacy
+                  go-github-com-ipfs-go-ipld-legacy
                   go-github-com-ipfs-go-log
                   go-github-com-ipfs-go-log-v2
                   ;;go-github-com-ipfs-go-metrics-interface
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72129; Package guix-patches. (Mon, 15 Jul 2024 20:06:03 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72129 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb.
Date: Mon, 15 Jul 2024 23:04:22 +0300
* gnu/packages/ipfs.scm (go-github-com-ipld-go-codec-dagpb): New variable.

Change-Id: Icd8c92a79e8c1906e2f7c4bfacc098198a8be328
---
 gnu/packages/ipfs.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 22fbce25b6..ab6b907653 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -403,6 +403,34 @@ (define-public go-github-com-ipfs-go-ipld-legacy
 and @code{go-ipld-format} legacy interface.")
     (license (list license:expat license:asl2.0))))
 
+(define-public go-github-com-ipld-go-codec-dagpb
+  (package
+    (name "go-github-com-ipld-go-codec-dagpb")
+    (version "1.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipld/go-codec-dagpb")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jbrwbgr222wsi95gdflbj350csja6k8vphdq7c9bm50ipr8bvkq"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipld/go-codec-dagpb"))
+    (propagated-inputs (list go-github-com-ipfs-go-cid
+                             go-github-com-ipld-go-ipld-prime
+                             go-google-golang-org-protobuf))
+    (home-page "https://github.com/ipld/go-codec-dagpb/")
+    (synopsis "Implementation of the DAG-PB spec for Go")
+    (description
+     "An implementation of the @url{https://ipld.io/, IPLD DAG-PB} spec for
+@code{go-ipld-prime}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public go-github-com-ipld-go-ipld-prime
   (package
     (name "go-github-com-ipld-go-ipld-prime")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72129; Package guix-patches. (Mon, 15 Jul 2024 20:06:03 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72129 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 4/4] gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb.
Date: Mon, 15 Jul 2024 23:04:23 +0300
* gnu/packages/ipfs.scm (kubo): Unbundle go-github-com-ipld-go-codec-dagpb.
[inputs]: Add go-github-com-ipld-go-codec-dagpb.

Change-Id: I54f1e7a6f1ae78c920b8f30e85595c2db294ef43
---
 gnu/packages/ipfs.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index ab6b907653..4feac96c0f 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -775,6 +775,7 @@ (define-public kubo
                              "vendor/github.com/ipfs/go-ipld-legacy"
                              "vendor/github.com/ipfs/go-ipld-git"
                              "vendor/github.com/ipfs/go-log"
+                             "vendor/github.com/ipld/go-codec-dagpb"
                              "vendor/github.com/ipld/go-ipld-prime"
                              "vendor/github.com/jackpal"
                              "vendor/github.com/jbenet"
@@ -872,7 +873,7 @@ (define-public kubo
                   ;;go-github-com-ipfs-shipyard-nopfs-ipfs
                   ;;go-github-com-ipld-go-car
                   ;;go-github-com-ipld-go-car-v2
-                  ;;go-github-com-ipld-go-codec-dagpb
+                  go-github-com-ipld-go-codec-dagpb
                   go-github-com-ipld-go-ipld-prime
                   go-github-com-jbenet-go-random
                   go-github-com-jbenet-go-temp-err-catcher
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72129; Package guix-patches. (Mon, 15 Jul 2024 20:07:02 GMT) Full text and rfc822 format available.

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Thu, 18 Jul 2024 22:18:02 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Thu, 18 Jul 2024 22:18:02 GMT) Full text and rfc822 format available.

Message #25 received at 72129-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 72129-done <at> debbugs.gnu.org
Subject: [PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy,
 ipld-go-codec-dagpb}.
Date: Thu, 18 Jul 2024 23:16:46 +0100
[Message part 1 (text/plain, inline)]
Hi,

Thank you for your ongoing work for unbundle Kubo's endless vendor
abyss!

I've pushed your patches as 524abb6474..88bcee3235 to master.

- patches [3/3]
  - [X] [PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy.
  - [X] [PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb.
  - [X] Merged to "gnu: kubo: Unbundle more inputs"
    - [X] [PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 16 Aug 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 80 days ago.

Previous Next


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