phisko / kengine

Game engine with an Entity-Component-System (ECS) architecture. Focus on ease-of-use, runtime extensibility and compile-time type safety.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fail to clone recursive

SvenJo opened this issue · comments

commented

Please check the module path to putils.

I get Permission denied error, if I try to clone kengine recursive,

$ git clone --recurse-submodules https://github.com/phisko/kengine.git
Cloning into 'kengine'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 4620 (delta 9), reused 18 (delta 2), pack-reused 4574
Receiving objects: 100% (4620/4620), 12.64 MiB | 2.96 MiB/s, done.
Resolving deltas: 100% (2515/2515), done.
Submodule 'putils' (git@github.com:phisko/putils) registered for path 'putils'
Cloning into 'D:/src/kengine/putils'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:phisko/putils' into submodule path 'D:/src/kengine/putils' failed
Failed to clone 'putils'. Retry scheduled
Cloning into 'D:/src/kengine/putils'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:phisko/putils' into submodule path 'D:/src/kengine/putils' failed
Failed to clone 'putils' a second time, aborting

Regards.
Sven

The module path was not the issue, rather it was that the module uses SSH while you were cloning through HTTPS. I've changed the .gitmodules to support HTTPS and pushed the change to master. Please let me know if this fixes your issue.

commented

You should change the path to https://github.com/phisko/putils.git
...b.com:phisko/... vs ...bcom/phisko/

Error message:

$ git clone --recurse-submodules https://github.com/phisko/kengine.git
Cloning into 'kengine'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 4625 (delta 11), reused 23 (delta 4), pack-reused 4574
Receiving objects: 100% (4625/4625), 12.64 MiB | 4.91 MiB/s, done.
Resolving deltas: 100% (2517/2517), done.
Submodule 'putils' (https://github.com:phisko/putils) registered for path 'putils'
Cloning into 'D:/tmp/e/kengine/putils'...
fatal: unable to access 'https://github.com:phisko/putils/': Port number ended with 'p'
fatal: clone of 'https://github.com:phisko/putils' into submodule path 'D:/tmp/e/kengine/putils' failed
Failed to clone 'putils'. Retry scheduled
Cloning into 'D:/tmp/e/kengine/putils'...
fatal: unable to access 'https://github.com:phisko/putils/': Port number ended with 'p'
fatal: clone of 'https://github.com:phisko/putils' into submodule path 'D:/tmp/e/kengine/putils' failed
Failed to clone 'putils' a second time, aborting

Thanks for fast reponse,
Sven

Ah, my bad for doing quick fixes. I changed it, should be good now. I cannot test it ATM as I'm doing this on mobile. Again, let me know if the issue persists.

commented

Now the putils submodule is fixed, but the SMFL submodul in putils has the same problem:

$  git clone https://github.com/phisko/kengine.git --recurse-submodules 
Cloning into 'kengine'...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 4628 (delta 12), reused 23 (delta 4), pack-reused 4574
Receiving objects: 100% (4628/4628), 12.64 MiB | 1.42 MiB/s, done.
Resolving deltas: 100% (2518/2518), done.
Submodule 'putils' (https://github.com/phisko/putils.git) registered for path 'putils'
Cloning into '/home/sven/src/kengine/putils'...
remote: Enumerating objects: 6, done.        
remote: Counting objects: 100% (6/6), done.        
remote: Compressing objects: 100% (6/6), done.        
remote: Total 2968 (delta 2), reused 1 (delta 0), pack-reused 2962        
Receiving objects: 100% (2968/2968), 7.79 MiB | 2.47 MiB/s, done.
Resolving deltas: 100% (1634/1634), done.
Submodule path 'putils': checked out '986b0ec9cb3b4ba4f6a2dbda8343c5dc73000334'
Submodule 'pse/SFML' (https://github.com:phisko/SFML) registered for path 'putils/pse/SFML'
Cloning into '/home/sven/src/kengine/putils/pse/SFML'...
fatal: unable to access 'https://github.com:phisko/SFML/': Port number ended with 'p'
fatal: clone of 'https://github.com:phisko/SFML' into submodule path '/home/sven/src/kengine/putils/pse/SFML' failed
Failed to clone 'pse/SFML'. Retry scheduled
Cloning into '/home/sven/src/kengine/putils/pse/SFML'...
fatal: unable to access 'https://github.com:phisko/SFML/': Port number ended with 'p'
fatal: clone of 'https://github.com:phisko/SFML' into submodule path '/home/sven/src/kengine/putils/pse/SFML' failed
Failed to clone 'pse/SFML' a second time, aborting
Failed to recurse into submodule path 'putils'

Sorry,
Sven

No need to apologize, I'm really sorry for the inconvenience. I'm a bit embarrassed to have this happening right after a release.

The issue at this point is that I've updated the .gitmodules in putils, but haven't updated kengine to point to the latest version of putils. I can't do that until I get my hands on an actual git client, so it'll probably have to wait until the day after tomorrow. I'll let you know once it's fixed.

Should be good now.