Skip to content

refactor(libutil): add CompressedSource#14420

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
lovesegfault:compressed-source
Oct 30, 2025
Merged

refactor(libutil): add CompressedSource#14420
Ericson2314 merged 1 commit intoNixOS:masterfrom
lovesegfault:compressed-source

Conversation

@lovesegfault
Copy link
Member

Motivation

Introduce a CompressedSource class in libutil's serialise.hh that
compresses a RestartableSource and owns the compressed data. This is a
general-purpose utility that can be used anywhere compressed data needs
to be treated as a source.

Context

Part-Of: #14330


Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Oct 30, 2025
@lovesegfault lovesegfault force-pushed the compressed-source branch 2 times, most recently from 260ae00 to 446dc54 Compare October 30, 2025 03:53
Introduce a `CompressedSource` class in libutil's `serialise.hh` that
compresses a `RestartableSource` and owns the compressed data. This is a
general-purpose utility that can be used anywhere compressed data needs
to be treated as a source.
@Ericson2314 Ericson2314 enabled auto-merge October 30, 2025 04:42
@Ericson2314 Ericson2314 added this pull request to the merge queue Oct 30, 2025
Merged via the queue into NixOS:master with commit e6f0dd8 Oct 30, 2025
17 checks passed
@lovesegfault lovesegfault deleted the compressed-source branch October 30, 2025 09:09
@edolstra edolstra mentioned this pull request Dec 9, 2025
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