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

Clone step breaking on windows #6

Open
zleyyij opened this issue May 25, 2024 · 3 comments
Open

Clone step breaking on windows #6

zleyyij opened this issue May 25, 2024 · 3 comments
Labels

Comments

@zleyyij
Copy link
Contributor

zleyyij commented May 25, 2024

Background

When attempting to start a fresh build of the backend, it fails with the below logs:

[2024-05-25T16:05:51Z INFO  rts_cms_backend::git] No repo detected, cloning "https://github.com/r-Techsupport/rTS_Wiki.git"...
Error: invalid reference name 'refs/remotes/origin/278-replace-warning-at-top-of-install-10|11-with-callout'; class=Invalid (3)

I checked MacOS and WSL, and the clone succeeded without issue. I tried using my personal .github.io repo, and it was able to clone that without issue.

Workaround

Until this issue is fixed, development on windows can continue by manually cloning the wiki into a repo folder (via git CLI (untested) or by running the backend by WSL once (tested)).

@zleyyij zleyyij added the backend Rust label May 25, 2024
@zleyyij
Copy link
Contributor Author

zleyyij commented May 26, 2024

libgit2/libgit2#3053
possibly relevant

@zleyyij
Copy link
Contributor Author

zleyyij commented Jul 1, 2024

This only seems to occur with longer paths

@Boxersteavee
Copy link
Contributor

Is it related to the windows path limit?

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

No branches or pull requests

2 participants