Commit Graph
805480 Commits
Author SHA1 Message Date
Wolfgang Walther 13f5aa304e workflows/eval: run trusted code in process step
We don't really need to run the combine and comparison steps from the
untrusted merge commit. By switching to the trusted target commit, we
can avoid adding another worktree - and lay the foundation to later do
those steps in the tag job, which has access to secrets.
2025-05-25 19:23:17 +02:00
Wolfgang Walther b2579d36ff workflows/eval: consistently avoid "result" in arguments
Everything is a result, especially when nix-build uses "result" as its
default output. This becomes confusing, when re-wiring the different
parts later.

Thus, consistently name those things after some of their properties and
avoid the term result.
2025-05-25 19:23:12 +02:00
Wolfgang Walther 0e1c284b13 workflows: checkout nixpkgs in get-merge-commit action
This makes checking out the nixpkgs repo even more consistent and almost
forces us to use the trusted/untrusted path pattern.
2025-05-25 15:14:23 +02:00
Wolfgang Walther 942c377476 workflows/nixpkgs-vet: use nixpkgs-vet from pinned nixpkgs
We have added nixpkgs-vet as a regular package to nixpkgs a while ago,
so we can now use it from pinned nixpkgs. This avoids pulling a
platform-specific binary version from upstream.

This change also allows to run the tool easily locally, the same way as
other tools:

  nix-build ci -A nixpkgs-vet

This will do a full check of the repo with the exception of
nixpkgs-vet's "ratchet" checks: Those depend on having two branches to
compare, but the default is to only look at the head branch. Those
ratchet checks will still be run in CI, though.
2025-05-25 15:01:42 +02:00
Wolfgang Walther 6720d25429 workflows: checkout nixpkgs into trusted/untrusted directories
By consistently checking out nixpkgs into the same location in every
workflow, it's easier to reason about the different workflows at once.
We also use crystal-clear names to make clear, which checkouts are
considered trusted, because they only contain target-branch-code and
which checkouts are untrusted, because they contain code from the head
branch. By naming the checkout directories trusted/untrusted, it's
obvious at the call-site.

One example of where we likely did the wrong thing is the nixpkgs-vet
workflow: Fetching the toolVersion from the untrusted checkout opens the
door for an injection into the download URL, thus code could be
downloaded from anywhere. This is not a problem, because this workflow
does not run with elevated privileges, but it's a scary oversight
nonetheless.
2025-05-25 14:33:06 +02:00
Wolfgang Walther 539e8d4f66 actions/get-merge-conflict: refactor
Using core.setOutput is much nicer than having to parse the json
"result" on the outside. This also avoids some very odd errors, when the
result can, for unknown reasons, *not* be parsed as JSON later on.

Also avoiding a bit of duplication between the "if mergeable" branches.
2025-05-25 14:32:51 +02:00
Wolfgang Walther cd9a22d753 workflows/eval: fix comparison with merge conflicts
In PRs with multiple commits and merge conflicts the logic "targetSha ==
immediate parent of mergedSha" doesn't hold anymore. The head and base
commits of the PR's branch have some commits inbetween them, instead.

Before this change, we'd get a "fatal: invalid reference" on the
"worktree add". Now, not anymore, because we fetch the right commit
directly.
2025-05-25 14:32:47 +02:00
AleksanaandGitHub 72200554df pcmanfm: 1.3.2 -> 1.4.0 (#409219) 2025-05-24 19:26:53 +08:00
AleksanaandGitHub 517b3a8c9f padthv1: 0.9.23 -> 1.3.2 (#409179) 2025-05-24 19:24:49 +08:00
AleksanaandGitHub bf3c0d487c wavebox: 10.135.21-2 -> 10.136.15-2 (#407906) 2025-05-24 19:20:40 +08:00
AleksanaandGitHub 8187b20dc2 got: 0.111 -> 0.112 (#409279) 2025-05-24 19:20:14 +08:00
AleksanaandGitHub 3e570235b0 halo: 2.20.20 -> 2.20.21 (#409274) 2025-05-24 19:20:02 +08:00
AleksanaandGitHub 91e057867a poedit: 3.5.2 -> 3.6.2 (#406161) 2025-05-24 19:19:34 +08:00
AleksanaandGitHub 57e3ed2b35 cfn-nag: update gems (#410170) 2025-05-24 19:19:15 +08:00
AleksanaandGitHub 8032938d3b ugrep: 7.4.2 -> 7.4.3 (#409979) 2025-05-24 19:17:57 +08:00
AleksanaandGitHub 299c925877 python3Packages.langgraph-checkpoint-postgres: Disable flaky test (#410341) 2025-05-24 19:16:58 +08:00
AleksanaandGitHub 4d30a52a38 drawterm: 0-unstable-2025-03-18 -> 0-unstable-2025-05-18 (#409761) 2025-05-24 19:15:51 +08:00
AleksanaandGitHub 1783268cc4 OWNERS: add myself to lib/licenses.nix (#410456) 2025-05-24 19:13:29 +08:00
AleksanaandGitHub e95998e654 parabolic: patch executable paths (#407695) 2025-05-24 19:04:38 +08:00
K900andGitHub 828fb28de8 turbovnc: remove zlib reference (#410479) 2025-05-24 14:01:26 +03:00
K900 05649cdfa5 turbovnc: remove zlib reference
It gets picked up by refscan otherwise
2025-05-24 13:52:15 +03:00
Jörg ThalheimandGitHub 5e7e14d395 ci/eval: cleanups, make slightly faster (#409873) 2025-05-24 12:45:51 +02:00
1590adfdc5 gildas: 20250401_b -> 20250501_a (#410201)
Co-authored-by: smaret <sebastien.maret@univ-grenoble-alpes.fr>
2025-05-24 10:45:36 +00:00
Wolfgang Walther 138393e0ba ci/eval.combine: avoid parsing of plain text file into JSON
Instead of parsing a plain text file with jq, we can make nix-env output
JSON directly, which is significantly faster.

This saves about 8 out of 10 seconds for the combine step.
2025-05-24 12:36:15 +02:00
Wolfgang Walther d87d760dfa ci/eval.compare: use lib from pinned nixpkgs
compare/maintainers.nix needs to access the current checkout to check
attrpaths, but makes the mistake of using lib from that checkout as
well. All other code in ci/ uses the pinned nixpkgs instance, so
maintainers.nix should do so as well.
2025-05-24 12:36:15 +02:00
Wolfgang Walther eccd9564ab ci/eval: improve api when calling in steps
Previously, `eval.full` organized the results for the supported systems
in a specific layout, i.e. with a folder with one subfolder per system.
Then, `eval.combine` relied on that.

When using `eval.singleSystem` and `eval.combine` directly, the caller
was responsible to recreate the same layout. This is annoying and
error-prone to do, when downloading artifacts from CI to recreate some
steps locally.

With this change, all the artifacts can be downloaded and extracted into
the same folder - because the result from `eval.singleSystem` already
contains the <system-name>/ subfolder.
2025-05-24 12:36:14 +02:00
Wolfgang Walther 82396d1f48 workflows/{codeowners,eval}: move env before run
`env` blocks are a bit like `let` blocks in Nix. They define a few
things, which are then used in the `run` block. The workflows are
considerably easier to read, if those definitions come first, making it
crystal clear where they belong and requiring less visual jumping.
2025-05-24 12:36:11 +02:00
TomaandGitHub 202e215081 rstudio: fix .desktop file by properly escaping use of cmake variable (#410461) 2025-05-24 12:25:49 +02:00
Jörg ThalheimandGitHub b29abce2e6 workflows/get-merge-commit: support merge conflicts, run as step in main jobs (#410430) 2025-05-24 12:25:02 +02:00
RamsesandGitHub 10b6dbe0f1 cubeb: add myself to maintainers and make more cusomizable, signal-desktop.ringrtc: use cubeb from nixpkgs (#408510) 2025-05-24 12:07:04 +02:00
Weijia WangandGitHub 2d9d922a9a python3Packages.ansible: 11.4.0 -> 11.5.0 (#404831) 2025-05-24 11:58:52 +02:00
TomaSajt a22a61f6bc rstudio: fix .desktop file by properly escaping use of cmake variable 2025-05-24 11:53:40 +02:00
Thiago Kenji OkadaandGitHub 983cf6cee8 libretro.genesis-plus-gx: 0-unstable-2025-05-02 -> 0-unstable-2025-05-23 (#410348) 2025-05-24 10:48:08 +01:00
RamsesandGitHub ca911a72ad wl-gammarelay-rs: 1.0.0 -> 1.0.1 (#397501) 2025-05-24 11:44:34 +02:00
Emily 856cb3108a OWNERS: add myself to lib/licenses.nix
As one of the resident Nixpkgs licensing pedants and reviewer of
several recent changes to this file I think it makes sense to make
the de facto the de jure.
2025-05-24 10:22:00 +01:00
Weijia WangandGitHub 5cfc4245bf python3Packages.pymdown-extensions: 10.14.3 -> 10.15 (#403949) 2025-05-24 11:17:17 +02:00
Wolfgang WaltherandGitHub 8a4822e194 ISSUE_TEMPLATES: update releases following 25.11's branch-off (#407705) 2025-05-24 09:15:05 +00:00
Florian KlinkandGitHub 947c8cc99e nixosTests.mycelium: make less flaky (#410450) 2025-05-24 12:09:46 +03:00
Weijia WangandGitHub ca4a90d7bc python3Packages.ase: 3.24.0 -> 3.25.0 (#403937) 2025-05-24 11:03:17 +02:00
Florian Klink bb05bee4e5 nixosTests.mycelium: make less flaky
We immediately expected for the other peer to be available in the peer
list, right after startup, but that's racy.

Instead try the pinging multiple times until it succeeds (max 10 times),
then check the list of peers for completion.
2025-05-24 11:59:35 +03:00
Weijia WangandGitHub f6265a58c7 python3Packages.aiomisc: 17.7.3 -> 17.7.7 (#403843) 2025-05-24 10:58:06 +02:00
Gaétan LepageandGitHub f593188ca9 uv: 0.7.7 -> 0.7.8 (#410392) 2025-05-24 10:43:26 +02:00
Weijia WangandGitHub 1dac8a8d5a python3Packages.dash: 3.0.3 -> 3.0.4 (#403817) 2025-05-24 10:43:02 +02:00
Arne KellerandGitHub 499104e7db README.md: fix NixOS logo (#410312) 2025-05-24 10:35:27 +02:00
Weijia WangandGitHub ca172c53fe python3Packages.rdflib: 7.1.3 -> 7.1.4 (#404634) 2025-05-24 10:34:05 +02:00
c12a81f751 cue: 0.12.1 -> 0.13.0 (#409891)
Co-authored-by: aaronjheng <aaronjheng@users.noreply.github.com>
2025-05-24 08:33:38 +00:00
0a24a516f8 nakama: 3.26.0 -> 3.27.1 (#410321)
Co-authored-by: qxrein <manavrj.07@gmail.com>
2025-05-24 08:26:23 +00:00
Weijia WangandGitHub 9e4832e691 python3Packages.google-auth-oauthlib: 1.2.1 -> 1.2.2 (#404661) 2025-05-24 10:21:40 +02:00
Gaétan LepageandGitHub c3ee76c437 nix-search-tv: 2.1.6 -> 2.1.7 (#410438) 2025-05-24 10:19:15 +02:00
Weijia WangandGitHub 9e2ef36802 python3Packages.ansible-core: 2.18.4 -> 2.18.6 (#404800) 2025-05-24 10:19:05 +02:00