Repository navigation
Tidy 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! :) |
|
📌 Commit da1c858 has been approved by |
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 -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |


fixes #7133