Skip to content

rustClean v0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 17:39
· 60 commits to main since this release
cc5bf46

Added

  • Themes: T switches between dark (the default), light (for white
    terminal backgrounds) and a color-blind friendly palette (Okabe–Ito: blue
    and orange instead of green and red). The choice is saved;
    --theme dark|light|colorblind overrides it
    (#25).
  • --no-color and the NO_COLOR environment variable turn colors off; the
    selection is shown reversed and treemap blocks get borders.
  • ? opens a help screen with every key: the current screen's first, then
    the keys that work everywhere, then the other screens. The bottom line
    starts with ? help
    (#26).
  • "Empty folders, broken links, temporary files" report, in three groups:
    folders with nothing below them, symbolic links whose target is gone
    (checked when the report runs), and .DS_Store, Thumbs.db, *.tmp,
    Office ~$… locks and unfinished downloads untouched for a day. Hidden
    folders, bundles, Library, AppData, build output and dependencies,
    system folders and the standard home folders are left alone
    (#12).
  • Deletion log: every entry moved to the trash is written to
    deletions.jsonl in the data directory (time, path, size and how: list,
    summary, report, search, basket, uninstall or a developer tool). Failed
    moves are not written; the newest 10 000 entries are kept. "Deletion log"
    in the menu shows it by day, newest first
    (#9).

Changed

  • L now rebuilds the open result list in the new language: a report (with
    its age filter), search results, a comparison with an earlier scan, the
    duplicates (without searching again) or the basket. The cursor stays on
    the same entry, and an open group is opened again
    (#8).
  • Releases are published to crates.io by the release workflow, together
    with the binaries and the Homebrew formula
    (#29).
  • For contributors: the code is split into one module per screen, job and
    report (#37–#40),
    lints live in Cargo.toml and cargo-deny checks dependencies weekly
    (#41), integration
    tests run on real folders and every screen has a snapshot in both
    languages (#42,
    #43). Test builds
    never touch your history, settings or trash. See CONTRIBUTING.md.

Fixed

  • The basket's bottom line lists its own keys (c empties it, x moves
    everything to the trash) instead of report keys that did nothing there.
  • The selected row of lists in the dark theme is white on dark gray: colored
    dates and folder names were hard to read on the old gray.
  • Summary: the file types column fits the longest label in the current
    language ("Archives / disk images" ran into its bar), and on narrow
    terminals labels are cut instead of the numbers.
  • System data: the usage percentage after the bar is no longer cut off, and
    it is written the English way (73%) in English.
  • Items that could not be moved to the trash: wrapped explanations, paths
    and errors continue indented under their own text
    (#51).