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

jesse 1.5.4 hex package published incorrectly? #88

Closed
nalundgaard opened this issue Apr 6, 2020 · 5 comments
Closed

jesse 1.5.4 hex package published incorrectly? #88

nalundgaard opened this issue Apr 6, 2020 · 5 comments

Comments

@nalundgaard
Copy link
Contributor

Hi, I am looking at https://hex.pm/packages/jesse/1.5.4 and it says there are 0 dependencies:

Screen Shot 2020-04-06 at 16 23 39

I'm not sure what flaw caused this to be published as such, but it should display both jsx and rfc3339 (example: https://hex.pm/packages/erlcloud/3.2.18). Is there a chance that it was published with an outdated version of rebar3?

@seriyps
Copy link
Collaborator

seriyps commented Apr 6, 2020

Oh, that's weird..
Looking at https://diff.hex.pm/diff/jesse/1.4.0..1.5.4 I can see that they are mentioned in rebar.lock , but not in hex_metadata.config.

I use rebar3 3.13.0 and it's pretty much fresh version.

Does this cause any problems?

@seriyps
Copy link
Collaborator

seriyps commented Apr 6, 2020

Tried to run hex publish again:

$ rebar3 hex publish
===> Verifying dependencies...
Publishing jesse 1.5.4 to hexpm
  Description: jesse (JSon Schema Erlang) is an implementation of a JSON Schema validator for Erlang.
  Dependencies:
    
  Included files:
    LICENSE
    NOTICE
    README.md
    rebar.config
    rebar.lock
    src/jesse.app.src
    src/jesse.erl
    src/jesse_cli.erl
    src/jesse_database.erl
    src/jesse_error.erl
    src/jesse_json_path.erl
    src/jesse_lib.erl
    src/jesse_schema_validator.erl
    src/jesse_schema_validator.hrl
    src/jesse_state.erl
    src/jesse_tests_util.erl
    src/jesse_validator_draft3.erl
    src/jesse_validator_draft4.erl
  Licenses: Apache 2.0
  Links:
    Github: https://github.com/for-GET/jesse
  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")> 

it shows "dependencies" as empty.... That's weird... Can you try to run rebar3 hex publish? What does it show?

@seriyps
Copy link
Collaborator

seriyps commented Apr 10, 2020

So far it looks like rebar3_hex bug. I reported it upstream.

seriyps added a commit that referenced this issue Apr 10, 2020
@seriyps
Copy link
Collaborator

seriyps commented Apr 10, 2020

Ok, I published 1.5.5. It looks correct.

@nalundgaard
Copy link
Contributor Author

Awesome, I concur. Thanks!

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

No branches or pull requests

2 participants