github Byron/dua-cli v2.43.0

4 hours ago

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

Commit Statistics

  • 28 commits contributed to the release over the course of 9 calendar days.
  • 10 days passed between releases.
  • 5 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #378 from ChrisJr404/feature/stacks-folded-output (886f3ce)
    • Fix folded stack path assertions on Windows (52df4c5)
    • Progress support for --stack and --depth N (e476971)
    • Review (a14f2b7)
    • Add 'stacks' subcommand emitting folded stacks for flame graphs (d40a44d)
    • Merge pull request #380 from ChrisJr404/feature/aggregate-tree-depth (7cfa98c)
    • Review (136a86a)
    • Add dua aggregate --depth N for indented tree output (74bf377)
    • Merge pull request #373 from VXNCXNX/fix/root-path-ending-in-dotdot (c4cda95)
    • Don't output colors when stdout isn't a terminal. (b1e16a0)
    • Merge pull request #375 from tamird/perf-skip-apfs-apparent-size (06b4237)
    • Review (511bb35)
    • Merge pull request #372 from VXNCXNX/fix/smallest-file-sentinel-leak (95ab634)
    • Merge pull request #374 from tamird/perf-skip-empty-ignore-realpath (83d467a)
    • Review (5bf9204)
    • Review (de9f8a0)
    • Merge pull request #376 from tamird/perf-stream-prepared-roots (bed32a4)
    • Skip path resolution without ignored directories (6c1c511)
    • Avoid materiailizing vector (dbf33e6)
    • Skip clone metadata for apparent sizes (18f6395)
    • --stats printed the u128 sentinel as the smallest file size (dd9e0ce)
    • Merge pull request #371 from tamird/macos-apfs-clone-accounting (7231d83)
    • Review (0acd5fa)
    • Count fully shared APFS clones once (6b3a231)
    • Merge pull request #370 from VXNCXNX/fix/ignore-dirs-on-expanded-roots (cfa5ed2)
    • Apply --ignore-dirs to prepared aggregate roots (f9b6200)
    • Review (1c41b46)
    • Apply --ignore-dirs to paths dua expanded into roots itself (72faa62)

Don't miss a new dua-cli release

NewReleases is sending notifications on new releases.