Skip to content

More NAR accessor / listing cleanup#14990

Merged
edolstra merged 5 commits into
masterfrom
nar-cache-cleanup
Jan 14, 2026
Merged

More NAR accessor / listing cleanup#14990
edolstra merged 5 commits into
masterfrom
nar-cache-cleanup

Conversation

@Ericson2314
Copy link
Copy Markdown
Member

@Ericson2314 Ericson2314 commented Jan 13, 2026

Motivation

Separate concerns and split file. I find it easier to read now --- don't need to absorb everything at once anymore.

Last commit is performance improvement too.

Context

The overall diff is not so bad, especially with

git diff master..nar-cache-cleanup --color-moved --color-moved-ws=ignore-all-space

but it may also help to look commit-by-commit.


Add 👍 to pull requests you find important.

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

I like the separation of concerns from NAR accessing.
Now we have less of a maze of implementation structs.

Review with
```
git show --color-moved --patience --color-moved-ws=ignore-all-space
```
This makes some invariants clearer and more local.
@Ericson2314 Ericson2314 requested a review from edolstra as a code owner January 13, 2026 18:20
@github-actions github-actions Bot added the store Issues and pull requests concerning the Nix store label Jan 13, 2026
@edolstra edolstra added this pull request to the merge queue Jan 14, 2026
Merged via the queue into master with commit 6fd3655 Jan 14, 2026
19 checks passed
@edolstra edolstra deleted the nar-cache-cleanup branch January 14, 2026 13:40
brittonr pushed a commit to brittonr/nix that referenced this pull request Apr 1, 2026
More NAR accessor / listing cleanup
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