-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
1703: Introducing MapExtensionToUnknown MappingTarget #1889
Conversation
This reverts commit 74d7a34.
Please I need guidance on what to do with the failing regression test for resolv.conf. Is the test valid anymore without the explicit mapping, can it be remove, or what can we do to fix the failing test? |
The failing test is a real failure. You can reproduce it locally like this: Step-by-step: Expected: Actual: Not sure why, you'll have to debug it :) But, I would expect us to have to split up
Something like that. Thanks again for taking a shot at solving this in a generic way! |
After thinking about it some more, |
Thank you for the guidance and patience. I look forward to giving this another shot. |
I found out where the issue was in the regression tests. Pushing up a fix now. |
…_extension_syntax intact under its new name
Not quite there yet. Will continue to investigate. |
In case it helps, here are the commands I personally use to simulate our CI pipeline. Regular tests:
Syntax regression tests:
If the above commands pass locally, you can be pretty sure that our CI pipeline in GitHub Actions will also pass. |
That helps greatly. Thank you. Going to take some time to better understand the code and attempt again this weekend. |
…c *.conf support using MapExtensionToUnknown
The comments for the get_syntax_for_path, the guidance on the desired order, and the knowledge on how to run the regression tests like the CI locally really helped. Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your continued work on this! Getting better and better each time.
Pushed. |
I ran regression tests but not integration tests locally this pass. Need to resolve the single failing integration test. |
I have the integration tests passing locally but now a different set of regression tests are failing. The Ignored suffixes regression tests are failing. I am going to push what I have so far. To get more eyes on where I am at. |
I have good news. I was able to get the regression and integration tests to pass locally. Now I will be pushing up the latest changes. |
Thanks for the updates. Just wanted to let you know that I have noticed your review request. Might take a while before I find the time to do a detailed review, however. I glanced it over, and on a high level it looks good. But I think we can polish the new if-case code some more. While waiting for review, feel free to fix the lint warnings that clippy (the Rust linter) finds. You can see the lints in the "Files changed" tab in the PR. |
Pushed changes to address issues found by linter. |
Regression and integration tests pass locally. Pushing up now. |
Pushed latest changes. Please feel free to update documentation, test, or changelog as needed. This was a fun problem to work on. Thank you for all the time! Please do not forget PR #1882 I'd be happy to make any changes needed there after this PR has been merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some final adjustments in a commit of my own since I figured that would be easier than commenting. Do you think the changes look ok?
In any case, I consider this code Approved now! 🎉 Thanks a lot for all the help!
I will let this PR remain open for some time to give other maintainers a chance to look at it before it is merged.
@sharkdp @keith-hall I plan to (squash and) merge this early next week. Let me know if you would like more time to look at it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work - thank you very much to everyone involved.
Resolves #1703