[PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb}.

  • Done
  • quality assurance status badge
Details
2 participants
  • Artyom V. Poptsov
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal
A
A
Artyom V. Poptsov wrote on 15 Jul 22:03 +0200
(address . guix-patches@gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
cover.1721073688.git.poptsov.artyom@gmail.com
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
A
A
Artyom V. Poptsov wrote on 15 Jul 22:04 +0200
[PATCH 1/4] gnu: Add go-github-com-ipfs-go-ipld-legacy.
(address . 72129@debbugs.gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
9e2f2a99f533a4288d4de36d2d8cc96e9dc8aa86.1721073688.git.poptsov.artyom@gmail.com
* 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(+)

Toggle diff (43 lines)
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
A
A
Artyom V. Poptsov wrote on 15 Jul 22:04 +0200
[PATCH 2/4] gnu: kubo: Unbundle go-github-com-ipfs-go-ipld-legacy.
(address . 72129@debbugs.gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
7ab5c11261ecc34e9ab33a31c67d0cd1ee9b47b1.1721073688.git.poptsov.artyom@gmail.com
* 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(-)

Toggle diff (23 lines)
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
A
A
Artyom V. Poptsov wrote on 15 Jul 22:04 +0200
[PATCH 3/4] gnu: Add go-github-com-ipld-go-codec-dagpb.
(address . 72129@debbugs.gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
b46dbea901900800fc73c27a3d52b5118bc5fa7a.1721073688.git.poptsov.artyom@gmail.com
* 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(+)

Toggle diff (41 lines)
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
A
A
Artyom V. Poptsov wrote on 15 Jul 22:04 +0200
[PATCH 4/4] gnu: kubo: Unbundle go-github-com-ipld-go-codec-dagpb.
(address . 72129@debbugs.gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
5c3531577a4d575b513c6f5b6a2e2a99b57ab39e.1721073688.git.poptsov.artyom@gmail.com
* 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(-)

Toggle diff (23 lines)
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
S
S
Sharlatan Hellseher wrote on 19 Jul 00:16 +0200
[PATCH 0/4] gnu: kubo: Unbundle go-github-com-{ipfs-go-ipld-legacy, ipld-go-codec-dagpb}.
(address . 72129-done@debbugs.gnu.org)
87r0bqny5t.fsf@gmail.com
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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmaZlE4ACgkQdtcnv/Ys
0rXw7Q//XektIhq+V5eZ+D5vnnnOWi1VOgV0tKQo+ir+ZYMCjxERKvL/BFPyiBaa
NDsd6AofD32cJGxY/TN9Z840OQeOHxEZSqlHC9nsxLiuFxgiwouHq3a/yifhvzw7
HrF8qe99rOxp/ppPOIY8YtJXLB7q/92l/3U71i5yGxdPENlZCdBQHRG5CmI6E84z
NtcL0StugOJlGCsWJqqvcs9j6QV3VkG/d8lnI4TDvZ2mbrONGXuqHoWMyRMMbGft
cMbG510cUW02+W2esb1Xa0+dltgF+EPp+xFVbipvJeIByo26dyfmdiouJQPsSRTa
gBhpP3qtivUWqFgWcOscSv0Fu9/7ai3iuK6d4kvtddmu7xS9M//q8bkKixHs5Ae7
i8CYXjSiJv4gjkKuEyEN4HcGtvzLv6anBtMN8IxWtjazqzD2OlXS4p++zYqwPps3
o16jDVnEfcmzUNYZZtGK9Rb2z6mPQAXqnXPDd91Aswg/2l8LaPd84gm4GAOBaIkb
Cwirzu/qbYpwYtQmxnfyZ4d94vqoA87i5OeNPvn+g6ihILHHLK+ue+XtCTbjtKuT
akQKWNoDPqwAtKtLvoVoYvNPg0IbjCbncKJU89f1H94uPkz06UHqikKmJa0zKSoo
ynmpcqrmsTyowhMx0gT6jMR0fREjtSFQaSNPUIx7cq3Kjouu+BA=
=9fLX
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 72129@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 72129
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch