-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Labels
Description
A brand new Mix project would trigger these warnings when executing mix hex.build
:
** (Mix) Stopping package build due to errors.
Missing metadata fields: description, licenses, links
It is very easy to make the build pass by giving these "zero" values:
package: [
licenses: [],
links: %{},
description: ""
]
which makes me think, should we either:
- add basic validations, licenses/links are non-empty lists, description is non-empty string
- make the "zero" values the defaults
- like 2, except empty licenses trigger a warning (https://github.com/hexpm/hex/pull/915/files#diff-06919f8ea819ec0528faa886d5f8ef7ff61d8564b9743a41d37636e286906c1bR199)
I think option 3 is the most appropriate. Thoughts?