First PR of phase 1 of the plan to reach our own code (inbuxa-drafts specs/console-rewrite-plan.md).
tools/divergence.mjs (npm run divergence) reports, against the
v1.0.11 fork point:
the share of lines upstream didn't write;
upstream lines left, and in how many files;
files still carrying upstream's dual header.
Each PR of the rewrite states how far it moved these numbers. --files lists what's left, file by file.
Rewritten files count as ours once upstream's header is gone, since the header only changes when none of upstream's code is left. 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. The summary prints how many lines those files still share, so the claim can be checked.
Removed:chart.tsx and scroll-area.tsx, which nothing used,
with @radix-ui/react-scroll-area.
Not upstream's
Upstream lines left
Dual headers
main (5e8693f)
74.2%
19,265 in 125 files
110
this PR
74.4%
19,165 in 123 files
108
Typecheck, lint, i18n:check, all 689 tests, build and notice check pass
locally. No new strings.
First PR of phase 1 of the plan to reach our own code (inbuxa-drafts
`specs/console-rewrite-plan.md`).
- **`tools/divergence.mjs`** (`npm run divergence`) reports, against the
v1.0.11 fork point:
- the share of lines upstream didn't write;
- upstream lines left, and in how many files;
- files still carrying upstream's dual header.
Each PR of the rewrite states how far it moved these numbers.
`--files` lists what's left, file by file.
- **Rewritten files count as ours** once upstream's header is gone, since the header only changes when none of upstream's code is left. 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. The summary prints how many lines those files still share, so the claim can be checked.
- **Removed:** `chart.tsx` and `scroll-area.tsx`, which nothing used,
with `@radix-ui/react-scroll-area`.
| | Not upstream's | Upstream lines left | Dual headers |
|---|---|---|---|
| main (`5e8693f`) | 74.2% | 19,265 in 125 files | 110 |
| this PR | 74.4% | 19,165 in 123 files | 108 |
Typecheck, lint, i18n:check, all 689 tests, build and notice check pass
locally. No new strings.
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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
First PR of phase 1 of the plan to reach our own code (inbuxa-drafts
specs/console-rewrite-plan.md).tools/divergence.mjs(npm run divergence) reports, against thev1.0.11 fork point:
Each PR of the rewrite states how far it moved these numbers.
--fileslists what's left, file by file.Rewritten files count as ours once upstream's header is gone, since the header only changes when none of upstream's code is left. 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. The summary prints how many lines those files still share, so the claim can be checked.
Removed:
chart.tsxandscroll-area.tsx, which nothing used,with
@radix-ui/react-scroll-area.5e8693f)Typecheck, lint, i18n:check, all 689 tests, build and notice check pass
locally. No new strings.