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

convert ~> versions to highest matching #989

Merged
merged 1 commit into from
Jan 6, 2016

Conversation

tsloughter
Copy link
Collaborator

This patch makes the dependency handler treat a fuzzy match like ~> 1.0.0 in the same way it handles a package with no version given (pick the highest) and when a package from hex contains the fuzzy match. Nothing else changes, simply what version is picked to be in the lock file is given more flexibility. This will also allow us to fully support hex publishing in rebar3_hex.

@ferd
Copy link
Collaborator

ferd commented Jan 4, 2016

+1

@ericmj
Copy link
Contributor

ericmj commented Jan 4, 2016

This will greatly help when rebar3 packages are used from elixir land. ❤️

@tsloughter
Copy link
Collaborator Author

Note that I still need to add support to rebar3_hex for users to be able to publish with ~> but will get that done soon.

tsloughter added a commit that referenced this pull request Jan 6, 2016
convert ~> versions to highest matching
@tsloughter tsloughter merged commit d5a601c into erlang:master Jan 6, 2016
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

Successfully merging this pull request may close these issues.

None yet

3 participants