Skip to content
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

maintainers: remove null fields #36347

Merged
merged 1 commit into from Mar 5, 2018
Merged

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Mar 5, 2018

Motivation for this change

@peti noticed nix-env was emitting errors to stderr about invalid meta field maintainers. Turns out the structured PR from @Profpatsch added some null fields to the maintainer list, causing this problem. I fixed the only two null fields present, and nix-env now shows no errors.

See: f7da7fa#commitcomment-27930583

@grahamc
Copy link
Member Author

grahamc commented Mar 5, 2018

A follow-up fix to this should probably assert the structure of each maintainer is correct, with a minimum of name / github / email set to strings.

Copy link
Member

@vcunat vcunat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My script gets fixed by this commit ❤️

@Profpatsch
Copy link
Member

I thought I had manually removed all nulls, but those two slipped somehow. Anyway, great that it’s just nulls.

cc @peti

@grahamc grahamc merged commit bc6e650 into NixOS:master Mar 5, 2018
@grahamc grahamc deleted the fix-null-fields branch March 5, 2018 16:53
@peti
Copy link
Member

peti commented Mar 5, 2018

Thank you very much for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants