pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/dua-cli



Module Name:    pkgsrc
Committed By:   pin
Date:           Wed Sep 30 12:44:26 UTC 2026

Modified Files:
        pkgsrc/sysutils/dua-cli: Makefile cargo-depends.mk distinfo

Log Message:
sysutils/dua-cli: update to 2.45.1

Documentation

    correct platform defaults in threads help

Bug Fixes

    don't fail on sole directory inputs beyond MAX_PATH on Windows
    A sole directory input is changed into so its entries can be listed and
    reported relative to it, but set_current_dir enforces MAX_PATH on
    Windows (os error 206) even though the directory itself can still be
    traversed through verbatim paths.

    When the change fails, expand the directory into absolute input paths
    directly instead of aborting, which makes a single long directory input
    work in list, aggregate, stacks and interactive modes alike. Reported
    paths are absolute then, consistent with how multiple inputs are already
    displayed.

    The expanded root is returned to callers so the interactive mode still
    knows which directory the inputs belong to, and recorded in the new
    WalkOptions::base_dir, which every traversal uses as the working
    directory stand-in for ignore-pattern matching. That keeps --ignore-from
    patterns matching descendants relative to the expanded root - identical to
    what a successful chdir would have produced.

    Fixes #410

    don't panic on non-UTF-8 filenames when matching ignore patterns
    On Windows, NTFS filenames may contain unpaired surrogates that cannot be
    represented in UTF-8. IgnorePatterns::is_excluded converted each entry's
    relative path with the panicking gix::path::into_bstr, so a single such
    name anywhere in a scanned tree aborted the whole process when
    --ignore-from was used - in list, aggregate and stacks modes alike, as
    well as in clean's entry filtering.

    Match on the OS string's encoded bytes instead - OsStr::as_encoded_bytes
    yields a self-synchronizing UTF-8 superset (WTF-8 on Windows, the raw bytes
    on Unix) which represents lone surrogates losslessly. The glob matcher then
    compares bytes, so wildcard patterns that don't spell out the invalid code
    unit, like * or *.txt, still match such names instead of silently
    letting them through.

    Fixes #408


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/sysutils/dua-cli/Makefile \
    pkgsrc/sysutils/dua-cli/distinfo
cvs rdiff -u -r1.45 -r1.46 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.

Modified files:

Index: pkgsrc/sysutils/dua-cli/Makefile
diff -u pkgsrc/sysutils/dua-cli/Makefile:1.58 pkgsrc/sysutils/dua-cli/Makefile:1.59
--- pkgsrc/sysutils/dua-cli/Makefile:1.58       Sun Sep 13 07:58:14 2026
+++ pkgsrc/sysutils/dua-cli/Makefile    Wed Sep 30 12:44:26 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2026/09/13 07:58:14 pin Exp $
+# $NetBSD: Makefile,v 1.59 2026/09/30 12:44:26 pin Exp $
 
-DISTNAME=      dua-cli-2.45.0
+DISTNAME=      dua-cli-2.45.1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Byron/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/sysutils/dua-cli/distinfo
diff -u pkgsrc/sysutils/dua-cli/distinfo:1.58 pkgsrc/sysutils/dua-cli/distinfo:1.59
--- pkgsrc/sysutils/dua-cli/distinfo:1.58       Sun Sep 13 07:58:14 2026
+++ pkgsrc/sysutils/dua-cli/distinfo    Wed Sep 30 12:44:26 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2026/09/13 07:58:14 pin Exp $
+$NetBSD: distinfo,v 1.59 2026/09/30 12:44:26 pin Exp $
 
 BLAKE2s (addr2line-0.25.1.crate) = cc5c422ec48ccef5c2c46379d2f600644609490afafea5020f2020815d1146e6
 SHA512 (addr2line-0.25.1.crate) = c400f3b6ccaff8a1c0d7d82c708a1784b8fd5ba64b6e420e85819d59b1cadb55fa59c852925093b921469f272d1d5140cf12f013ae75d1e1bc85021097df8fc2
@@ -219,9 +219,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.45.0.tar.gz) = ae406d2e7d1b3f41aa06e043960eeb0555211852b5176b4ab6f85bc73765a5ba
-SHA512 (dua-cli-2.45.0.tar.gz) = 3eeb2c5d55b8151a2178f61861ba771c9ac1081bae65d190837d15cce1c51665f35251ca982419b4f582318565dfef49c3e50372e1976d59048d6484d411a729
-Size (dua-cli-2.45.0.tar.gz) = 354971 bytes
+BLAKE2s (dua-cli-2.45.1.tar.gz) = 3dd0bf6eff54ebc726a0086e62ad337c9e2ad008839e65950dd9e2c58903c913
+SHA512 (dua-cli-2.45.1.tar.gz) = 1f5ad4444150ca6f7103f12986758c3e5596bdb20540745422902f1ff43b96eddf265f081b938ea467d850c95ce784998c98119e4df62f44742eeaad33aaa148
+Size (dua-cli-2.45.1.tar.gz) = 360352 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.45 pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.46
--- pkgsrc/sysutils/dua-cli/cargo-depends.mk:1.45       Sun Sep 13 07:58:14 2026
+++ pkgsrc/sysutils/dua-cli/cargo-depends.mk    Wed Sep 30 12:44:26 2026
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.45 2026/09/13 07:58:14 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.46 2026/09/30 12:44:26 pin Exp $
 
 CARGO_CRATE_DEPENDS+=  addr2line-0.25.1
 CARGO_CRATE_DEPENDS+=  adler2-2.0.1



Home | Main Index | Thread Index | Old Index