rebar3_hex icon indicating copy to clipboard operation
rebar3_hex copied to clipboard

Code and hex.pm docs don't agree on "description" property.

Open deadtrickster opened this issue 3 years ago • 2 comments

The code mandates presence of "description" property.

quantile_estimator.app.src : missing or empty description property

hex.pm docs says this (https://hex.pm/docs/rebar3_publish):

Then fill in the description property. It should be a sentence, or a few sentences, describing the package. The description is optional but highly recommended.

I'm confused :sweat_smile:

deadtrickster avatar Apr 27 '21 07:04 deadtrickster

the doc is probably outdated.

ferd avatar Apr 27 '21 12:04 ferd

Confirming that, but we do need to make a change per what hexpm actually does : https://github.com/hexpm/hexpm/blob/952cbe30386a834c0ae758910766a5fa98f95316/lib/hexpm/repository/package_metadata.ex#L20

If the package is public, then and only then is description is required. I'll open a ticket for this.

starbelly avatar Apr 27 '21 13:04 starbelly