CVS commit: pkgsrc/sysutils/dua-cli
"pin" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc
Committed By: pin
Date: Wed Aug 26 10:58:24 UTC 2026
Modified Files:
pkgsrc/sysutils/dua-cli: Makefile cargo-depends.mk distinfo
Log Message:
sysutils/dua-cli: update to 2.43.0
Thanks to our contributors, there are not one, but two (a joke, a human is writing this with fleshy fingers :D) headline features:
1. dua aggregate --depth N shows an indented tree-like view, instead of a flat list
2. dua aggregate --stack | inferno-flamegraph > fire.svg outputs a flame-graph compatible stack listing, for pretty visualisations of the directory. It also works with --depth N.
On the side, on macOS, the bytes output of dua now matches du byte-perfectly, and for the first time it's possible to pipe dua
output into a file without terminal escape sequences (why did this take me so long again?).
New Features
Add dua aggregate --depth N for indented tree output
Bug Fixes
don't output colors when stdout isn't a terminal.
This facilitates piping into a file.
--stats printed the u128 sentinel as the smallest file size
The sentinel reset was guarded by entries_traversed == 0, but an entry
whose metadata cannot be read still counts as traversed while never
contributing a size. Reset when the sentinel is still in place instead.
Apply --ignore-dirs to prepared aggregate roots
Apply --ignore-dirs to paths dua expanded into roots itself
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/sysutils/dua-cli/Makefile \
pkgsrc/sysutils/dua-cli/distinfo
cvs rdiff -u -r1.42 -r1.43 pkgsrc/sysutils/dua-cli/cargo-depends.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed)
(text/x-diff, 3.3 KB)
Modified files:
Index: pkgsrc/sysutils/dua-cli/Makefile
diff -u pkgsrc/sysutils/dua-cli/Makefile:1.55 pkgsrc/sysutils/dua-cli/Makefile:1.56
--- pkgsrc/sysutils/dua-cli/Makefile:1.55 Sat Aug 15 11:21:13 2026
+++ pkgsrc/sysutils/dua-cli/Makefile Wed Aug 26 10:58:24 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2026/08/15 11:21:13 pin Exp $
+# $NetBSD: Makefile,v 1.56 2026/08/26 10:58:24 pin Exp $
-DISTNAME= dua-cli-2.42.1
+DISTNAME= dua-cli-2.43.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=Byron/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -12,9 +12,9 @@ LICENSE= mit
.include "cargo-depends.mk"
-#RUST_REQ= 1.98.0-beta.7
+#RUST_REQ= 1.99.0-beta.1
#Upstream does not state the required MSRV.
-#This package is confirmed to build with Rust 1.98.0-beta.7 on amd64
+#This package is confirmed to build with Rust 1.99.0-beta.1 on amd64
INSTALLATION_DIRS= bin
Index: pkgsrc/sysutils/dua-cli/distinfo
diff -u pkgsrc/sysutils/dua-cli/distinfo:1.55 pkgsrc/sysutils/dua-cli/distinfo:1.56
--- pkgsrc/sysutils/dua-cli/distinfo:1.55 Sat Aug 15 11:21:13 2026
+++ pkgsrc/sysutils/dua-cli/distinfo Wed Aug 26 10:58:24 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2026/08/15 11:21:13 pin Exp $
+$NetBSD: distinfo,v 1.56 2026/08/26 10:58:24 pin Exp $
BLAKE2s (addr2line-0.25.1.crate) = cc5c422ec48ccef5c2c46379d2f600644609490afafea5020f2020815d1146e6
SHA512 (addr2line-0.25.1.crate) = c400f3b6ccaff8a1c0d7d82c708a1784b8fd5ba64b6e420e85819d59b1cadb55fa59c852925093b921469f272d1d5140cf12f013ae75d1e1bc85021097df8fc2
@@ -216,9 +216,9 @@ Size (dirs-sys-0.5.0.crate) = 10157 byte
BLAKE2s (document-features-0.2.12.crate) = 7353f263add5466271ff22efa156753d3b49c821ed194c593af39d57dc5831b4
SHA512 (document-features-0.2.12.crate) = 2991ae0f22656cde0aba8d8d76745a0316febe1d5ffa31e9d57ef5800fdbd10d7949d34b12024981610c7ff983c92f97f0fe432f8a75ff1b7da5e3531f01e677
Size (document-features-0.2.12.crate) = 14739 bytes
-BLAKE2s (dua-cli-2.42.1.tar.gz) = f9a2ad8a2c4b6643b5469ff95f89543eeb04e92d2d182197b194ffce3b793058
-SHA512 (dua-cli-2.42.1.tar.gz) = 4902f1c1fe2fe54154081502541ab1beecf2abf3716ce8a8109b9a776a1fa8d279f3bdd77c88c0fbbac4209279a2ae9386716c1eb1abc2cced763a982e7df442
-Size (dua-cli-2.42.1.tar.gz) = 208594 bytes
+BLAKE2s (dua-cli-2.43.0.tar.gz) = b79edb3a5b23cac800480f28795e0140864fbdc5df9220343e62e01aecab751e
+SHA512 (dua-cli-2.43.0.tar.gz) = df7ffa3f1b5f8db6287ef786a9d6571feb607d56bdeaf4ab3cfdedee6c7d6d41214b7628a387271b10467f29cc85068d7f32ad92ba595f73cb609dfda8c7428f
+Size (dua-cli-2.43.0.tar.gz) = 375329 bytes
BLAKE2s (dunce-1.0.5.crate) = 7f72598a5d04e4d5cc63e25fa0c215cf532e09f04b63f92b72f8da1f8118de2f
SHA512 (dunce-1.0.5.crate) = 36d7d75217d629185a9a9187f7d2e2dc346a28be0ad1c21b1b6bcbe3991e9cd11797e53d745c0b3b5ae94cf1e4cf141cdb2322bab86d97cc258b4145e3b97a56
Size (dunce-1.0.5.crate) = 8244 bytes
Index: pkgsrc/sysutils/dua-cli/cargo-depends.mk
diff -u pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.42 pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.43
--- pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.42 Sat Aug 15 11:21:13 2026
+++ pkgsrc/sysutils/dua-cli/cargo-depends.mk Wed Aug 26 10:58:24 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.42 2026/08/15 11:21:13 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.43 2026/08/26 10:58:24 pin Exp $
CARGO_CRATE_DEPENDS+= addr2line-0.25.1
CARGO_CRATE_DEPENDS+= adler2-2.0.1