From unknown Sat Sep 20 18:57:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39198] [PATCH] gnu: Add bcachefs-tools. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Jan 2020 03:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39198 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39198@debbugs.gnu.org Cc: kuba@kadziolka.net X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157949248629816 (code B ref -1); Mon, 20 Jan 2020 03:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jan 2020 03:54:46 +0000 Received: from localhost ([127.0.0.1]:44261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itO9B-0007kl-MM for submit@debbugs.gnu.org; Sun, 19 Jan 2020 22:54:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:34258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itO99-0007kb-Qa for submit@debbugs.gnu.org; Sun, 19 Jan 2020 22:54:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54951) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itO98-0006Ax-4Y for guix-patches@gnu.org; Sun, 19 Jan 2020 22:54:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itO96-000599-Sr for guix-patches@gnu.org; Sun, 19 Jan 2020 22:54:38 -0500 Received: from tobias.gr ([2001:470:7405::1]:37608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itO96-00058g-DS for guix-patches@gnu.org; Sun, 19 Jan 2020 22:54:36 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id e9d6a0c6; Mon, 20 Jan 2020 03:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=m99h+JXWh i4zo8ewL0/sQkuybsrVFnR2fxUr4KIGBKQ=; b=SPVStS3i2mT3kIsGncXzAUNy7 szfUom/m5hWYlGzcqld2wIQ7L14TI+EkvPcvJRabBwdnTSGxJM/qy2qlkPFbOutL 2RiPIkhUYrbdLW7TZbyrCK+uWqTmuP5VP0wNMIZ0UJRPB6pu4/HYo6UwzMRCg4BW LGDhw0Vy0DTrX3CGLprbfSk3Mehu2uNF13aWPkfWimpTZrgsl24qZzLEyCAhdmWz TUDvJJKo05/PDSM5qhqAn2nHTD9nwBK0WNX2UzFLcJQjIk9DE06wBbhSREgMgtWT 83Vcq7gmQ4DMiW5EYw56w+Kae6xjJ1z3AHwuuRGKAoCUyn+d67/Fk/KH/Ev4g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a541c7b0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 20 Jan 2020 03:54:34 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Mon, 20 Jan 2020 04:54:26 +0100 Message-Id: <20200120035426.30773-1-me@tobias.gr> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:7405::1 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/file-systems.scm (bcachefs-tools): New public variable. --- gnu/packages/file-systems.scm | 61 ++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index a3dc993055..d7a0d6dbac 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Gábor Boskovits ;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2018 Leo Famulari @@ -37,6 +37,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) @@ -52,8 +53,66 @@ #:use-module (gnu packages readline) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) + #:use-module (gnu packages valgrind) #:use-module (gnu packages xml)) +(define-public bcachefs-tools + (let ((commit "ab2f1ec24f5307b0cf1e3c4ad19bf350d9f54d9f") + (revision "0")) + (package + (name "bcachefs-tools") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://evilpiepirate.org/git/bcachefs-tools.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10pafvaxg1lvwnqjv3a4rsi96bghbpcsgh3vhqilndi334k3b0hd")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools" + "CC=gcc" + "PYTEST=pytest") + #:phases + (modify-phases %standard-phases + (delete 'configure)) ; no configure script + #:tests? #f)) ; XXX 6 valgrind tests fail + (native-inputs + `(("pkg-config" ,pkg-config) + + ;; For tests. + ("python-pytest" ,python-pytest) + ("valgrind" ,valgrind))) + (inputs + `(("keyutils" ,keyutils) + ("libaio" ,libaio) + ("libscrypt" ,libscrypt) + ("libsodium" ,libsodium) + ("liburcu" ,liburcu) + ("util-linux" ,util-linux) ; lib{blkid,uuid} + ("lz4" ,lz4) + ("zlib" ,zlib) + ("zstd:lib" ,zstd "lib"))) + (home-page "https://bcachefs.org/") + (synopsis "Tools to create and manage bcachefs file systems") + (description + "The bcachefs-tools are command-line utilites for creating, checking, +and otherwise managing bcachefs file systems. + +Bcachefs is a @acronym{CoW, copy-on-write} file system supporting native +encryption, compression, snapshots, and (meta)data checksums. It can use +multiple block devices for replication and/or performance, similar to RAID. + +In addition, bcachefs provides all the functionality of bcache, a block-layer +caching system, and lets you assign different roles to each device based on its +performance and other characteristics.") + (license license:gpl2+)))) + (define-public httpfs2 (package (name "httpfs2") -- 2.23.0 From unknown Sat Sep 20 18:57:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tobias Geerinckx-Rice Subject: bug#39198: closed (Re: [PATCH] gnu: Add bcachefs-tools.) Message-ID: References: <87y2trh7ns.fsf@nckx> <20200120035426.30773-1-me@tobias.gr> X-Gnu-PR-Message: they-closed 39198 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39198@debbugs.gnu.org Date: Tue, 28 Jan 2020 16:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1580228642-15569-1" This is a multi-part message in MIME format... ------------=_1580228642-15569-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39198: [PATCH] gnu: Add bcachefs-tools. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39198@debbugs.gnu.org. --=20 39198: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39198 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580228642-15569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39198-done) by debbugs.gnu.org; 28 Jan 2020 16:23:20 +0000 Received: from localhost ([127.0.0.1]:60990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwTe3-00042B-Qk for submit@debbugs.gnu.org; Tue, 28 Jan 2020 11:23:20 -0500 Received: from tobias.gr ([80.241.217.52]:46922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwTe1-000420-IF for 39198-done@debbugs.gnu.org; Tue, 28 Jan 2020 11:23:18 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id cbb4de75 for <39198-done@debbugs.gnu.org>; Tue, 28 Jan 2020 16:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=f43Jd2kM4mQBpLnrdUS3//a51uz/FiDfxlhinc25W98=; b= dF2GrMm+VPM3h6tos2uOZN9yQikaiNYabY2VsjkmpQWPwX5sGoFNcJpSMuYB8gQl aj/8Z/DJj0zJJOrzRD9KLRP7SCahJVdADK6G8qlypnsFxPIyKA7tieHz7WFH0G+8 hX1G3TWfttDw1TlqJTFD4RuHvMzgq8nWQK6nRxbFqmXECdFBpkMk6poEhZT1IlM0 pmwnnpNvOrprHftRmEnw7QmLyExCttxPokhMSY8AXgWKUcO6hKo0quUffTgEp1x+ lMHwYMg4kHw8wHSPQnoW7lJT8wpyiMjO5N/EuDBj34jusZNFu9noT4wXPrcf30Kp VLwlhbClF5U4/UHMFiOSyQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id fdcbbcb3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <39198-done@debbugs.gnu.org>; Tue, 28 Jan 2020 16:23:15 +0000 (UTC) From: Tobias Geerinckx-Rice To: 39198-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add bcachefs-tools. Date: Tue, 28 Jan 2020 17:23:19 +0100 Message-ID: <87y2trh7ns.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39198-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; format=flowed Pushed as cd328a7315d75ab167be4e238e0ac3c78fb86cee. T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4wX/cACgkQ2Imw8BjF STy2AA//cvuApyPjFIqHQk4IUbxlwwbTLIaO8TCSARuuPdRYYUVVx+YzpxJmmsfF CuvhkhJQykTtackn07SoD54Ykp3V33d0mj2wbcI8ZGPoMNAeQt8c/ZS2T1PoDutb pBdkDrGii71Kgm2WxTpql5W+nZkkMhYdJBHQc1AX2qrWMMJPPhYEkewUW9suf16Q 6Coy6scdNyt1Do1Z9oD4GgPuqzYVRV/Sn9qzR/KLIF86t5SX/+m5FtDm4xgYqVGF K1cuRJfbWStAcsU1JVeGEfDeKATkJvYL7BiQFu1D7dQiNdvDWMoZcQsoDjtAK1Qc tLZMCh4B3Mz1xtWIJGT7W13bbpZ8kN0kkSx941KajcjOtJjUbWU21g/b1fhYBv/C vjyJsR30ADMe13wXNmwPqUdv4jFrLi34jwOgbuff/QYtnKdSAdrmEvN6VT1ywwFM o9C3mwWNXn6oD+l1eFI3xRbtxLgFawCpTgn2eK9irx37AhWMX2/GAWQQCKvVwREx 8Vblqwx2dkpla7J48WG12RSspZmCiPKv5FpGvH99OYiKtzTyyq+wL3tEjCEXqql+ A0cvv0Fj1JqbvmUDpRN1vbBoQl6EF5Oj15w0nerGXGsYDNSgNOP8SyX2fohthLlJ TOIpX0Q51LgiTX/FBcNH2XAK6oYjiyzsfmMo1ZwtY+GT2wgd/t0= =W0uG -----END PGP SIGNATURE----- --=-=-=-- ------------=_1580228642-15569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Jan 2020 03:54:46 +0000 Received: from localhost ([127.0.0.1]:44261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itO9B-0007kl-MM for submit@debbugs.gnu.org; Sun, 19 Jan 2020 22:54:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:34258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itO99-0007kb-Qa for submit@debbugs.gnu.org; Sun, 19 Jan 2020 22:54:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54951) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itO98-0006Ax-4Y for guix-patches@gnu.org; Sun, 19 Jan 2020 22:54:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itO96-000599-Sr for guix-patches@gnu.org; Sun, 19 Jan 2020 22:54:38 -0500 Received: from tobias.gr ([2001:470:7405::1]:37608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itO96-00058g-DS for guix-patches@gnu.org; Sun, 19 Jan 2020 22:54:36 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id e9d6a0c6; Mon, 20 Jan 2020 03:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=m99h+JXWh i4zo8ewL0/sQkuybsrVFnR2fxUr4KIGBKQ=; b=SPVStS3i2mT3kIsGncXzAUNy7 szfUom/m5hWYlGzcqld2wIQ7L14TI+EkvPcvJRabBwdnTSGxJM/qy2qlkPFbOutL 2RiPIkhUYrbdLW7TZbyrCK+uWqTmuP5VP0wNMIZ0UJRPB6pu4/HYo6UwzMRCg4BW LGDhw0Vy0DTrX3CGLprbfSk3Mehu2uNF13aWPkfWimpTZrgsl24qZzLEyCAhdmWz TUDvJJKo05/PDSM5qhqAn2nHTD9nwBK0WNX2UzFLcJQjIk9DE06wBbhSREgMgtWT 83Vcq7gmQ4DMiW5EYw56w+Kae6xjJ1z3AHwuuRGKAoCUyn+d67/Fk/KH/Ev4g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a541c7b0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 20 Jan 2020 03:54:34 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] gnu: Add bcachefs-tools. Date: Mon, 20 Jan 2020 04:54:26 +0100 Message-Id: <20200120035426.30773-1-me@tobias.gr> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:7405::1 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: kuba@kadziolka.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/file-systems.scm (bcachefs-tools): New public variable. --- gnu/packages/file-systems.scm | 61 ++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index a3dc993055..d7a0d6dbac 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Gábor Boskovits ;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2018 Leo Famulari @@ -37,6 +37,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) @@ -52,8 +53,66 @@ #:use-module (gnu packages readline) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) + #:use-module (gnu packages valgrind) #:use-module (gnu packages xml)) +(define-public bcachefs-tools + (let ((commit "ab2f1ec24f5307b0cf1e3c4ad19bf350d9f54d9f") + (revision "0")) + (package + (name "bcachefs-tools") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://evilpiepirate.org/git/bcachefs-tools.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10pafvaxg1lvwnqjv3a4rsi96bghbpcsgh3vhqilndi334k3b0hd")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools" + "CC=gcc" + "PYTEST=pytest") + #:phases + (modify-phases %standard-phases + (delete 'configure)) ; no configure script + #:tests? #f)) ; XXX 6 valgrind tests fail + (native-inputs + `(("pkg-config" ,pkg-config) + + ;; For tests. + ("python-pytest" ,python-pytest) + ("valgrind" ,valgrind))) + (inputs + `(("keyutils" ,keyutils) + ("libaio" ,libaio) + ("libscrypt" ,libscrypt) + ("libsodium" ,libsodium) + ("liburcu" ,liburcu) + ("util-linux" ,util-linux) ; lib{blkid,uuid} + ("lz4" ,lz4) + ("zlib" ,zlib) + ("zstd:lib" ,zstd "lib"))) + (home-page "https://bcachefs.org/") + (synopsis "Tools to create and manage bcachefs file systems") + (description + "The bcachefs-tools are command-line utilites for creating, checking, +and otherwise managing bcachefs file systems. + +Bcachefs is a @acronym{CoW, copy-on-write} file system supporting native +encryption, compression, snapshots, and (meta)data checksums. It can use +multiple block devices for replication and/or performance, similar to RAID. + +In addition, bcachefs provides all the functionality of bcache, a block-layer +caching system, and lets you assign different roles to each device based on its +performance and other characteristics.") + (license license:gpl2+)))) + (define-public httpfs2 (package (name "httpfs2") -- 2.23.0 ------------=_1580228642-15569-1--