-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add two simple checks from #1 #26
Conversation
explanations/maintainer-missing.md
Outdated
@@ -0,0 +1,3 @@ | |||
All packages ought to have a maintainer. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember seeing something describing what is expected of maintainers. Would be nice to link it here but cannot find it now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it was a discussion on discourse? That would be useful.
explanations/maintainer-missing.md
Outdated
@@ -0,0 +1,3 @@ | |||
All packages ought to have a maintainer. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need to add anchors to https://nixos.org/manual/nixpkgs/unstable/#sec-standard-meta-attributes so that we can link to the maintainers
field docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened NixOS/nixpkgs#112331.
a2ef123
to
ad4f3cb
Compare
Package is missing a license | ||
''; | ||
locations = [ | ||
(builtins.head (builtins.filter (l: l != null) [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The head
partiality gives me creeps 😆
ad4f3cb
to
c6d9e09
Compare
c6d9e09
to
e93c7d0
Compare
@@ -0,0 +1,3 @@ | |||
All packages ought to have a maintainer. | |||
|
|||
This can be the update submitter or a community member that accepts to take maintainership of the package. See [Section 7.1 of the Nixpkgs manual](https://nixos.org/manual/nixpkgs/unstable/#sec-standard-meta-attributes) for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I merged the PR so we will be able to link directly to https://nixos.org/manual/nixpkgs/unstable/#var-meta-maintainers once the manual is rebuilt.
e93c7d0
to
fcb8aa3
Compare
Clearly I need a nixpkgs-hammer for helping me make clean PRs to nixpkgs-hammer. Sorry for all the little nits, and thanks for reviewing so well :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
n.b. I think we could probably improve the wording of the explanations and the warning message.