Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Sync fails if path leading to remoteDir doesn't already exist #49

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

Russtopia
Copy link

@Russtopia Russtopia commented Jun 16, 2020

I just noticed that setting up sync on a new Environment requires going in first with coder sh to create intermediate subdirs of the desired remote path. This patch makes that unnecessary, automatically creating the remote path if not already existent.

Copy link
Member

@ammario ammario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean

@Russtopia Russtopia force-pushed the 48-sync-create-remote-path branch from 92f3c77 to 72eff15 Compare June 19, 2020 19:47
@Russtopia Russtopia requested review from scsmithr and ammario June 19, 2020 19:49
@Russtopia Russtopia merged commit fe97a29 into master Jun 19, 2020
@Russtopia Russtopia deleted the 48-sync-create-remote-path branch June 19, 2020 23:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coder sync fails if all dirs leading to sync remoteDir don't already exist
3 participants