-
Notifications
You must be signed in to change notification settings - Fork 709
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
Add module name validation in cabal check command #10816
Conversation
27d9dac
to
e640ed5
Compare
012452d
to
3824275
Compare
3824275
to
c404296
Compare
cabal-testsuite/PackageTests/Check/InvalidModuleName/cabal.test.hs
Outdated
Show resolved
Hide resolved
Thanks for your comments so far, much appreciated. Just let me know how you prefer things to be structured and I will adapt the PR. |
Thanks for the PR! I promise tomorrow (or WE at worst) I will take a thorough look instead of poking bits of it. |
cabal-testsuite/PackageTests/Check/InvalidModuleName/cabal.test.hs
Outdated
Show resolved
Hide resolved
c404296
to
5029e1d
Compare
I have modified the test like you suggested.
I don't agree with the change to |
Thanks, I appreciate! |
@ffaf1 Can we merge this patch? |
We need one more review! Let me readd the label, it should hopefully bring more eyes to this (by popping up on matrix again, that is)! |
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.
Stellar!
This change ensures that Cabal warns about modules with names that would cause portability issues, especially on Windows systems where certain names like "aux", "con", "nul", etc. are reserved by the operating system. Fixes #10295
5029e1d
to
faa3c6a
Compare
This change ensures that Cabal warns about modules with names that would cause portability issues, especially on Windows systems where certain names like "aux", "con", "nul", etc. are reserved by the operating system.
Fixes #10295
Please read Github PR Conventions and then fill in one of these two templates.
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significant
in the changelog file.Template B: This PR does not modify behaviour or interface
E.g. the PR only touches documentation or tests, does refactorings, etc.
Include the following checklist in your PR: