CODEOWNERS: add @NixOS/systemd for systemd files#164850
Conversation
|
Only adding (There is also #162044 that tries to remove non-committer users/teams from the file) |
Thanks for the suggestion. I incorrectly followed the one existing examples. Another vote for #162044 to clean things up and make sure there are no incorrect examples to pull from anymore 👍 I added the members of systemd as well. I kept the systemd team. I'll remove the systemd team once #162044 is merged. |
|
@NixOS/systemd now has write access to nixpkgs. Note that this solution is not scaleable to all the packages, but systemd plays a special role in the project. It would be nice to be able to replace CODEOWNERS to something that userstands nix maintainers. |
|
One member of the team didn't already have write access via Also see the note on the
|
|
@bobvanderlinden can you update this to only include the team and @kloenk directly? |
|
Not really a problem at the moment with only the one non-owner team with a few members but something to keep in mind is if someone is removed from |
|
Nice! The team having write access makes sense 👍 Makes the CODEOWNERS cleaner as well.
done 👍 |
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
@flokli any idea? Applied suggested changes |
This was a mistake and has been reverted since. |
|
Let's merge this in. It now only has the systemd team in codeowners, so no more errors. |
|
Would have been better if this had been just one commit rather than six. |
Description of changes
In response to review spam on #164016 and a follow-up conversation on Matrix https://matrix.to/#/#systemd:nixos.org
There is a team called @NixOS/systemd, but CODEOWNERS doesn't refer to this team. This results in PRs regarding systemd will add a reviewer unrelated to systemd to the PR.
This PR attempts to make @NixOS/systemd codeowner for all systemd-related files.
When #164016 is merged, this file needs to include
/nixos/modules/systemdinstead of/nixos/modules/systemd-*.The GitHub linter tells me @NixOS/systemd needs to have write access to nixpkgs. It seems
NixOS/darwin-maintainersis also in there with the same warning. Is this true to make automatic adding of reviewers work? If not, should @NixOS/systemd have write access to be able to merge systemd PRs?Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes