Skip to content

Sync with upstream 2.28.2 - #31

Merged
edolstra merged 48 commits into
detsys-mainfrom
sync-2.28.2
Apr 17, 2025
Merged

edolstra merged 48 commits into
detsys-mainfrom
sync-2.28.2

Conversation

@edolstra

Copy link
Copy Markdown
Collaborator

Motivation

Context


Add 👍 to pull requests you find important.

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

roberth and others added 30 commits April 7, 2025 08:53
Fail when a command fails.

Basic error handling was missing, which would lead to errors getting
obscured a bit by subsequent successful logging.

(cherry picked from commit da36c34)
…/pr-12944

maintainers/release-notes: Let it fail (backport NixOS#12944)
the sleep 1 is not enough in some circumstances. Switching to a fifo
helps.

(cherry picked from commit 1de951d)
…/pr-12951

tests/functional/repl: fix race condition (backport NixOS#12951)
nix> meson.build:216: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx.
nix> meson.build:222: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx.
nix> meson.build:235: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx.
nix> meson.build:236: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx.
nix> meson.build:242: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx.

(cherry picked from commit 14a829a)
…/pr-12956

Fix meson warnings on minimum version (backport NixOS#12956)
…/pr-12961

Make lexer-helpers.hh internal to fix a clang-tidy error (backport NixOS#12961)
Since it references store-config-private.hh.

(cherry picked from commit 04e9dc2)
…/pr-12959

Keep fchmodat2-compat.hh private (backport NixOS#12959)
(cherry picked from commit c0ad5d3)
(cherry picked from commit 340fa00)
…/pr-12962

Fix some clang-tidy warnings (backport NixOS#12962)
(cherry picked from commit 9b47b2b)
…/pr-12967

Add trailing commas on addFlag incantations (backport NixOS#12967)
Something went wrong in NixOS#12068 so this didn't work. Also added a test.

(cherry picked from commit 77d4316)
…/pr-12979

Actually ignore system/user registries during locking (backport NixOS#12979)
This adds a test case where the lockfile of a relative path flake
dependency is updated.

It was reported by a user here: https://discourse.nixos.org/t/updating-local-subflakes-inputs-when-building-root-flake/61682

I think this test case relates to issue NixOS#7730.

Because the issue is not resolved, this test case would fail without
the `|| true` clause.

(cherry picked from commit 1bc82d1)
…/pr-12699

tests/functional/flakes: Add test case for subflake locking (backport NixOS#12699)
Comments go to the end of the line, not merely the next ; *or* \n. Fix
by splitting on `;` *within* lines, and test.

(cherry picked from commit f8b13cc)
…/pr-12984

Fix `;` and `#` bug in machine file parsing (backport NixOS#12984)
We were ignorning the result of `trim`, and after my last change we were
also trimmming too early.

(cherry picked from commit b74b0f4)
…/pr-12986

Fix another machine config parsing bug (backport NixOS#12986)
- no differentiation between uploads and downloads in CLI

(cherry picked from commit db297d3)
mergify Bot and others added 18 commits April 11, 2025 22:54
…/pr-12538

libstore S3: fix progress bar and make file transfers interruptible (backport NixOS#12538)
(cherry picked from commit f64b895)
…/pr-13009

Fix typo in string context docs (backport NixOS#13009)
…/pr-13019

Mention BLAKE3 in the Nix 2.27 release notes (backport NixOS#13019)
This requires that we refer to the `sourceInfo` instead of the
`result`. However, `sourceInfo` does not create a chain of basedir
resolution, so we add that back with `flakeDir`.

(cherry picked from commit 2109a5a)
…/pr-12603

libstore: curl retry: reset content-encoding and don't use string after move (backport NixOS#12603)
…/pr-13026

Fix issue NixOS#13018, `sourceInfo` strict in `outputs` (backport NixOS#13026)
`CONTENT_ADDRESSED` -> `NIX_TESTS_CA_BY_DEFAULT`

(cherry picked from commit 7acc229)
Now, both the unit and functional tests relating to derivation options
are tested both ways -- with input addressing and content-addressing
derivations.

(cherry picked from commit 307dbe9)
…/pr-13022

Test derivation options with content-addressing too (backport NixOS#13022)
…alues

We had fields set to the same values before in our test data. This is
not a problem per-se, but does mean we wouldn't catch certain mixups.
Now, the fields are set to distinct values (where possible), which makes
the test more robust.

(cherry picked from commit a0b2b75)
This was almost a bug! It wasn't simply because another assignment would
clobber it later.

(cherry picked from commit 32409dd)
…/pr-13032

Improve derivation "advanced attrs" test, fix almost-bug (backport NixOS#13032)
Tagging release 2.28.2
@github-actions

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request April 17, 2025 15:08 Inactive
@edolstra
edolstra added this pull request to the merge queue Apr 17, 2025
Merged via the queue into detsys-main with commit a8979e0 Apr 17, 2025
@edolstra
edolstra deleted the sync-2.28.2 branch April 17, 2025 15:53

This branch was previously deployed

1 inactive deployment
pull request — 9574d393 Deployed Apr 17, 2025 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants