unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68495] [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle
@ 2024-01-16  4:20 Ahmad Draidi via Guix-patches via
  2024-01-16  4:32 ` [bug#68495] [PATCH 1/2] gnu: bcachefs-tools: Update to 1.4.1 Ahmad Draidi via Guix-patches via
  2024-02-09 22:20 ` bug#68495: [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle Sharlatan Hellseher
  0 siblings, 2 replies; 4+ messages in thread
From: Ahmad Draidi via Guix-patches via @ 2024-01-16  4:20 UTC (permalink / raw)
  To: 68495; +Cc: Ahmad Draidi

Bcachefs is finally released! :D

Ahmad Draidi (2):
  gnu: bcachefs-tools: Update to 1.4.1.
  gnu: bcachefs-tools: Restyle format.

 gnu/packages/file-systems.scm | 186 +++++++++++++++++-----------------
 1 file changed, 93 insertions(+), 93 deletions(-)


base-commit: 162d6a2fdd6af13272967c77347a54934ecb45e6
-- 
2.41.0





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

* [bug#68495] [PATCH 1/2] gnu: bcachefs-tools: Update to 1.4.1.
  2024-01-16  4:20 [bug#68495] [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle Ahmad Draidi via Guix-patches via
@ 2024-01-16  4:32 ` Ahmad Draidi via Guix-patches via
  2024-01-16  4:32   ` [bug#68495] [PATCH 2/2] gnu: bcachefs-tools: Restyle format Ahmad Draidi via Guix-patches via
  2024-02-09 22:20 ` bug#68495: [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle Sharlatan Hellseher
  1 sibling, 1 reply; 4+ messages in thread
From: Ahmad Draidi via Guix-patches via @ 2024-01-16  4:32 UTC (permalink / raw)
  To: 68495; +Cc: Ahmad Draidi

* gnu/packages/file-systems.scm (bcachefs-tools): Update to 1.4.1.
[source]: Use version instead of commit.
[arguments]:<#:make-flags>: Add "PKGCONFIG_UDEVRULESDIR" to put udev rules
under "PREFIX" folder.
[inputs]: Add bash-minimal to fix lint.

Change-Id: I6818bc41260586664d408234323bdc9461e4b8e1
---
 gnu/packages/file-systems.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 8cac1eae9c..b0bf09625c 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -581,26 +581,25 @@ (define-public gphotofs
     (license license:gpl2+)))
 
 (define-public bcachefs-tools
-  (let ((commit "1e358401ecdf1963e5799de19ab69111e82e5ebc")
-        (revision "0"))
     (package
       (name "bcachefs-tools")
-      (version (git-version "1.2" revision commit))
+      (version "1.4.1")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://evilpiepirate.org/git/bcachefs-tools.git")
-               (commit commit)))
+               (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0bflgqb3q9jikyyrv6hywv6m1fapzzn874hlhf86pn6abxrlf5fa"))))
+          (base32 "0axwbckqrw1v3v50nzhpkvpyjbjwy3rq5bv23db84x3xia497apq"))))
       (build-system gnu-build-system)
       (arguments
        (list #:make-flags
              #~(list (string-append "VERSION=" #$version) ; ‘v…-nogit’ otherwise
                      (string-append "PREFIX=" #$output)
                      "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
+                     "PKGCONFIG_UDEVRULESDIR=$(PREFIX)/lib/udev/rules.d"
                      (string-append "CC=" #$(cc-for-target))
                      (string-append "PKG_CONFIG=" #$(pkg-config-for-target))
                      ;; ‘This will be less of an option in the future, as more
@@ -666,6 +665,7 @@ (define-public bcachefs-tools
              `(,zstd "lib")
 
              ;; Only for mount.bcachefs.sh.
+             bash-minimal
              coreutils-minimal
              gawk
              util-linux))
@@ -682,7 +682,7 @@ (define-public bcachefs-tools
 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+))))
+      (license license:gpl2+)))
 
 (define-public bcachefs-tools/static
   (package

base-commit: 162d6a2fdd6af13272967c77347a54934ecb45e6
-- 
2.41.0





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

* [bug#68495] [PATCH 2/2] gnu: bcachefs-tools: Restyle format.
  2024-01-16  4:32 ` [bug#68495] [PATCH 1/2] gnu: bcachefs-tools: Update to 1.4.1 Ahmad Draidi via Guix-patches via
@ 2024-01-16  4:32   ` Ahmad Draidi via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Ahmad Draidi via Guix-patches via @ 2024-01-16  4:32 UTC (permalink / raw)
  To: 68495; +Cc: Ahmad Draidi

* gnu/packages/file-systems.scm (bcachefs-tools): Reindent all lines.

Change-Id: I6f3ae711daf2f5d66724f513fe5e8876147f5ccf
---
 gnu/packages/file-systems.scm | 186 +++++++++++++++++-----------------
 1 file changed, 93 insertions(+), 93 deletions(-)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index b0bf09625c..87af8ac925 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -581,98 +581,98 @@ (define-public gphotofs
     (license license:gpl2+)))
 
 (define-public bcachefs-tools
-    (package
-      (name "bcachefs-tools")
-      (version "1.4.1")
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://evilpiepirate.org/git/bcachefs-tools.git")
-               (commit (string-append "v" version))))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "0axwbckqrw1v3v50nzhpkvpyjbjwy3rq5bv23db84x3xia497apq"))))
-      (build-system gnu-build-system)
-      (arguments
-       (list #:make-flags
-             #~(list (string-append "VERSION=" #$version) ; ‘v…-nogit’ otherwise
-                     (string-append "PREFIX=" #$output)
-                     "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
-                     "PKGCONFIG_UDEVRULESDIR=$(PREFIX)/lib/udev/rules.d"
-                     (string-append "CC=" #$(cc-for-target))
-                     (string-append "PKG_CONFIG=" #$(pkg-config-for-target))
-                     ;; ‘This will be less of an option in the future, as more
-                     ;; code gets rewritten in Rust.’
-                     "NO_RUST=better")
-             #:phases
-             #~(modify-phases %standard-phases
-                 (delete 'configure)    ; no configure script
-                 (replace 'check
-                   ;; The test suite is moribund upstream (‘never been useful’),
-                   ;; but let's keep running it as a sanity check until then.
-                   (lambda* (#:key tests? make-flags #:allow-other-keys)
-                     (when tests?
-                       ;; We must manually build the test_helper first.
-                       (apply invoke "make" "tests" make-flags)
-                       (invoke (string-append
-                                #$(this-package-native-input "python-pytest")
-                                "/bin/pytest") "-k"
-                                ;; These fail (‘invalid argument’) on kernels
-                                ;; with a previous bcachefs version.
-                                (string-append "not test_format and "
-                                               "not test_fsck and "
-                                               "not test_list and "
-                                               "not test_list_inodes and "
-                                               "not test_list_dirent")))))
-                 (add-after 'install 'promote-mount.bcachefs.sh
-                   ;; The (optional) ‘mount.bcachefs’ requires rust:cargo.
-                   ;; This shell alternative does the job well enough for now.
-                   (lambda* (#:key inputs #:allow-other-keys)
-                     (define (whence file)
-                       (dirname (search-input-file inputs file)))
-                     (let ((mount (string-append #$output
-                                                 "/sbin/mount.bcachefs")))
-                       (delete-file mount) ; symlink to ‘bcachefs’
-                       (copy-file "mount.bcachefs.sh" mount)
-                       ;; WRAP-SCRIPT causes bogus ‘Insufficient arguments’ errors.
-                       (wrap-program mount
-                         `("PATH" ":" prefix
-                           ,(list (getcwd)
-                                  (whence "bin/tail")
-                                  (whence "bin/awk")
-                                  (whence "bin/mount"))))))))))
-      (native-inputs
-       (cons* pkg-config
-              ;; For generating documentation with rst2man.
-              python
-              python-docutils
-              ;; For tests.
-              python-pytest
-              (if (member (%current-system) (package-supported-systems valgrind))
-                  (list valgrind)
-                  '())))
-      (inputs
-       (list eudev
-             keyutils
-             libaio
-             libscrypt
-             libsodium
-             liburcu
-             `(,util-linux "lib")
-             lz4
-             zlib
-             `(,zstd "lib")
-
-             ;; Only for mount.bcachefs.sh.
-             bash-minimal
-             coreutils-minimal
-             gawk
-             util-linux))
-      (home-page "https://bcachefs.org/")
-      (synopsis "Tools to create and manage bcachefs file systems")
-      (description
-       "The bcachefs-tools are command-line utilities for creating, checking,
+  (package
+    (name "bcachefs-tools")
+    (version "1.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://evilpiepirate.org/git/bcachefs-tools.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0axwbckqrw1v3v50nzhpkvpyjbjwy3rq5bv23db84x3xia497apq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "VERSION=" #$version) ; ‘v…-nogit’ otherwise
+                   (string-append "PREFIX=" #$output)
+                   "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
+                   "PKGCONFIG_UDEVRULESDIR=$(PREFIX)/lib/udev/rules.d"
+                   (string-append "CC=" #$(cc-for-target))
+                   (string-append "PKG_CONFIG=" #$(pkg-config-for-target))
+                   ;; ‘This will be less of an option in the future, as more
+                   ;; code gets rewritten in Rust.’
+                   "NO_RUST=better")
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)    ; no configure script
+               (replace 'check
+                 ;; The test suite is moribund upstream (‘never been useful’),
+                 ;; but let's keep running it as a sanity check until then.
+                 (lambda* (#:key tests? make-flags #:allow-other-keys)
+                   (when tests?
+                     ;; We must manually build the test_helper first.
+                     (apply invoke "make" "tests" make-flags)
+                     (invoke (string-append
+                              #$(this-package-native-input "python-pytest")
+                              "/bin/pytest") "-k"
+                              ;; These fail (‘invalid argument’) on kernels
+                              ;; with a previous bcachefs version.
+                              (string-append "not test_format and "
+                                             "not test_fsck and "
+                                             "not test_list and "
+                                             "not test_list_inodes and "
+                                             "not test_list_dirent")))))
+               (add-after 'install 'promote-mount.bcachefs.sh
+                 ;; The (optional) ‘mount.bcachefs’ requires rust:cargo.
+                 ;; This shell alternative does the job well enough for now.
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (define (whence file)
+                     (dirname (search-input-file inputs file)))
+                   (let ((mount (string-append #$output
+                                               "/sbin/mount.bcachefs")))
+                     (delete-file mount) ; symlink to ‘bcachefs’
+                     (copy-file "mount.bcachefs.sh" mount)
+                     ;; WRAP-SCRIPT causes bogus ‘Insufficient arguments’ errors.
+                     (wrap-program mount
+                       `("PATH" ":" prefix
+                         ,(list (getcwd)
+                                (whence "bin/tail")
+                                (whence "bin/awk")
+                                (whence "bin/mount"))))))))))
+    (native-inputs
+     (cons* pkg-config
+            ;; For generating documentation with rst2man.
+            python
+            python-docutils
+            ;; For tests.
+            python-pytest
+            (if (member (%current-system) (package-supported-systems valgrind))
+                (list valgrind)
+                '())))
+    (inputs
+     (list eudev
+           keyutils
+           libaio
+           libscrypt
+           libsodium
+           liburcu
+           `(,util-linux "lib")
+           lz4
+           zlib
+           `(,zstd "lib")
+
+           ;; Only for mount.bcachefs.sh.
+           bash-minimal
+           coreutils-minimal
+           gawk
+           util-linux))
+    (home-page "https://bcachefs.org/")
+    (synopsis "Tools to create and manage bcachefs file systems")
+    (description
+     "The bcachefs-tools are command-line utilities for creating, checking,
 and otherwise managing bcachefs file systems.
 
 Bcachefs is a @acronym{CoW, copy-on-write} file system supporting native
@@ -682,7 +682,7 @@ (define-public bcachefs-tools
 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+)))
+    (license license:gpl2+)))
 
 (define-public bcachefs-tools/static
   (package
-- 
2.41.0





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

* bug#68495: [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle
  2024-01-16  4:20 [bug#68495] [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle Ahmad Draidi via Guix-patches via
  2024-01-16  4:32 ` [bug#68495] [PATCH 1/2] gnu: bcachefs-tools: Update to 1.4.1 Ahmad Draidi via Guix-patches via
@ 2024-02-09 22:20 ` Sharlatan Hellseher
  1 sibling, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-02-09 22:20 UTC (permalink / raw)
  To: 68495-done

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


Hi

Pushed as aabbcb0ef9..b186fa1306 to master.

Thanks,
Oleg

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

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

end of thread, other threads:[~2024-02-09 22:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16  4:20 [bug#68495] [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle Ahmad Draidi via Guix-patches via
2024-01-16  4:32 ` [bug#68495] [PATCH 1/2] gnu: bcachefs-tools: Update to 1.4.1 Ahmad Draidi via Guix-patches via
2024-01-16  4:32   ` [bug#68495] [PATCH 2/2] gnu: bcachefs-tools: Restyle format Ahmad Draidi via Guix-patches via
2024-02-09 22:20 ` bug#68495: [PATCH 0/2] Update bcachefs-tools to 1.4.1 and restyle Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).