r-Techsupport / hyde

A web editor and CMS for Jekyll/git static sites.
GNU General Public License v3.0
3 stars 2 forks source link

Clone step breaking on windows #6

Open zleyyij opened 1 month ago

zleyyij commented 1 month ago

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 commented 1 month ago

https://github.com/libgit2/libgit2/issues/3053 possibly relevant

zleyyij commented 3 days ago

This only seems to occur with longer paths