QuestJS icon indicating copy to clipboard operation
QuestJS copied to clipboard

Error when attempting to clone the wiki in GitHub Desktop for Windows

Open KVonGit opened this issue 1 year ago • 8 comments

image

KVonGit avatar Nov 23 '24 19:11 KVonGit

It works using git in WSL, though.

kv@DESKTOP-FOOBAR2:/mnt/c/Users/kv/Documents/GitHub/QuestJS.wiki$ git clone https://github.com/ThePix/QuestJS.wiki.git
Cloning into 'QuestJS.wiki'...
remote: Enumerating objects: 7703, done.
remote: Total 7703 (delta 0), reused 0 (delta 0), pack-reused 7703 (from 1)
Receiving objects: 100% (7703/7703), 1.70 MiB | 1.81 MiB/s, done.
Resolving deltas: 100% (4863/4863), done.

So, I'd bet it's a filename issue with Windows.

KVonGit avatar Nov 23 '24 19:11 KVonGit

Can't have : in a Windows filename. That looks like the issue.

image


image

KVonGit avatar Nov 23 '24 19:11 KVonGit

I have renamed all the files and attached a ZIP of the entire wiki.

QuestJS.wiki.zip

KVonGit avatar Nov 23 '24 20:11 KVonGit

have you submitted a pull request for this?

Woodhouse3D avatar Nov 26 '24 14:11 Woodhouse3D

Can we do that? Create a PR for the wiki?

I never even considered that, haha, but I sent a message to ThePix.

I just noticed I missed a file, too. Windows can't rename it without using WSL, even after it's downloaded in the zip. I'll fix that and upload it.

KVonGit avatar Nov 26 '24 20:11 KVonGit

QuestJS.wiki.windows-safe-names.zip


Rereading this:

Can we do that? Create a PR for the wiki?

I never even considered that, haha, but I sent a message to ThePix.

I see how it could be taken like I was being sarcastic, but I wasn't. :) I really didn't even think about it.

TextMisadventures avatar Nov 27 '24 22:11 TextMisadventures

I have gone through the Wiki and changed the filenames, and hopefully the links too. Could people check it now works when you download and also report any links that do not work.

ThePix avatar Dec 06 '24 09:12 ThePix

? is an issue when I try now.


Just found this:

https://docs.github.com/en/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages#about-wiki-filenames

Don't use the following characters in your wiki page's titles: \ / : * ? " < > |. Users on certain operating systems won't be able to work with filenames containing these characters.

KVonGit avatar Dec 06 '24 23:12 KVonGit