Skip to content

Introduce MissingPaths struct for queryMissing() / printMissing()#13420

Merged
roberth merged 3 commits intomasterfrom
query-missing
Jul 7, 2025
Merged

Introduce MissingPaths struct for queryMissing() / printMissing()#13420
roberth merged 3 commits intomasterfrom
query-missing

Conversation

@edolstra
Copy link
Copy Markdown
Member

@edolstra edolstra commented Jul 4, 2025

Motivation

This cleans up the code a bit.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

edolstra added 3 commits July 4, 2025 16:34
...instead of having a bunch of pass-by-reference arguments.
This is already done by Worker::run().
@edolstra edolstra requested a review from Ericson2314 as a code owner July 4, 2025 14:43
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Jul 4, 2025
Copy link
Copy Markdown
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This already looks like a nice improvement.
In addition, I believe "missing" to be somewhat of a misnomer. Something like RealisationPlan seems more descriptive, or perhaps RealisationOutline if "plan" sounds too detailed.

@edolstra
Copy link
Copy Markdown
Member Author

edolstra commented Jul 7, 2025

MissingPaths is not ideal but it matches the function names (queryMissing() / printMissing()). Maybe in a future PR we could rename those (e.g. queryRealisationPlan() or whatever).

@roberth roberth merged commit c512fd1 into master Jul 7, 2025
25 checks passed
@roberth roberth deleted the query-missing branch July 7, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants