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

dub.selections.json needs update for dmd 2.081.1 #14

Closed
veelo opened this issue Aug 3, 2018 · 2 comments
Closed

dub.selections.json needs update for dmd 2.081.1 #14

veelo opened this issue Aug 3, 2018 · 2 comments

Comments

@veelo
Copy link

veelo commented Aug 3, 2018

I fail to use scod with dmd 2.081.1, because it causes stdx-allocator to be compiled in the outdated version 2.77.1, presumably because scod's dub.selections.json pins ddox at version 0.16.10.

(Sorry for ranting OT, but I think dub.selections.json is very poorly documented, I don't understand its purpose and I understand even less the advantage of having it under version control. It's causing nothing but problems if you want to use a recent compiler... But that's not your fault.)

@MartinNowak
Copy link
Owner

MartinNowak commented Aug 15, 2018

(Sorry for ranting OT, but I think dub.selections.json is very poorly documented, I don't understand its purpose and I understand even less the advantage of having it under version control. It's causing nothing but problems if you want to use a recent compiler... But that's not your fault.)

It's used to lock dependencies to exact versions so you are able to rebuild binaries.
Might be worth an experiment to keep scod's dependencies a bit looser, by only using the fuzzy version dependencies.

On the downside it means that people using the same version of scod might be affected by different bugs in dependencies, so bug reporting gets more troublesome.

@MartinNowak
Copy link
Owner

Resolved by #16

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