-
Notifications
You must be signed in to change notification settings - Fork 187
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
mix hex.build: Revisit basic metadata validations #916
Comments
I like they way it works currently because it pushes you in the direction of filling in the information but if you don't really want to you can add the empty values. |
I think the links section is fine if empty, but we are warning (and soon will be raising for new packages) on missing licenses. The description does seem like something we'd want to pressure users into including. (none of this applies to private orgs.) If we do validate the description more deeply, how? ie. If I just add 1 character, is that enough? why or why not? |
Should we have different validation depending on if you are publishing to an organization or a public package? How would that work for |
Hi, I stumbled upon this issue when trying to build a package locally. The documentation for hex.build (https://hexdocs.pm/hex/Mix.Tasks.Hex.Build.html) suggests that the description, links and license are not required. The docs could be updated to reflect the fact that some values (even if empty) have to be provided for these keys. |
A brand new Mix project would trigger these warnings when executing
mix hex.build
:It is very easy to make the build pass by giving these "zero" values:
which makes me think, should we either:
I think option 3 is the most appropriate. Thoughts?
The text was updated successfully, but these errors were encountered: