Measure what's left of upstream; drop two unused components #117

Merged
jcoffey-dev merged 2 commits from phase1/measure into main 2026-10-18 23:50:49 +00:00
2 Commits
Author SHA1 Message Date
jcoffey-dev 6d62474929 Count a file as rewritten once upstream's header is gone
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 46s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m56s
The header only changes when no upstream code is left in a file, but a
rewrite still shares blank lines, imports, brackets and shadcn/ui class lists
with upstream's copy, so a plain line diff never reaches zero. A file that
named Stalwart Labs at the base and no longer does now counts as ours, and
the summary prints how many lines those files still share, so the claim can
be checked.
2026-10-18 16:30:34 -07:00
jcoffey-dev 2b68e78592 Measure what's left of upstream; drop two unused components
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 52s
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m51s
tools/divergence.mjs (npm run divergence) reports how much of the console
is still upstream's, against the v1.0.11 fork point: the share of lines
upstream didn't write, upstream lines left and in how many files, and the
files still carrying upstream's dual header. Each PR of the rewrite to
our own code states how far it moved these numbers; --files lists what's
left, file by file.

The chart and scroll-area components weren't used anywhere, so they go,
with @radix-ui/react-scroll-area.
2026-10-18 16:02:59 -07:00