erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Handle bad metadata error messages #38

Closed tsloughter closed 5 years ago

tsloughter commented 8 years ago

Need to handle this and print a nice message:

{"init terminating in do_boot",{function_clause,[{rebar3_hex_pkg,errors_to_string,[#{<<"meta">>=>#{<<"links">>=><<"is invalid">>}}]
starbelly commented 5 years ago

@tsloughter This can be closed...

Publishing jb_private123 0.1.0-rc123 to hexpm
  Description: An OTP library
  Dependencies:

  Included files:
    /Users/starbelly/devel/erlang/jb_private123/LICENSE
    /Users/starbelly/devel/erlang/jb_private123/README.md
    /Users/starbelly/devel/erlang/jb_private123/rebar.config
    /Users/starbelly/devel/erlang/jb_private123/rebar.lock
    /Users/starbelly/devel/erlang/jb_private123/src/ehttpd.erl
    /Users/starbelly/devel/erlang/jb_private123/src/jb_private123.erl
  Licenses: Apache 2.0
  Links:
    Github: ht://doh!
  Build tools: rebar3
Be aware, you are publishing to the public Hexpm repository.
Before publishing, please read Hex CoC: https://hex.pm/policies/codeofconduct
Proceed? ("Y")> y
Local Password:
===> Failed to publish package: Validation error(s)
    meta: links: invalid link "ht://doh!"