Repository navigation
Label LPM CLI's byte sizes in binary units - #390
Open
tolgaergin wants to merge 6 commits into
Open
tolgaergin wants to merge 6 commits into
tolgaergin wants to merge 6 commits into
Conversation
LPM CLI prints sizes counted in 1024s as KiB, MiB and GiB (lpm-dev/rust-client: label byte sizes in binary units). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to lpm-dev/rust-client#951, which labels LPM CLI's byte sizes in binary units (KiB, MiB, GiB), as they're counted in 1024s.
What changes
infra/store.mdx: thelpm store clean --jsonexample says"removed": "1 MiB", as LPM CLI prints an exact size as a whole number.reference/exit-codes.mdxandreference/terminal-output.mdx: failed tool output is truncated at 10 MiB a stream.infra/login.mdx: whatlpm whoamisays of storage past its limit, as the Registry reports it (billed, paused or blocked), that a Registry that doesn't report it gets no claim either way, and thestorage_overageJSON field.packages/publish.mdx: a publish that includes LPM.dev Registry refuses a compressed tarball past its 100 MiB limit before any target is published.The plan sizes (100 MiB, 5 GiB, 25 GiB) are relabelled in #389, which edits those lines, matching tolgaergin/a-package-manager#235.
Each content commit is followed by one that refreshes the content dates.
Testing
npm run checkpasses on 43e4cde: content dates, SEO audit and lint, types, 91 unit and 22 component tests, and the build at 405 pages.🤖 Generated with Claude Code