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
Expand tilde #835
Expand tilde #835
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.
Let me know if some parts aren't clear and if you'd like that I add my comments directly in the code.
Codecov Report
@@ Coverage Diff @@
## master #835 +/- ##
==========================================
+ Coverage 96.68% 96.78% +0.09%
==========================================
Files 41 41
Lines 2986 3014 +28
==========================================
+ Hits 2887 2917 +30
+ Misses 99 97 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
OMG Windows is such a PITA to work with 🤨 I've added comments to the code to make it more clear. Ready for review. |
Tested locally: % poetry run copier ~/data/dev/copier-pdm output
<copier prompts and output>
% cd output
% cat .copier-answers.yml
# Changes here will be overwritten by Copier
_commit: 0.10.2
_src_path: /home/pawamoy/data/dev/copier-pdm
<rest of the file>
% sed -i 's#/home/pawamoy#~#' .copier-answers.yml
% git init .
% git add -A
% git commit -m initial
% cd ..
% poetry run copier -f update output
<copier output>
% cat output/.copier-answers.yml
# Changes here will be overwritten by Copier
_commit: 0.10.2
_src_path: ~/data/dev/copier-pdm
<rest of the file> Tilde preserved! |
Closes #825