Skip to content

feat: support "~" (home) at the start of sync path#2384

Merged
FabianKramm merged 1 commit intodevspace-sh:mainfrom
matskiv:support-tilde-in-sync-path
Oct 24, 2022
Merged

feat: support "~" (home) at the start of sync path#2384
FabianKramm merged 1 commit intodevspace-sh:mainfrom
matskiv:support-tilde-in-sync-path

Conversation

@matskiv
Copy link
Copy Markdown
Contributor

@matskiv matskiv commented Oct 20, 2022

What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Allows users to use the tilde ~ to refer to their home directory in sync path, e.g.:

    sync:
    - path: ~/.m2/settings.xml:./bindings/maven/settings.xml
      file: true

Please provide a short message that should be published in the DevSpace release notes
Added support for the tilde ~ to refer to the home directory in the sync path.

What else do we need to know?
I am surprised that this was not implemented before. Maybe there is a good reason for not supporting this?

@FabianKramm FabianKramm merged commit 2949b02 into devspace-sh:main Oct 24, 2022
@matskiv matskiv deleted the support-tilde-in-sync-path branch October 24, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants