Repository navigation
Conversation
cb3bd9a to
e13bb07
Compare
e13bb07 to
f460212
Compare
Replace both inline chroot argument collections with the same helper. Keep injecting every recorded archive when LocalRepo is disabled. Rename queue_install to describe its existing archive-recording responsibility; retain its implementation and Vec storage unchanged.
Change the extracted archive helpers to record actual package metadata and select only usable dependency archives for each consuming package. Preserve per-consumer resolver preferences and runtime closure; defer unavailable, incompatible, or ambiguous choices to native chroot resolution. Include focused selector and installer regression tests.
Keep old SRCINFO only for fetch decisions, then reload the merged checkout before deriving build requirements. Cover an upgrade that replaces an old dependency with a newly required archive.
Remove nonexistent debug package paths before archive metadata loading. Keep the regression with this independently reviewable behavior change.
Add real chroot coverage for provider isolation, checks, runtime repository dependencies, failed provider fallback, and unsatisfied requirements. Document the unit and live verification commands.
Document optional LocalRepo, injection of usable dependency archives, and normal chroot resolution when an archive is unavailable. Failed build targets remain reported.
f460212 to
5ee40ee
Compare
|
CC @pfeifferj - could you please take a look at this? It seems to be an important issue. Thanks. |
|
I started looking over the code and noticed a lot of slop comments describing the development process (e.g. before this did x...) which does not belong in comments. pls do a thorough self-review of the PR first no offense but I don't feel good about investing time into reviews if my comments just get copy pasted back into an LLM and contributors don't understand the code they're submitting tbh |
|
Thanks for that. I agree with your position; no point in checking if it looks like LLM code. |
Thanks for taking a look.
Indeed I only had a cursory glance at this iteration to weed out anything obviously wrong, and it wasnt meant for the PR before further review from me.
Justified, and I wouldnt either, in the current state the PR is in. I'll clean it up and slim down to just the minimal required change, and we can go from there to adjust to paru's codebase requirements, if you're still willing to invest the time. |
|
thank you, just ping me when it's ready and I'll take another look. I appreciate you wanting to clean things up |
Fixes #1578.
When
Chrootis enabled andLocalRepois unset, pass only previously built artifacts required by the current package's declared dependency closure.This preserves AUR build dependencies, including versioned providers and active check dependencies, without installing unrelated earlier build outputs into later chroots.
Tests:
cargo fmt --checkcargo test --libcargo build --release