GNU bug report logs - #72844
[PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies.

Previous Next

Package: guix-patches;

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

Date: Tue, 27 Aug 2024 21:10: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 72844 in the body.
You can then email your comments to 72844 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#72844; Package guix-patches. (Tue, 27 Aug 2024 21:10:02 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. (Tue, 27 Aug 2024 21:10:02 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: Add some direct and indirect dependencies.
Date: Wed, 28 Aug 2024 00:08:13 +0300
This patchset unbundles another package from Kubo (IPFS) and adds some
indirect dependencies for it.

Although "go-github-com-ipfs-go-ipfs-posinfo" is archived on GitHub it is
still in use by "go-unixfs":
  https://github.com/ipfs/go-unixfs/blob/a7243ebfc36eaa89d79a39d3cef3fa1e60f7e49e/go.mod#L15

which in turn is a dependency of "go-unixfsnode":
  https://github.com/ipfs/go-unixfsnode/blob/8151e6f66ca15508a75219216f447395eb65991c/go.mod#L12

Artyom V. Poptsov (4):
  gnu: Add go-github-com-libp2p-go-doh-resolver.
  gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver.
  gnu: Add go-github-com-ipfs-go-bitfield.
  gnu: Add go-github-com-ipfs-go-ipfs-posinfo.

 gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 gnu/packages/ipfs.scm       | 27 ++++++++++++++++++++++++++-
 3 files changed, 79 insertions(+), 1 deletion(-)


base-commit: 1ee12c3c6ba8323881a0d5d5e8fb21f5fe26b51e
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72844; Package guix-patches. (Tue, 27 Aug 2024 21:12:02 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72844 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 1/4] gnu: Add go-github-com-libp2p-go-doh-resolver.
Date: Wed, 28 Aug 2024 00:09:33 +0300
* gnu/packages/golang-web.scm (go-github-com-libp2p-go-doh-resolver): New variable.

Change-Id: I581c6032fbb9b6ffe74423172359b65ced119ab3
---
 gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9943891502..b3e583da39 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2698,6 +2698,34 @@ (define-public go-github-com-libp2p-go-cidranger
 published AWS Route53 CIDR 52.95.110.0/24), IP routing rules, etc.")
     (license license:expat)))
 
+(define-public go-github-com-libp2p-go-doh-resolver
+  (package
+    (name "go-github-com-libp2p-go-doh-resolver")
+    (version "0.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/libp2p/go-doh-resolver")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0asni7f3gd65bjfqz99fqchz9y75cpgmfwkkhsbq0y2dydagw666"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/libp2p/go-doh-resolver"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-miekg-dns
+                             go-github-com-multiformats-go-multiaddr-dns
+                             go-github-com-ipfs-go-log-v2))
+    (home-page "https://github.com/libp2p/go-doh-resolver")
+    (synopsis "DNS over HTTPS resolver")
+    (description
+     "@url{https://datatracker.ietf.org/doc/html/rfc8484, DNS over HTTPS}
+resolver for Golang.")
+    (license license:expat)))
+
 (define-public go-github-com-libp2p-go-flow-metrics
   (package
     (name "go-github-com-libp2p-go-flow-metrics")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72844; Package guix-patches. (Tue, 27 Aug 2024 21:12:02 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72844 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 2/4] gnu: kubo: Unbundle go-github-com-libp2p-go-doh-resolver.
Date: Wed, 28 Aug 2024 00:09:34 +0300
* gnu/packages/ipfs.scm (kubo): [snippet]: Delete
"vendor/github.com/libp2p/go-doh-resolver".
[inputs]: Add go-github-com-libp2p-go-doh-resolver.

Change-Id: I417802e02b482164fdb65852a19187fb63bd9199
---
 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 d9866a8d9a..af95ca86f3 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -865,6 +865,7 @@ (define-public kubo
                              "vendor/github.com/koron"
                              "vendor/github.com/libp2p/go-buffer-pool"
                              "vendor/github.com/libp2p/go-cidranger"
+                             "vendor/github.com/libp2p/go-doh-resolver"
                              "vendor/github.com/libp2p/go-flow-metrics"
                              "vendor/github.com/libp2p/go-libp2p-asn-util"
                              "vendor/github.com/libp2p/go-msgio"
@@ -989,7 +990,7 @@ (define-public kubo
                   go-github-com-jbenet-go-temp-err-catcher
                   go-github-com-jbenet-goprocess
                   go-github-com-julienschmidt-httprouter
-                  ;;go-github-com-libp2p-go-doh-resolver
+                  go-github-com-libp2p-go-doh-resolver
                   ;;go-github-com-libp2p-go-libp2p
                   ;;go-github-com-libp2p-go-libp2p-http
                   ;;go-github-com-libp2p-go-libp2p-kad-dht
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72844; Package guix-patches. (Tue, 27 Aug 2024 21:12:03 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72844 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 3/4] gnu: Add go-github-com-ipfs-go-bitfield.
Date: Wed, 28 Aug 2024 00:09:35 +0300
* gnu/packages/golang-xyz.scm (go-github-com-ipfs-go-bitfield): New variable.

Change-Id: I95e627fb5f4dfcca5e4b70e753b544b4965b96c2
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 796341a66b..056680afcf 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3362,6 +3362,31 @@ (define-public go-github-com-itchyny-timefmt-go
 time strings.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-bitfield
+  (package
+    (name "go-github-com-ipfs-go-bitfield")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-bitfield")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zhgwdg2kizhk0hb9q5p0pwrwldd2pacz8l1pnapxh6qm3fqs663"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ipfs/go-bitfield"))
+    (home-page "https://github.com/ipfs/go-bitfield")
+    (synopsis "Golang bitfield package")
+    (description
+     "@code{go-bitfield} is a simple bitfield package that's about 2-3x faster than
+using @code{big.Int} from the standard library.  It also has a better interface (and,
+e.g., supports counting ones).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public go-github-com-jbenet-go-random
   (package
     (name "go-github-com-jbenet-go-random")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72844; Package guix-patches. (Tue, 27 Aug 2024 21:12:03 GMT) Full text and rfc822 format available.

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

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72844 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 4/4] gnu: Add go-github-com-ipfs-go-ipfs-posinfo.
Date: Wed, 28 Aug 2024 00:09:36 +0300
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-posinfo): New variable.

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index af95ca86f3..6089dd7362 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -165,6 +165,30 @@ (define-public go-github-com-ipfs-go-ipfs-blocksutil
 @url{https://github.com/ipfs/go-block-format, IPFS blocks}.")
       (license license:expat))))
 
+(define-public go-github-com-ipfs-go-ipfs-posinfo
+  (package
+    (name "go-github-com-ipfs-go-ipfs-posinfo")
+    (version "0.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipfs-posinfo")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wgd3708gr42f37dcva41w1pkb5iywf8jdx6pgfhwwlw2s4lrn0p"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ipfs/go-ipfs-posinfo"))
+    (propagated-inputs (list go-github-com-ipfs-go-ipld-format))
+    (home-page "https://github.com/ipfs/go-ipfs-posinfo")
+    (synopsis "Wrap offset information for IPFS filestore nodes")
+    (description
+     "@code{go-ipfs-posinfo} wraps offset information for IPFS filestore nodes.")
+    (license license:expat)))
+
 (define-public go-github-com-ipfs-go-cid
   (package
     (name "go-github-com-ipfs-go-cid")
-- 
2.45.2





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

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

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 72844-done <at> debbugs.gnu.org
Subject: [PATCH 0/4] gnu: kubo: Add some direct and indirect dependencies.
Date: Thu, 29 Aug 2024 01:11:18 +0100
[Message part 1 (text/plain, inline)]
Hi,

Thank you for the patches.

Pushed as 71e1d0a437..de25a21433 to master with minor adjustments.

--
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. (Thu, 26 Sep 2024 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 264 days ago.

Previous Next


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