Commit Graph

816 Commits

Author SHA1 Message Date
Silvan Mosberger
1f0b359712
Enforce nixfmt on new files and changed files that were already formatted (#326407)
* workflows/check-nix-format: Enforce nixfmt on new/changed files

This makes the Nix format workflow check new/changed files instead of
just an allowlist.

This enforces that all PRs updated after this is merged are required to
have fully standard formatted Nix files!

* workflows/check-nix-format: determine changed files via base commit

The next commit will use this to have a simpler change

* workflows/check-nix-format: Only ensure for already formatted files

This prevents situations where contributors need to suddenly format a
huge file even if they only changed a small part of it (e.g.
all-packages.nix)
2024-07-23 15:03:15 -04:00
Silvan Mosberger
99069476ca Partially revert "build(deps): bump cachix/install-nix-action from 26 to 27"
This partially reverts commit ab7becf047.

The pkgs/by-name check doesn't work for newer Nix versions yet,
see https://github.com/NixOS/nixpkgs-check-by-name/issues/78
2024-07-23 17:35:28 +02:00
dependabot[bot]
ab7becf047
build(deps): bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](8887e596b4...ba0dd844c9)

---
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>
2024-07-22 20:04:12 +00:00
Robert Hensing
88043e30f5
Merge pull request #328567 from tie/labeler-build-support-testers
.github/labeler.yml: add pkgs/build-support/testers/**
2024-07-20 21:22:13 +02:00
Ivan Trubach
ee12a84c70 .github/labeler.yml: add pkgs/build-support/testers/** 2024-07-20 04:41:16 +03:00
Adam Stephens
58111a1c3b
CODEOWNERS: remove migrated lxc path 2024-07-19 08:40:51 -04:00
Thomas Gerbet
7a44a7b081 ci: add the security team to the codeowners of the ci/ directory
Given its content is used in items already code-owned by the security
team it should have the same level of scrutiny.
2024-07-15 17:12:33 +02:00
Artturin
4564dfe772
Merge pull request #322157 from NixOS/dependabot/github_actions/peter-evans/create-pull-request-6.1.0
build(deps): bump peter-evans/create-pull-request from 6.0.4 to 6.1.0
2024-07-12 22:28:47 +03:00
Artturin
cd538b4b84
Merge pull request #316876 from NixOS/dependabot/github_actions/korthout/backport-action-3.0.2
build(deps): bump korthout/backport-action from 2.5.0 to 3.0.2
2024-07-12 22:11:26 +03:00
Silvan Mosberger
c94140085c
Merge pull request #322650 from tweag/direnv
Direnv support
2024-07-08 19:25:26 +02:00
Tristan Ross
7d372b76e5
Merge pull request #324963 from ExpidusOS/feat/labeler
github: add flutter label, fix llvm/clang label
2024-07-08 07:23:12 -07:00
Anderson Torres
a87228b7c6 .github/labeler.yml: update Emacs labeler
Because the directories were moved.
2024-07-06 09:41:13 -03:00
Tristan Ross
f7c3324114
github: add flutter label 2024-07-05 22:07:31 -07:00
Tristan Ross
9934f2c35e
github: fix llvm/clang label 2024-07-05 22:05:20 -07:00
éclairevoyant
1c9d41d25b
Merge pull request #317261 from arianvp/add-nixos-acme
CODEOWNERS: add @NixOS/acme
2024-07-06 01:56:51 +00:00
Silvan Mosberger
d2a6a829ad
Merge pull request #323216 from tweag/github-status
workflows/check-by-name: link to githubstatus
2024-07-05 02:13:13 +02:00
Silvan Mosberger
435f0daf18 workflows/check-by-name: link to githubstatus
Co-authored-by: Philip Taron <philip.taron@gmail.com>
2024-07-05 02:10:47 +02:00
natsukium
f5d926d4a7
CODEOWNERS: add natsukium to python stuff 2024-07-03 01:35:13 +09:00
Lily Foster
b8cbdee734 codeowners: remove lilyinstarlight 2024-07-02 03:17:01 +02:00
ckie
7d34b64eca maintainers: remove ckie
well, we failed. we have not saved nix together[0], and today's show of
utter incompetence[1] has pushed me over the edge along with many others[2]

it's been good. a lot of PRs. a lot of endless reviews.
some new friends, some old friends converted :P

cya in the next world, cuties <3

[0] https://save-nix-together.org/
[1] https://discourse.nixos.org/t/nca-member-jonringer-joint-announcement/48231
[2] https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3A+maintainer-list+%28update%29%22+remove+in%3Atitle+created%3A%3C2024-07-10
2024-07-02 02:40:02 +02:00
Janik H.
76cd1d2211 maintainers: drop janik
I guess my time has come as well...

With this commit, I'm not just dropping my maintainer entry, but I'm also
resigning from my duties as a board observer and NixCon project lead.
I also terminated my Summer of Nix contract today.
I'll also stop hosting the local NixOS meetup.

The only "project" I'll finish under the NixOS Foundation umbrella is
Google Summer of Code because the mentees aren't even remotely
responsible for why I'm leaving, and it would be unfair to leave them
hanging.

I'm grateful for all the things I was able to learn, for all the experiences
I could gather, and for all the friends I made along the way.
NixOS is what makes computers bearable for me, so I'll go and work on
some fork (*something something* you always meet twice in life).
2024-07-02 02:36:42 +02:00
Weijia Wang
b10c573212 workflows: remove 23.11 merges 2024-06-30 22:24:44 +02:00
Silvan Mosberger
f0160baa7a .envrc: init for new shell.nix
https://direnv.net/ support!
2024-06-30 00:02:36 +02:00
dependabot[bot]
d14441cfe1
build(deps): bump actions/checkout from 4.1.5 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...692973e3d9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-29 22:01:52 +00:00
Silvan Mosberger
81a775210c
Merge pull request #322512 from tweag/pinned-nixfmt
Development shell with a pinned nixfmt
2024-06-30 00:00:51 +02:00
éclairevoyant
a90e61f9c5
CODEOWNERS: add corngood to dotnet paths 2024-06-29 03:09:57 -04:00
éclairevoyant
71e728d3b8
maintainers: remove ivar 2024-06-29 03:09:10 -04:00
éclairevoyant
831527daf0
CODEOWNERS: remove samueldr 2024-06-28 15:26:09 -04:00
Silvan Mosberger
58f98e4b1b CODEOWNERS: set myself as code owner of workflows/check-nix-format 2024-06-26 16:16:51 +02:00
Silvan Mosberger
d0bebb7d6b workflows/check-nix-format: strip newline from file listings
Otherwise it prints the command to run with an empty entry:

  nixfmt '<stuff>' ''

Thanks to https://yaml-multiline.info/ for the great help with this
2024-06-26 16:16:51 +02:00
Silvan Mosberger
53b517c685 workflows/check-nix-format: show command to fix
When some files are not formatted properly, this shows how people can
fix the problem.

This notably uses the shell.nix introduced in the parent commit to
ensure that the nixfmt version matches what CI expects.
2024-06-26 16:16:51 +02:00
Silvan Mosberger
a70ab58960 root: shell.nix for nixfmt
This uses the reusable pinned Nixpkgs from the parent commit to create a
shell.nix file for an environment with a pinned nixfmt version.
2024-06-26 16:16:44 +02:00
Silvan Mosberger
b33ac05d04 ci: reusable Nix format Nixpkgs pin
This is needed such that in the next commit, we can re-use the same
version from a shell.nix, allowing people to have a guaranteed matching
nixfmt version.
2024-06-26 16:06:49 +02:00
Silvan Mosberger
13599930cb ci: init directory
This creates a new directory for all CI support files, will be populated
in future commits.
2024-06-26 16:04:43 +02:00
zowoq
4d6e0b8ca3 CODEOWNERS: add katexochen to golang 2024-06-26 17:35:45 +10:00
Paul Meyer
56661d09f2 CODEOWNERS: remove jonringer
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-25 08:54:00 +02:00
Janne Heß
823f3a7ade
CODEOWNERS: remove dasj from multiple locations (#322162) 2024-06-24 19:47:43 +02:00
dependabot[bot]
081d50c0a3
build(deps): bump peter-evans/create-pull-request from 6.0.4 to 6.1.0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.4 to 6.1.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](9153d834b6...c5a7806660)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 11:54:42 +00:00
Raito Bezarius
bf7ddf86e4 nix: remove myself from "code ownership" and 2.3 maintenance
I have no further plan to review CppNix code anymore as I will dedicate
myself to Lix development.

Co-authored-by: aleksana <me@aleksana.moe>
2024-06-22 02:49:13 +08:00
Tristan Ross
fa0e261a22
CODEOWNERS: add RossComputerGuy for Flutter, ExpidusOS, LLVM, SELinux, Zip, and GNU Tar 2024-06-20 08:14:31 -07:00
superherointj
22a9feb385 github/workflows/check-nix-format: add maintainers files 2024-06-17 21:59:36 -03:00
Thomas Gerbet
3d288ae185
Merge pull request #319371 from risicle/ris-check-cherry-picks-ignore-staging-next
check-cherry-picks workflow: don't run for staging-next PRs
2024-06-13 10:55:04 +02:00
Pol Dellaiera
5f4f0d0ff5
Merge pull request #316070 from ExpidusOS/feat/llvm-labels
github: add llvm/clang label
2024-06-13 09:48:03 +02:00
Robert Scott
2052033220 check-cherry-picks workflow: don't run for staging-next PRs 2024-06-12 21:07:03 +01:00
Sandro
5fd73d9854
.github/labeler.yml: add pnpm to nodejs 2024-06-06 15:37:26 +02:00
superherointj
e3a7460822
Merge pull request #316757 from superherointj/dotnet-label
github/labeler.yml: add dotnet label
2024-06-04 17:56:04 -03:00
Arian van Putten
0d7d3d60af CODEOWNERS: add @NixOS/acme
We would like to have the @NixOS/acme team assigned for review to changes of this module
2024-06-04 21:04:08 +02:00
Maximilian Bosch
7baa302736
nix: remove myself (ma27) from maintainer team
Using Lix now 🍦
2024-06-04 16:11:43 +02:00
dependabot[bot]
833049f882
build(deps): bump korthout/backport-action from 2.5.0 to 3.0.2
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.5.0 to 3.0.2.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](ef20d86abc...bd410d37cd)

---
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>
2024-06-03 11:08:55 +00:00
superherointj
81f218628b .github/labeler.yml: add dotnet label 2024-06-02 19:50:12 -03:00