-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BUG] - whole path name is included when specifying a file with a target #158
Comments
If I add a |
Hey @ekarious thanks for reporting this and sorry for the very late response. |
Had a quick look and found a few issues: Unused fieldIn your example you have the field Currently punktf will only return an error about unused/unknown variables if they are on the This is a bug and i will fix it. RenameI don't if your example is representative of your actual profile, but if it is, i would suggest to actually use target: "C:\\Users\\Yann\\Desktop\\test_dotfiles"
dotfiles:
- path: windows/alacritty.toml
rename: "alacritty.toml"
template: false This should deploy the file to the default profile.target with the name/relative path Overwrite TargetWhile looking through the code for the path resolution, i also noticed that even if you would have used After i implement all these changes your given example should almost work in the way you described/expected it to work. target: "C:\\Users\\Yann\\Desktop\\test_dotfiles"
dotfiles:
- path: windows/alacritty.toml
target: "C:\\Users\\Yann\\Desktop\\test_dotfiles\\alacritty.toml"
template: false Thank you very much for the feedback/report 😄 |
I will keep you updated but it might take a few days for me to implement all of that |
Thank you very much for the response. |
Describe the bug
Bug to the path of uploaded files
To Reproduce
When You have a structure like this:
and
windows.yaml
file like this:The problem is the file is sent to this path:
The
windows
in the path should not be included.Expected behavior
This should be the correct path:
Desktop (please complete the following information):
Additional Infos
I have set the Env Variable:
PUNKTF_SOURCE = C:\Users\Yann\.dotfiles
The text was updated successfully, but these errors were encountered: