-
-
Notifications
You must be signed in to change notification settings - Fork 226
fix: settings dir with deduplicated copier subdir #2071
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
Conversation
platformdirs implicitely sets appauthor to appname if not explicitely set to false, resulting in an dir with <CONFIG_ROOT>/copier/copier
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! Could you add a test (that only runs on Windows of course)?
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, thanks for the update 🙂
Co-authored-by: Sigurd Spieckermann <[email protected]>
|
@sisp ok, should be ready for review now. The added test and mypy passed locally. There were some failures on the test suite but they seem unrelated to my changes? |
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! 🎉 Just some minor remarks, and Ruff and Prettier will want to reformat a little, but we can leave this to the autofix action.
Co-authored-by: Sigurd Spieckermann <[email protected]>
Co-authored-by: Sigurd Spieckermann <[email protected]>
Thanks for the guidance, I quite learned something with this small contribution. I assume you will merge with a proper commit message for the changelog generation? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2071 +/- ##
==========================================
- Coverage 98.14% 97.91% -0.24%
==========================================
Files 54 54
Lines 5881 5896 +15
==========================================
+ Hits 5772 5773 +1
- Misses 109 123 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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! 🎉 Thanks for identifying and fixing this bug, @roteiro! 🙏
platformdirs implicitely sets appauthor to appname if not explicitely set to false, resulting in an dir with <CONFIG_ROOT>/copier/copier
Closes #2070