Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTidy can now check for version conflicts... #7438
Conversation
|
NOTE: This doesn't work yet! While this sort of fixes what the issue suggests, tidy's current suggestions are quite unhelpful. For now, glutin demands "gl_generator 0.0.26" and hence, that command shouldn't have any effect. So, we gotta wait until glutin updates its Cargo.toml and once all the versions match, we shall include the |
|
Maybe it should just print which packages depend on the older version, if it has that information? Frequently the solution is to upgrade that intermediate package, or submit a patch to it. |
|
Update based on @mbrubeck's suggestion (/cc @larsbergstrom)... Again, this doesn't work yet! We have to include |
|
@wafflespeanut This looks fantastic! I'm really excited by this. Is the "expected maximum version" the largest number seen so far? So, if you had three versions of gl_generator at 0.0.24, 0.0.26, and 0.0.27, there would be two errors for the 0.0.24 and 0.0.26? In any case, I'm really happy with how this is coming out for preventing multiple conflicting packages from being brought in. cc @alexcrichton to show him the awesome. Reviewed 2 of 2 files at r1. Comments from the review on Reviewable.io |
|
Thanks. And yeah, there would be two errors on 0.0.24 and 0.0.26 :) |
|
So what's needed to land this? Also, so happy to see this! |
|
I'm hesitant to merge this code without it actually being called anywhere. Maybe we could just exceptions for the current cases that are broken and forbid any new ones from being added? |
|
Done! |
|
@bors-servo: r+ |
|
Thank you! :) |
|
|
Tidy can now check for version conflicts... fixes #7133 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7438) <!-- Reviewable:end -->
|
|


wafflespeanut commentedAug 28, 2015
fixes #7133