Giter Club home page Giter Club logo

Comments (4)

ericmj avatar ericmj commented on August 23, 2024

It is not enough to put the version requirement in the metadata file. It needs to be in the registry so that we can access it during resolution. We also need to store it with the release as a new column in the database.

We already warn the user if the elixir requirement does not match for a dependency (Mix does this). The idea is to never resolve a package for which the requirement doesn't match. This can of course be overriden with override: true.

from hex.

jcspencer avatar jcspencer commented on August 23, 2024

If we're adding it to the registry will it be backwards compatible with older versions of Hex due to the ETS table structure?

If we never resolve a package, how much warning do we give to the user that this has occurred? Writing to stderr? Killing the process with an exit code >0?

from hex.

ericmj avatar ericmj commented on August 23, 2024

If we're adding it to the registry will it be backwards compatible with older versions of Hex due to the ETS table structure?

It will be backwards compatible.

If we never resolve a package, how much warning do we give to the user that this has occurred? Writing to stderr? Killing the process with an exit code >0?

We say that dependency resolution failed and exit.

from hex.

ericmj avatar ericmj commented on August 23, 2024

The client now includes the elixir version requirement in the metadata when publishing, there is still lots to do. I will continue to track this in #26.

from hex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.