Comments (4)
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.
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.
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.
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)
- Release canditate version resolution incorrect after two digits HOT 3
- Retire a package completely? HOT 3
- Full remove a package from hex.pm HOT 2
- [feature request] Sort `mix hex.outdated` output by status in default output HOT 4
- rebar3_auto - the package in HEX contains module which does not exist in the rebar3_auto repository HOT 1
- Error: Lock is missing HOT 2
- Bundled CA certs are not working now
- Fail to load function 'Elixir.Hex.Netrc.Cache':fetch/1: op make_fun2 u: on Erlang/OTP 27 rc.1
- Publish New Release for Updated CA-Bundle HOT 4
- Bug on dependency resolution for package published on 2/29 HOT 1
- Internal server error when attempting to publish package HOT 1
- mix hex.outdated --ignore <lib> HOT 2
- How to generate a fingerprint for public_key? HOT 5
- Suggesstion: Show readme file content on package page HOT 1
- Build .hex/cache.ets file offline for secure build applications HOT 6
- hex dependency resolution shows order dependent behaviour? HOT 1
- Crash during Mix.install([:jason]) HOT 4
- Installing github dependencies broken on main HOT 5
- Could not install Rebar because Mix could not download metadata HOT 1
- Dependency Resolution behaves differently under OTP-26 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hex.