Commit graph

288 commits

Author SHA1 Message Date
Silvan Mosberger
33257a9d7c ci/request-reviews: Fix code owner requests for filenames with spaces
Discovered in https://github.com/NixOS/nixpkgs/pull/368656#issuecomment-2564266513
2025-01-09 18:18:37 +01:00
Wolfgang Walther
240c82b60e
ci/request-reviews: limit to 10 maintainer review requests
This mirrors ofborg for now.
2025-01-05 13:29:18 +01:00
NAHO
fcfbe6fff4
workflows: update Ubuntu runner to ubuntu-24.04
Link: https://github.com/actions/runner-images/issues/10636
2025-01-05 00:18:58 +01:00
NAHO
2660dd1e71
workflows: lock Ubuntu runner to ubuntu-22.04
Lock the Ubuntu runner to ubuntu-22.04 to avoid accidental updates [1]
and increase reproducibility.

[1]: https://github.com/actions/runner-images/issues/10636
2025-01-05 00:18:57 +01:00
Wolfgang Walther
034613f860
ci/request-reviews: request reviewers 1-by-1
This is to be able to ignore the odd failure for some users, who are
listed as collaborators, but still fail to be requested properly.
2025-01-04 18:34:19 +01:00
Wolfgang Walther
62779fbfa4
ci/request-reviews: share code to request reviewers from gh api
This makes it easier to add ofborg's request-1-by-1 logic, where failed
requests are OK for edge cases.
2025-01-04 18:34:17 +01:00
Wolfgang Walther
ffb0ace1e7
ci/request-reviews: use generic wording instead of "code owner"
This is now re-used for both code owners and maintainers.
2025-01-04 14:28:14 +01:00
Wolfgang Walther
cf0616fec6
ci/request-reviews: rename code-owner related files
Now that we have maintainer reviews as well, be a bit more explicit
about naming.
2025-01-04 13:54:05 +01:00
Wolfgang Walther
213dbf1774
ci/request-reviews: lowercase handles consistently
This script assumed to get lowercased input before, but with the
addition of pinging maintainers that's not necessarily true anymore.

Since the checks for prAuthor and already-reviewed-by already lowercase,
make sure to lowercase the handles in the users array, too.
2025-01-04 12:07:49 +01:00
Silvan Mosberger
077007a658 ci/request-reviews: Don't request reviews from non-repo-collaborators
Fixes this problem for maintainer-based reviews when the maintainer
didn't yet accept or missed the automated invite:

    gh: Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the NixOS/nixpkgs repository. (HTTP 422)
2025-01-03 04:32:38 +01:00
Silvan Mosberger
0371b7fb4b ci/request-reviews: split off a more reusable reviewer processing script
We can reuse the new process-reviewers.json part for requesting
reviews from maintainers.
2025-01-03 04:07:41 +01:00
Masum Reza
a69bc54e33
workflows/eval: Request reviews from changed package maintainers (#366046) 2025-01-02 14:18:57 +05:30
Janne Heß
6d96c9a21e
ci: Label 10.rebuild-*-stdenv (#369102)
Currently ofborg does this, but there is actually no real reason this
shouldn't be done by CI
2024-12-30 20:01:31 +01:00
Andrew Marshall
cbc50da11c zfs_2_1: remove
With the release of 2.3.0-rc, we know that 2.3.0 will be coming sometime
soon. Per the [ZFS release policy][1], only the current and previous
releases are expected to be supported, so 2.1.x will become unsupported.
Unfortunately upstream does not have any specific timelines, so we do
not know when it will become unsupported, but when it does we will
likely backport the removal. As such, begin warning of imminent removal.

[1]: 6187b19434/RELEASES.md
2024-12-25 21:57:51 +01:00
Ramses
4af8ef3cd7
Remove Some Static IDs (#367563) 2024-12-24 11:34:14 +01:00
Will Fancher
4971ed01cb nixos/ids: Link to RFC #52 and explain that static IDs are not allowed. 2024-12-23 17:01:59 -05:00
commiterate
43caf2e0f9 amazon-cloudwatch-agent: let users specify configuration file paths 2024-12-22 22:58:07 -05:00
Silvan Mosberger
b844cba4e6 workflows/eval: Use maintainer GitHub IDs for review requests of changed packages
The handles can change over time and there's nothing guaranteeing the
ones in the maintainer list are up-to-date. In comparison GitHub IDs
never change.
2024-12-18 22:13:48 +01:00
Silvan Mosberger
b9d800d468 workflows/eval: Request reviews from changed package maintainers
Currently we need to rely on ofborg requesting reviews from package
maintainers, which takes a while with ofborg's eval queue. Since
recently we're doing faster evaluations with GitHub Actions, which contain all
necessary information to determine reviewers of changed packages the
same way ofborg does. This PR takes advantage of that.
2024-12-18 22:13:37 +01:00
Jörg Thalheim
44dc31e676 ci/eval/compare: truncate step summary to 1024k 2024-12-15 14:08:02 +01:00
Silvan Mosberger
0acb5f0924
ci/eval: allow precisely choosing which systems to evaluate for (evalSystem -> evalSystems) (#365244) 2024-12-15 02:36:14 +01:00
Gaetan Lepage
6eadbf9c97 ci/eval: allow precisely choosing which systems to evaluate for (evalSystem -> evalSystems) 2024-12-14 21:42:36 +01:00
Marco "Capypara" Köpcke
7c49f4f5e7
OWNERS, teams: jetbrains: add theCapypara, create jetbrains team 2024-12-13 11:04:20 +01:00
Silvan Mosberger
bd5c93ca3d ci/eval: Avoid noise for failing attribute evals
It's currently annoying to see the actual failure in the attrs step,
because `time -v` displays like 20 lines, which get repeated, therefore
requiring you to scroll up most of the time:
3429721834 (step):5:794

This commit fixes that by only displaying the most important stats, the
same ones as the chunked system-specific evals.
2024-12-12 12:53:37 +01:00
Emery Hemingway
eaff0725de buildNimSbom: init a new package builder for Nim
Ref: #327064
2024-12-12 09:57:05 +00:00
Gaetan Lepage
518ae8fd58 ci/eval: add rebuildsByPlatform to the comparison result 2024-12-11 16:37:25 +01:00
Leona Maroni
6bb50c992f
OWNERS: add leona to jetbrains 2024-12-10 17:34:39 +01:00
Gaetan Lepage
214cb79aa6 ci/eval: fix compare label assignment 2024-12-10 10:00:11 +01:00
Jörg Thalheim
23c1faaff6
ci/eval: re-implement compare in nix (#362844) 2024-12-09 21:02:53 +01:00
Silvan Mosberger
d979e89d88 ci: Update pinned Nixpkgs
From the nixpkgs-unstable channel: https://hydra.nixos.org/eval/1810299#tabs-inputs
2024-12-09 14:51:43 +01:00
Gaetan Lepage
f94b4bd945 ci/eval: re-implement compare in nix 2024-12-08 10:23:40 +01:00
emilylange
674835a9d9
chromium: remove ofborg maintainer ping workaround, use CODEOWNERS
The workaround to have ofborg ping chromium and ungoogled-chromium
maintainers when a change was only made to the upstream-info relied on
string context.

That string context was provided by the upstream-info being a nix file,
not a json file, and then holding on to that string context using
awkward attribute merges.

It was intended as a quick fix until the handling of this would improve
in ofborg itself and worked great.

That was until very recently when we switched from the chromium release
tarball to git source fetching in 8dd2f1add9.

Part of that change included going back from upstream-info.nix to
upstream-info.json and with that losing the string context and the base
on which this workaround used to work.

But this is fine. A lot has happened in the meantime.

CODEOWNERS was reimplemented and no longer requires every user listed in
it to have write permissions to the repository (commit bit).

Meaning we can accept that ofborg pings no longer work and instead rely
on CODEOWNERS exclusively.

It should, however, be noted that CODEOWNERS provide less granularity
than ofborg, meaning we can no longer differentiate between
ungoogled-chromium and chromium or even chromedriver.

Previously, implementing the workaround that is now essentially
reverted: 68c59791fb
2024-12-06 20:30:39 +01:00
Martin Weinelt
9234025c07
OWNERS: update python update script ownership 2024-12-05 23:30:22 +01:00
John Titor
b5a6aeb5df
ci: init get-merge-commit workflow
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2024-12-05 01:05:00 +05:30
Philip Taron
0c49227282
ci: Update pinned Nixpkgs (#361165) 2024-12-02 13:09:36 -08:00
Silvan Mosberger
449314825e ci/eval: Also count added packages as rebuilds
This is also what ofborg does
2024-12-02 21:28:47 +01:00
Silvan Mosberger
c9bbb9962c ci: Update pinned Nixpkgs
From the nixpkgs-unstable channel: https://hydra.nixos.org/eval/1810238#tabs-inputs
2024-12-02 18:48:53 +01:00
Silvan Mosberger
512859412f
ci: fix GHA's rebuild-xxx: 5001+ labels (#360754) 2024-12-01 20:43:35 +01:00
Wolfgang Walther
a06822cabf
ci: fix GHA's rebuild-xxx: 5001+ labels 2024-12-01 13:27:42 +01:00
Jörg Thalheim
006691de3c github/workflows/eval: add nixos package search links and wrap sections in a summary list 2024-12-01 11:58:30 +01:00
Jörg Thalheim
8b7ed6e105 github/workflows/eval: limit number of packages in markdown 2024-12-01 10:59:17 +01:00
Noa Aarts
0e27bc3f9e
github/workflows/eval: add markdown of added, removed and changed 2024-11-30 13:47:49 +01:00
Jörg Thalheim
82434f382c
Use GHA eval to assign rebuild labels (#359704) 2024-11-29 23:21:39 +01:00
Jörg Thalheim
5978e7fa2f ci/eval: don't allow IFD 2024-11-29 22:04:22 +01:00
Silvan Mosberger
af1aa40e73 workflows/eval.yml: Run on dev branch pushes and apply rebuild labels 2024-11-28 22:24:23 +01:00
Jörg Thalheim
668d72c474 add python-updates to dev branches 2024-11-28 08:35:39 +01:00
Tomodachi94
0c2a7f8159 OWNERS: add Java team as owner of Java module
It is within our scope.

The general team consensus seems to be that it is in a similar position
to nix-ld: in-tree users should migrate away from it, but out-of-tree
users can use it as a workaround, in place of a wrapper.
2024-11-24 22:47:26 +00:00
Zhong Jianxin
6520fb92dc OWNERS: Add azuwis to .github/workflows 2024-11-23 00:08:17 +08:00
Maximilian Bosch
f3110c93dc
Merge: cargo-pgrx: drop obsolete versions (#357670) 2024-11-22 16:00:55 +01:00
Jörg Thalheim
67d43ef9ef
workflows/eval: Minor fixes, ensure the correct commit is checked out (#357965) 2024-11-21 20:18:44 +01:00