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

support for "minDubVersion" recipe entry #1531

Closed
rtbo opened this issue Aug 18, 2018 · 2 comments
Closed

support for "minDubVersion" recipe entry #1531

rtbo opened this issue Aug 18, 2018 · 2 comments

Comments

@rtbo
Copy link
Contributor

rtbo commented Aug 18, 2018

Not all recipes may work with old dub versions. see #1450 or #1453.
Specifying the minimum required dub version in the json/sdl file allows meaningful error message instead of a build error the user would be unable to understand.

@dhasenan
Copy link

More ideally, dub would use semantic versioning for things like this, and dub.json would allow you to rely on a range of dub versions. Then dub would automatically download a compatible version of itself, just like regular dependencies, and invoke that.

That's a much bigger change, but we can at least lay the groundwork by using "dubVersion": "~>1.11.0" instead of "minDubVersion": "1.11.0".

@dhasenan
Copy link

Related: #1021

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