Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh
# Mirrors the `fmt` job in .github/workflows/ci.yml so formatting
# failures surface here instead of after a push.
#
# Enable with: git config core.hooksPath .githooks
# Bypass once with: git commit --no-verify

if ! command -v cargo >/dev/null 2>&1; then
echo "pre-commit: cargo not found, skipping fmt check" >&2
exit 0
fi

if ! cargo fmt --check; then
echo >&2
echo "pre-commit: formatting check failed (this is what CI's fmt job runs)." >&2
echo " Fix with: cargo fmt" >&2
echo " Bypass with: git commit --no-verify" >&2
exit 1
fi
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [1.0.0] - 2026-08-22

### Added
- Redesigned desktop UI: new design tokens, component and screen stylesheets,
and a modular frontend split into `store`, `actions`, `api` and per-screen modules
- Clean history: every run is recorded per item with its outcome and reclaimed
size, and is browsable from a new History screen
- Disk usage reporting, so reclaimable space is shown as a share of the volume
the artifacts actually live on
- Template-based tray icons for correct rendering in light and dark menu bars

### Changed
- Refreshed app icons and website assets
- Reworked scanners across all ecosystems for more accurate sizing and staleness
- Expanded configuration options for scan roots, ecosystems and thresholds

## [0.1.2] - 2026-08-22

### Fixed
- GUI-launched apps no longer fail to spawn toolchains with
"IO error: No such file or directory (os error 2)". macOS `launchd` and Linux
desktop launchers hand the app a bare `PATH`; the real `PATH` is now restored
at startup from the user's login shell, so `cargo`, `go`, `npm`, `brew` and
`docker` are found

## [0.1.1] - 2026-08-22

### Fixed
- Sentinel files such as `.env` in a project root no longer block commands like
`cargo clean` from running there. Working directories are now checked
separately from deletion targets — the command never deletes that directory,
while deleting it directly is still refused

## [0.1.0] - 2026-03-12

### Added
Expand Down
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ crates/
3. Add the ecosystem variant to `Ecosystem` enum in `model.rs`
4. Register it in `scanner/mod.rs` and `commands.rs`

### Git Hooks

Enable the repo's hooks once per clone:

```bash
git config core.hooksPath .githooks
```

The `pre-commit` hook runs `cargo fmt --check` — the same check as CI's `fmt`
job — so formatting problems surface before you push. Bypass it for a single
commit with `git commit --no-verify`.

## Code Style

- Run `cargo fmt` before committing
Expand Down
Loading