Repository navigation
Releases: lognd/clocx
Releases · lognd/clocx
Release list
clocx 0.2.1
Fixed
- In a shallow clone (such as a CI checkout) the Activity section counts the history that was fetched, with a note that the clone is shallow, instead of being unavailable with a warning on stderr; JSON gains
activity.shallow. (~1JG6J4P, 01M4292X53KBWS5KDJH1JG6J4P)
clocx 0.2.0
Added
- clocx is on PyPI as prebuilt binary wheels (Linux manylinux and musllinux, macOS, Windows):
uv tool install clocx,uvx clocxorpipx install clocxinstalls it without a Rust toolchain. Release tags are nowclocx-vX.Y.Z. - A progress line on stderr while a one-shot report is computed: phase, bar, done/total, rate and ETA, overwritten in place and erased before the report;
--no-progressturns it off.
clocx 0.1.1
Fixed
- Linux release binaries are static musl builds that run on any distribution; the 0.1.0 Linux archives needed glibc 2.39 and failed on older systems such as Ubuntu 22.04.
clocx 0.1.0
Linux users: use 0.1.1. The 0.1.0 Linux archives need glibc 2.39 and fail on older distributions; 0.1.1 ships static binaries that run anywhere.
First release of clocx, a Rust tool that began as a fork of cloc and is now
its own project at https://github.com/lognd/clocx.
Added
clocxprints one colored report and exits: aligned tables, green for
lines added and red for lines removed, dimmed totals, plain output into
a pipe or withNO_COLOR, and--color auto|always|never.- Totals by language and by directory (
--depth N): files and code,
comment and blank lines, with the change in code lines since the
previous run. Long tables fold after--rows Nrows; rows that changed
always show. - Recent activity from git history across every local branch: lines added
and removed, files touched and commits over the last hour, 24 hours,
7 days and 30 days, with trend sparklines, and the same per directory
("Where work is happening"). - Every git worktree of the repository with its branch, uncommitted lines
against HEAD, commits ahead of the base branch, everything it changed
since branching (committed or not), and its last activity;--base BRANCHpicks the base (defaultmain, elsemaster). --live(-l): a full-screen dashboard of the same report that
refreshes when files change (debounced, ignoring.gitignored paths),
when commits, refs,HEADor the index change in any worktree, and every
30 seconds;qquits,rrefreshes.--json: the whole report as one JSON document (schema_version1).- Per-file counts cached by content hash and per-commit diffs cached by
commit id, so refreshes only recount what changed (--cache-dir,
--no-cache). - Prebuilt binaries for Linux (x86_64, arm64), macOS (arm64, x86_64) and
Windows (x86_64) on GitHub releases, andcargo install clocx.
Changed
- Counting matches cloc closely for code: hidden files such as
.github/workflowscount (never.git), and Python docstrings,
one-line ones included, count as comments. The remaining differences are
listed in docs/clocx.md, Differences from cloc.
Removed
- The Perl cloc, its test suite, Docker packaging and upstream CI.