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 upReport an error if a package has duplicates allowed but there are no duplicates #19306
Labels
Comments
|
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
|
I will do this. @highfive : assign me |
|
Hey @m-novikov! Thanks for your interest in working on this issue. It's now assigned to you! |
m-novikov
added a commit
to m-novikov/servo
that referenced
this issue
Nov 21, 2017
… duplicates Resolves: servo#19306
m-novikov
added a commit
to m-novikov/servo
that referenced
this issue
Nov 21, 2017
… duplicates Resolves: servo#19306
m-novikov
added a commit
to m-novikov/servo
that referenced
this issue
Nov 21, 2017
… duplicates Resolves: servo#19306
m-novikov
added a commit
to m-novikov/servo
that referenced
this issue
Nov 21, 2017
… duplicates Resolves: servo#19306
bors-servo
added a commit
that referenced
this issue
Nov 22, 2017
Report an errror if a package has duplicates allowed but there are no duplicates Resolves: #19306 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #19306 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19325) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In servo-tidy.toml there is a
[ignore]section that lists package names that are allowed to have duplicate versions in Cargo.lock. However, when we remove the duplicate versions, sometimes we forget to remove the packages from the list of allowed exceptions. We should make./mach test-tidyreport an error if there is a package listed under[ignore]which only has a single version present.Code:
servo/python/tidy/servo_tidy/tidy.py
Lines 317 to 369 in 4d27ce0
Test: add a new test similar to this one and run them with
./mach test-tidy --self