-
Notifications
You must be signed in to change notification settings - Fork 981
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
Fix/export case insensitive #8585
Fix/export case insensitive #8585
Conversation
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.
LGTM!
The test error is not related to this PR I think:
|
conans/client/file_copier.py
Outdated
@@ -145,6 +145,8 @@ def _filter_files(src, pattern, links, excludes, ignore_case, excluded_folders): | |||
relative_path = os.path.relpath(root, src) | |||
compare_relative_path = relative_path.lower() if ignore_case else relative_path | |||
for exclude in excludes: | |||
if ignore_case: | |||
exclude = exclude.lower() |
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.
at line 121 it does the same.
exclude = exclude.lower() | |
exclude = exclude.lower() |
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.
good point. But need to remove the 2 lines.
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.
The user reporting (#8583) was upgrading to Conan 1.31
. Do we want to backport this bugfix to previous releases?
* export was case sensitive * add more checks * fixing tests * fixing more tests * removed repeated code * removed repeated code
* export was case sensitive * add more checks * fixing tests * fixing more tests * removed repeated code * removed repeated code Co-authored-by: James <[email protected]>
Changelog: Fix: Restoring the behavior that
exports
andexports_sources
were case sensitive by default.Docs: Omit
Close #8583
It is possible that this might be breaking, lets see.
#tags: slow