Skip to content

Clone step breaking on windows #6

Closed

Description

@zleyyij

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)).

Activity

  1. zleyyij commented on May 26, 2024

    @zleyyij
    ContributorAuthor

    libgit2/libgit2#3053
    possibly relevant

  2. zleyyij commented on Jul 1, 2024

    @zleyyij
    ContributorAuthor

    This only seems to occur with longer paths

  3. bh08-net commented on Aug 23, 2024

    @bh08-net
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions