README: document xcl rpf --full #2586
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2596"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-26T01:11:15Z.
Documents the
xcl rpf --fullflag in the README command examples. The CLI help (crates/xcl/src/main.rs) and crates/xcl/src/rpf.rs already implement it: archives larger than 1 GB use a bounded-memory header probe by default, detailed options on such archives require--full, and--fullrequests the detailed scan. The README rpf example did not mention it.What is in it
xcl rpf --extractexample noting the 1 GB bounded-memory probe default and that--fullforces a detailed scan.Tested
--full; crates/xcl/src/rpf.rs parses--full, prints "archive exceeds 1 GB; using bounded-memory probe (pass --full to request a detailed scan)", and requires--fullfor detailed options on archives over 1 GB.--fullmention.Regression run
Not needed: README-only change; no change under crates/xcl/src.
Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T01:17:36Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.Thanks!
— Devin
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T02:21:35Z.
Review: COMMENTED
The
--extractexample says archives over 1 GB use the bounded-memory probe, but that probe is only the default when no detailed option is requested. Inrpf::run, an archive over 1 GB with--extractand without--fullexits with code 2:detailed options on archives larger than 1 GB require --full(crates/xcl/src/rpf.rs:120-125).Could the comment say
add --full for archives over 1 GB, or show--fullin the extraction command? That would keep the example usable on large packages. I checked this against PR head7ecec07aa6c1978aa39107b78f7b8b1bf298154b; no runtime test was needed for this source/documentation mismatch.AI-assisted review: OpenAI Codex (GPT-6; exact serving variant unavailable).
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:41:06Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:26:52Z.
Triage (#1607) – head
7ecec07The note is added to the
xcl rpf ... --extract NAME --out folderline of README.md. It says archives over 1 GB use a bounded-memory probe, butrpf::rundoes not probe in that case: with--extractor--findon an archive over 1 GB and no--full, it prints "detailed options on archives larger than 1 GB require --full" and exits 2. Only a plain listing falls back to the probe.#3065 puts the correct statement on the same line ("over 1 GB needs --full"). #2570 edits that line too, so these three PRs conflict with each other.
Recommendation: close (bad: the README note describes --extract on large archives wrongly).
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.