Skip to content
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

garden self-update painful on windows #5030

Closed
kroher opened this issue Sep 5, 2023 · 1 comment · Fixed by #5120
Closed

garden self-update painful on windows #5030

kroher opened this issue Sep 5, 2023 · 1 comment · Fixed by #5120
Assignees

Comments

@kroher
Copy link

kroher commented Sep 5, 2023

Bug

Current Behavior

When I run garden self-update in windows(usually running with a version), the next time i run garden it complains/errors

Path C:\Users\usrdir\.garden\bin\static is not in a git repository root. Garden must be run from within a git repo. Please run git init if you're starting a new project and repository, or move the project to an existing repository, and try again.

after i go into the directory and run git init garden works fine.

doesnt do this on macOs

Expected behavior

i shouldnt have to manually run git init in the user/.garden directory at all to start garden

Reproducible example

clean install of garden via installer on windows
garden dev and things stand up fine on vote
garden self-update 0.13.12
garden dev
error message

Your environment

windows 11
gke

0.12.63, 0.12.64, 0.13.12, 0.13.13

@vvagaytsev
Copy link
Collaborator

Thanks for reposting this @kroher!
This might have the same root cause as #2614.

We have a draft PR #4047 to solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants