Commit Graph

720 Commits

Author SHA1 Message Date
Silvan Mosberger
2ced5ae73a
Merge pull request #282707 from tweag/by-name-base-trigger
workflows/check-by-name: Trigger on base branch changes
2024-01-24 22:25:25 +01:00
Adam Joseph
62b620412c .github/CODEOWNERS: drop amjoseph-nixpkgs
I enjoyed doing major overhaul work on these parts of the codebase,
but I can't continue maintaining them.
2024-01-22 20:46:34 -08:00
piegames
9ed792777a
Merge pull request #282684 from NixOS/revert-275443-piegamesde-patch-1
Revert "CODEOWNERS: Watch the maintainers lists"
2024-01-22 09:59:00 +01:00
h7x4
d2c68a27f3
CODEOWNERS: add h7x4 to libconfig 2024-01-22 02:43:36 +01:00
Silvan Mosberger
0825957f54 workflows/check-by-name: Trigger on base branch changes
Not doing this can cause CI to report a misleading result when it wasn't
retriggered after a base branch change.
2024-01-21 22:47:10 +01:00
piegames
cf0e5d92ea
Revert "CODEOWNERS: Watch the maintainers lists" 2024-01-21 21:26:11 +01:00
dependabot[bot]
7776440255
build(deps): bump cachix/cachix-action from 13 to 14 (#281122)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](6a2e08b5eb...18cf96c7c9)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 17:10:26 +01:00
dependabot[bot]
7a6810eb0f
build(deps): bump cachix/install-nix-action from 24 to 25 (#281120)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](7ac1ec2549...6004951b18)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 17:08:54 +01:00
Silvan Mosberger
8cf3cd91b2 check-by-name: Update contributor docs
Now that the tooling is pinned instead of being fetched indirectly from
the channel, the docs need some updating
2024-01-17 21:26:39 +01:00
Silvan Mosberger
50d57f6236 check-by-name: Fix CI
Wasn't detected in https://github.com/NixOS/nixpkgs/pull/281407
2024-01-17 21:26:12 +01:00
Silvan Mosberger
9997190a61
Merge pull request #281407 from tweag/by-name-local-run-platforms
check-by-name/run-local.sh: Make it usable for non-CI platforms
2024-01-17 21:21:12 +01:00
Silvan Mosberger
9da57b5bd3 check-by-name/run-local.sh: Make it usable for non-CI platforms
Since https://github.com/NixOS/nixpkgs/pull/281374, the
nixpkgs-check-by-name tooling is pinned to a specific /nix/store path to
avoid having to evaluate Nixpkgs in CI.

The same path is used for local runs, but that doesn't actually work
when you're trying to run it on a platform different from CI.

This commit makes it work by being clearer about platforms and making
local runs check out the correct Nixpkgs to evaluate the tool from.
2024-01-17 10:45:23 +01:00
Janik H.
0dc128c6fc
CODEOWNERS: add janik to octodns 2024-01-17 00:11:45 +01:00
Silvan Mosberger
aaa6573ed5
Merge pull request #281374 from tweag/by-name-check-pin
workflows/check-by-name: Pin nixpkgs-check-by-name tool
2024-01-16 21:48:03 +01:00
Silvan Mosberger
cc422e321e workflows/check-by-name: Pin nixpkgs-check-by-name tool
Before this, the tool for CI would update when nixos-unstable updated,
which is kind of terrible because you don't know when it happens, and it
might break master.

In fact, the tooling _right now_ has a serious bug and shouldn't be used!

This PR addresses this by _pinning_ the tooling in Nixpkgs itself.

Updating the tooling now requires two PRs:
- The first PR to update the tooling source
- (wait for Hydra to build and publish it in nixos-unstable)
- The second PR to update the pinned tooling

In turn you know exactly when the changes are going to take effect.

This change however has additional benefits:
- It makes CI more reproducible, because it doesn't depend on the state
  of nixos-unstable anymore
- Updates to the tooling can be tested with the workflow itself,
  because PRs that update the pinned tool will be tested on the updated
  version
- CI gets a sizable speed boost, because there's no need to download and
  evaluate a channel anymore
- It makes it more realistic to move the source of the tool into a
  separate repository
- It removes the brittle branch-specific logic that was previously
  needed to ensure that release branches use their own version of the
  tooling.
2024-01-16 19:58:19 +01:00
Janne Heß
2ccf45ee95
ci: Fix nix-parse workflow
The nix_path definition was missing :/
2024-01-16 19:07:37 +01:00
Janne Heß
1dd543a564
Merge pull request #279892 from helsinki-systems/feat/parse-nix-files
ci: Check if all nix files are parseable
2024-01-16 17:48:50 +01:00
Janne Heß
d722b456e8
ci: Only check nix files when any nix file changed 2024-01-16 09:31:27 +01:00
Raito Bezarius
a327fd0f71 CODEOWNERS: add myself as code owner of the Nix package manager
Given the prior attempts to encourage Nix package bumps to be more stable, we failed, failed and failed again.

Today again, we shipped a broken Nix (2.19.2) without sufficient testing to unstable-small and it broke some users.

As announced in the past, I am taking ownership of the package manager bumps and modifications
as seemingly no one is interested to do it inside of Nixpkgs.
2024-01-11 19:18:08 +01:00
Janne Heß
f7a175776e
ci: Check if all nix files are parseable 2024-01-10 10:16:04 +01:00
Weijia Wang
34ecb3cdc6
Merge pull request #275459 from emilylange/chromium-drop-inactive-maintainers
chromium: drop inactive maintainers, CODEOWNERS: init chromium
2024-01-05 15:57:50 +01:00
zowoq
43a88eef2e .github/CODEOWNERS: add buildbot 2024-01-05 11:41:19 +10:00
adisbladis
ced1438d5b maintainers/teams: remove adisbladis from podman 2023-12-27 02:13:24 +13:00
Silvan Mosberger
02b3c06b1c
Merge pull request #274591 from tweag/by-name-reproducible
`pkgs/by-name`: Enable gradual migration checks and add `run-local.sh`
2023-12-22 00:17:37 +01:00
Silvan Mosberger
f882df781c maintainers/scripts/check-by-name.sh: Introduce symlink alias 2023-12-22 00:04:16 +01:00
Silvan Mosberger
f27bb1216c
Merge pull request #273773 from nbraud/scripts/doc/check-manpage-urls
maintainers: Add new script to check URLs in `doc/manpage-urls.json`
2023-12-20 19:33:32 +01:00
Silvan Mosberger
1968beeabd check-by-name: Pass --base in CI and local running script
This enables the ratchet checks for pkgs/by-name, allowing gradual
migrations!
2023-12-20 17:38:06 +01:00
Silvan Mosberger
1ad45e503f workflows/check-by-name: Slim down and prepare for --base
Now that we have a script to run the check locally,
there's no real need to output the information to reproduce anymore,
which allows cleaning up the CI workflow.

Furthermore, this prepares the CI workflow to be passed `--base`, as
introduced recently.
2023-12-20 17:38:05 +01:00
Silvan Mosberger
c6267887db workflows/check-by-name: Why the mergeability check needs to be inline 2023-12-19 23:15:41 +01:00
Silvan Mosberger
3869ba4127 workflows/check-by-name: Move tool fetching into script
This part of the CI can also be reproduced locally
2023-12-19 23:15:01 +01:00
emilylange
ff1380cb3a
CODEOWNERS: init chromium 2023-12-19 18:06:13 +01:00
piegames
8596226c93
CODEOWNERS: Watch the maintainers lists 2023-12-19 17:52:02 +01:00
nicoo
ba387f0a5b workflows/manual-nixpkgs: Run the manual's tests 2023-12-18 20:28:51 +00:00
Silvan Mosberger
dbb599f2e4 workflows/check-by-name: Cancel on merge conflicts 2023-12-15 18:49:29 +01:00
Valentin Gagarin
b98bbbd49a CODEOWNERS: unsubscribe fricklerhandwerk 2023-12-15 15:05:02 +01:00
zowoq
f63903a90f .github/workflows/update-terraform-providers.yml: use opentofu instead of terraform
terraform is unfree and can't be built on ofborg
2023-12-08 12:47:35 +10:00
Pol Dellaiera
913e939769
CODEOWNERS: fix errors 2023-12-05 16:18:02 +01:00
dependabot[bot]
628c5366a3
build(deps): bump cachix/cachix-action from 12 to 13 (#272012)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](6a9a34cdd9...6a2e08b5eb)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 01:55:04 +01:00
dependabot[bot]
e3e5f288bf
build(deps): bump cachix/install-nix-action from 23 to 24 (#272011)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](6a9a9e84a1...7ac1ec2549)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 01:52:38 +01:00
Julien Malka
7958ecca21
codeowners: add JulienMalka to systemd-boot 2023-12-03 15:50:08 +01:00
Silvan Mosberger
f10b752da5
Merge pull request #269030 from alyssais/github-priorities
.github: fix "Priorities" heading level
2023-12-03 13:07:36 +01:00
Alyssa Ross
192d953bc2
.github: removing "Priorities" heading
Where this was a markdown heading, it sometimes had the wrong weight
so it appeared as if it was a subheading of the previous section, and
some people feel the word "Priorities" creates misleading
expectations.

Link: https://github.com/NixOS/nixpkgs/pull/203969/files#r1037761779
2023-12-03 12:23:22 +01:00
Martin Weinelt
13a5743c44 workflows/periodic-merge: allow manual dispatch
Currently there is an eval fix on master and waiting five hours for it
to propagate into staging-next and staging is annoyingly long.
2023-12-02 21:52:46 +01:00
Silvan Mosberger
ac01ff7146
Merge pull request #270496 from tweag/by-name-backoff
workflows/check-by-name: Limited and exponential retries
2023-12-01 04:47:17 +01:00
figsoda
790e3e3399
Merge pull request #270196 from figsoda/template
{CONTRIBUTING,PULL_REQUEST_TEMPLATE}.md: update NixOS release
2023-11-29 12:12:36 -05:00
Victor Engmark
4177297b14 ci: pin third party actions
For reproducibility.

Command:

```shell
for file in .github/workflows/*.y*ml; do
    npx pin-github-action --comment=' {ref}' "$file"
done
```

Then had to manually replace all the versions with accurate specifiers
(for example, "v4" → "v4.1.1" in case of `actions/checkout`).
2023-11-29 09:51:22 +01:00
Robert Hensing
0864e05d72 .github/CODEOWNERS: Add roberth to module system 2023-11-28 16:24:26 +01:00
Silvan Mosberger
5e0644896d workflows/check-by-name: Set 10 minute timeout
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
2023-11-27 23:57:08 +01:00
figsoda
43a3d2d90e {CONTRIBUTING,PULL_REQUEST_TEMPLATE}.md: update NixOS release 2023-11-27 17:33:01 -05:00
Silvan Mosberger
d38a7343fe workflows/check-by-name: Limited and exponential retries
We've had a recent PR CI mass failure event, ultimately caused by the
mergeability check GitHub API not returning a result.

But due to the `pkgs/by-name` check workflow not backing off
appropriately between retries, it pummeled the API, resulting in
exceeding the API rate limit:

https://github.com/NixOS/nixpkgs/actions/runs/7010089143/job/19069845070

This commit fixes that for the future by implementing a retry strategy limited to three
retries, with exponential backoff
2023-11-27 22:42:17 +01:00
Raito Bezarius
e04c0b0d99 zfs_2_1: init at 2.1.13
This re-introduces the old stable ZFS version we had in the past following
the many predicted issues of ZFS 2.2.x series, that is much more stable
than any further ZFS version at the moment.

I am also removing myself from maintenance of any further ZFS versions as I am
planning to quit ZFS maintenance at some point.

In the meantime, for users like me who depend on ZFS for critical operations, here is a ZFS version
that is known to work for LTS kernels.
2023-11-24 15:47:21 +01:00
Matthieu Coudron
ef1e06441e .github/labeler.yml: autolabel jupyter stuff 2023-11-22 16:02:27 +01:00
Silvan Mosberger
ad228aee4b workflows/check-by-name: If channel no existent, fall back to nixos-unstable 2023-11-22 01:53:07 +01:00
figsoda
87cc06983c
24.05 is Uakari 2023-11-21 14:34:30 -05:00
Silvan Mosberger
7ae0729ae5 Encourage +1's for prioritisation
Adds a small text to each issue and the PR template to encourage people to use
👍's for issues they're also interested in. See
https://github.com/NixOS/nix.dev/issues/359 for more information

Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-21 07:00:18 +01:00
Silvan Mosberger
a7bbd70413 CODEOWNERS: Remove line for removed file
Was removed in https://github.com/NixOS/nixpkgs/pull/268407
2023-11-20 02:53:02 +01:00
Naïm Favier
876ea24058 CODEOWNERS: add ncfavier to Haskell 2023-11-17 11:43:10 +01:00
Silvan Mosberger
a517f66da7
Merge pull request #267784 from tweag/flakes-labeler
.github/labeler.yml: auto-label flakes stuff
2023-11-16 13:05:03 +01:00
Silvan Mosberger
48a58721dd CODEOWNERS: Remove edolstra
Updated to reflect reality: Eelco is not acting as a code owner of these files
2023-11-16 03:56:11 +01:00
Silvan Mosberger
076ed58875 .github/labeler.yml: auto-label flakes stuff 2023-11-16 03:49:16 +01:00
dependabot[bot]
afaf639666 build(deps): bump korthout/backport-action from 2.1.0 to 2.1.1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](https://github.com/korthout/backport-action/compare/v2.1.0...v2.1.1)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 13:49:56 +01:00
Yueh-Shun Li
9963ad5c5f doc: builders -> build helpers to reduce ambigualty 2023-11-07 19:58:53 +00:00
Yueh-Shun Li
a12beafc57 doc: move doc/builders/packages -> doc/packages 2023-11-07 19:58:51 +00:00
dependabot[bot]
3036ac33ed build(deps): bump korthout/backport-action from 2.0.0 to 2.1.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](https://github.com/korthout/backport-action/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 09:40:56 +01:00
Silvan Mosberger
b22c7cc50c
Merge pull request #264638 from ckiee/codeowners-add-libconfig
CODEOWNERS: add ckiee to libconfig format
2023-10-31 23:02:13 +01:00
ckie
3eaa06f86f
CODEOWNERS: add ckiee to libconfig format 2023-10-31 21:11:46 +02:00
Pol Dellaiera
b35234334e
Merge pull request #263993 from drupol/rb-update-issue-template
doc: update r-b issue template
2023-10-31 17:33:24 +01:00
dependabot[bot]
eea756868f
build(deps): bump korthout/backport-action from 1.3.1 to 2.0.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 1.3.1 to 2.0.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](https://github.com/korthout/backport-action/compare/v1.3.1...v2.0.0)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 11:17:29 +00:00
Pol Dellaiera
036c5cb9de
doc: update r-b issue template 2023-10-29 11:16:16 +01:00
Arnout Engelen
a4e5fc030b
Merge pull request #263961 from raboof/rb-improve-issue-template
github: improve r-b issue template
2023-10-28 15:19:06 +02:00
Arnout Engelen
af23138727
github: improve r-b issue template
You may need to run the regular `nix-build` before running
`nix-build --check`
2023-10-28 14:58:11 +02:00
K900
b6958acdab poetry2nix: drop
The in-tree version has been broken for a while, so now is probably a good time to rip off the band-aid.
2023-10-26 19:05:41 +03:00
Valentin Gagarin
643419f02b
Merge pull request #258595 from fricklerhandwerk/doc-emscripten
Emscripten docs: reword and remove mention of `nix-env`
2023-10-26 13:34:15 +02:00
Artturi
e0cca29f4b
Merge pull request #238575 from toonn/pr-template-sandboxing 2023-10-20 12:25:59 +03:00
Silvan Mosberger
b941c97eb2 CODEOWNERS: Add myself to more parts of lib 2023-10-20 00:16:41 +02:00
Silvan Mosberger
785b8ca2e7 workflows/check-by-name: Improved mergeability check 2023-10-18 01:59:47 +02:00
Silvan Mosberger
1a53218dfc
Merge pull request #261698 from tweag/fix-code-owners
CODEOWNERS: Fix check-by-name workflow file name
2023-10-17 23:40:41 +02:00
Silvan Mosberger
d67dae29ac CODEOWNERS: Fix check-by-name workflow file name 2023-10-17 21:16:48 +02:00
Artturin
5fbbada2fb workflows/check-by-name: print failed command output 2023-10-17 22:04:48 +03:00
Silvan Mosberger
b3e14b9045
Merge pull request #259074 from tweag/detect-merge-conflicts
workflows/check-by-name: Better error for merge conflicts
2023-10-06 05:09:54 +02:00
Silvan Mosberger
004da0cf91 workflows/check-by-name: Better error for merge conflicts 2023-10-05 00:13:47 +02:00
Silvan Mosberger
dd543a79d5 workflows/check-by-name: Add a missing colon 2023-10-04 23:42:10 +02:00
Valentin Gagarin
b1fc3195c1 add Emscripten maintainers to CODEOWNERS
also notify on documentation changes
2023-10-03 00:45:18 +02:00
Silvan Mosberger
0dcdf60c38 workflows/check-by-name: Better error when base branch also fails
Previously, even if the check also failed on the base branch, it looked
like the PR introduced the failure.

We can easily have a better error message for such cases.

Meanwhile this also paves the road for something like
https://github.com/NixOS/nixpkgs/issues/256788
2023-10-02 22:01:43 +02:00
Ryan Lahfa
bd522b0787
Merge pull request #251567 from RaitoBezarius/codeowner/remove-matthewbauer 2023-09-21 13:02:40 +02:00
Pol Dellaiera
b36ad2f517
php: add new builder buildComposerProject 2023-09-13 15:00:03 +02:00
Herwig Hochleitner
30bcc6c39d
Merge pull request #248310 from emilylange/nixos/gitea-forgejo-split
nixos/forgejo: fork from nixos/gitea (split)

close https://github.com/NixOS/nixpkgs/issues/244866
2023-09-12 22:10:01 +02:00
Silvan Mosberger
437d00dde3 workflows/check-by-name: Make runnable without approval
Co-Authored-By: zowoq <59103226+zowoq@users.noreply.github.com>
2023-09-11 14:27:42 +02:00
dependabot[bot]
9a70b1e242 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 13:55:35 +02:00
Martin Weinelt
240cbdc845
Merge pull request #253249 from NixOS/dependabot/github_actions/cachix/install-nix-action-23
build(deps): bump cachix/install-nix-action from 22 to 23
2023-09-11 09:06:52 +02:00
Silvan Mosberger
5433e5b1e7
Merge pull request #253621 from tweag/minor-contrib-docs-improvements
Minor contrib docs improvements
2023-09-07 05:21:59 +02:00
Silvan Mosberger
6d95b1aebb workflows/backport: Fix link and reword 2023-09-06 20:12:48 +02:00
Samuel Dionne-Riel
16d640c810 CODEOWNERS: Add myself for installer images 2023-09-06 14:09:03 -04:00
dependabot[bot]
1d179cbc67
build(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 14:26:48 +00:00
Silvan Mosberger
ad61076624
Merge pull request #237439 from tweag/spp-1
[RFC 140] Simple package paths, part 1b: Enabling the directory structure
2023-09-05 16:25:27 +02:00
Silvan Mosberger
f6467c3574 pkgs/by-name: Introduce
This introduces the `pkgs/by-name` directory as proposed by RFC 140.
Included are:
- The implementation to add packages defined in that directory to the
  top-level package scope
- Contributer documentation on how to add packages to it
- A GitHub Actions workflow to check the structure of it on all PRs
2023-09-05 16:10:50 +02:00
Silvan Mosberger
d66929b7b1
Merge pull request #245623 from tweag/fileset.toSource
File set combinators base: `lib.fileset.toSource`
2023-09-02 04:07:02 +02:00
Silvan Mosberger
465e05c0c5 lib.fileset.toSource: init 2023-09-01 15:46:04 +02:00
zowoq
76ae447f06 .github/workflows/update-terraform-providers.yml: re-enable workflow_dispatch 2023-09-01 12:35:23 +10:00
zowoq
926db2b144 .github/workflows/update-terraform-providers.yml: disable 2023-09-01 11:16:27 +10:00