SrBrahma / GitHub-Repository-Manager

VS Code Extension to quickly clone, initialize and open your GitHub repositories
MIT License
31 stars 14 forks source link

GitHub Pages don't go to the list of repos cloned #21

Closed xCONFLiCTiONx closed 3 years ago

xCONFLiCTiONx commented 3 years ago

No matter how I go about it my GitHub Pages repo never goes to the list of cloned sites and if I click on it in the Not Cloned list then it says it's already cloned, if it's cloned already which is to be expected.

I love this extension though so I hope this gets fixed but it's not a deal breaker! :)

SrBrahma commented 3 years ago

Can you record a video of it so I can understand the issue better?

Thanks for the issue!

On ter, 2 de fev de 2021 10:59 xCONFLiCTiONx notifications@github.com wrote:

No matter how I go about it my GitHub Pages repo never goes to the list of cloned sites and if I click on it in the Not Cloned list then it says it's already cloned.

I love this extension though so I hope this gets fixed but it's not a deal breaker! :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SrBrahma/GitHub-Repository-Manager/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW7JDS4MTDN52BYQCVA2FTS5AANTANCNFSM4W6VX56Q .

xCONFLiCTiONx commented 3 years ago

I don't have the software or hardware for that but I'll do my best to explain a bit better.

I have cloned my GitHub Pages website repo 'xCONFLiCTiONx.github.io' as you can see in the screenshot but it isn't showing in the 'Cloned Repositories' section.

I have tried cloning through your extension and I've tried cloning from the terminal while closed and I've tried cloning from the terminal while opened to see if it would ever show and it never will.

The screenshot is just showing that it is indeed cloned and isn't showing in the 'Cloned Repositories' section.

Screenshot 2021-02-02 091907

SrBrahma commented 3 years ago

I see. Can you paste here the .git/config content? Also, what is your OS? Tomorrow I will also fork your project to test it here.

Edit: Maybe for Github Pages, the Github applies a custom .git/config that this extension isn't correctly reading. MAYYBEE the extension isn't allowing repos with dots in its name. Tomorrow I will investigate it properly.

Thanks for the repo star! :)

xCONFLiCTiONx commented 3 years ago

.git/config

[core]
    repositoryformatversion = 0
    filemode = false
    bare = false
    logallrefupdates = true
    symlinks = false
    ignorecase = true
[remote "origin"]
    url = https://github.com/xCONFLiCTiONx/xCONFLiCTiONx.github.io.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master

OS: Windows 10 x64 20H2 19042.746

Thanks for looking into this!

SrBrahma commented 3 years ago

Related commit: https://github.com/SrBrahma/GitHub-Repository-Manager/commit/d6aa48e44f480f078818e4b17f5ad184e96f60c1

Current: https://github.com/SrBrahma/GitHub-Repository-Manager/blob/master/src/utils/searchClonedRepos.ts

SrBrahma commented 3 years ago

Extension updated to 0.6.1 via https://github.com/SrBrahma/GitHub-Repository-Manager/commit/443f8f239f9516a3ec8514037c7250ef989aca93.

Be sure that the installed extension is now at version >=0.6.1 (look it at the extensions tab in your vscode) and tell me if it has been fixed for you!

xCONFLiCTiONx commented 3 years ago

It's fixed! Thank you! You're awesome dude! That was really fast!