Coder Social home page Coder Social logo

Can't clone the repository about turbo HOT 6 CLOSED

magiblot avatar magiblot commented on August 17, 2024
Can't clone the repository

from turbo.

Comments (6)

magiblot avatar magiblot commented on August 17, 2024

Hi @acgt1!

$ git clone --recursive https://github.com/magiblot/turbo.git
Cloning into 'turbo'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Mhm... this command should have worked.

Does it work if you try with gitlab.com instead of github.com?

git clone --recursive https://gitlab.com/magiblot/turbo.git

from turbo.

acgt1 avatar acgt1 commented on August 17, 2024

with gitlab it works perfectly :)

from turbo.

acgt1 avatar acgt1 commented on August 17, 2024

Now the submodules are being problematic, seems like they are against github too:

Example:
Submodule 'deps/fmt' (https://github.com/fmtlib/fmt) registered for path 'deps/fmt'
Submodule 'libclipboard' (https://github.com/jtanx/libclipboard.git) registered for path 'deps/libclipboard'
Submodule 'deps/tvision' (https://github.com/magiblot/tvision) registered for path 'deps/tvision'
Cloning into '~~~~~~turbo/deps/fmt'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

from turbo.

acgt1 avatar acgt1 commented on August 17, 2024

I offer to update .gitmodule and open them to the public:
[submodule "deps/tvision"]
path = deps/tvision
url = https://gitlab.com/magiblot/tvision
[submodule "deps/fmt"]
path = deps/fmt
url = https://gitlab.com/fmtlib/fmt
[submodule "libclipboard"]
path = deps/libclipboard
url = https://gitlab.com/jtanx/libclipboard.git

specifically fmt and libclibpboard.git, I think tvision is OK

from turbo.

acgt1 avatar acgt1 commented on August 17, 2024

Eventually I solved it by adding an SSH key to my profile. I don't think it's an issue with your repo. I don't remember that github enforced a login + key (a recent change!?).
So, for gitlab, I suggest to move the submodules to gitlab as well. As for the github repo, it might be wroth to drop it altogether once you finish a complete move to gitlab to avoid confusion, maybe you can keep a pointer to gitlab.
This is just an advice, not a request, it will definitely help the less experienced audience ;)
I'm now going to play with your editor, it looks promising!

from turbo.

magiblot avatar magiblot commented on August 17, 2024

Ah, good to know you eventually solved the issue.

Gitlab works for turbo and tvision because coincidentally I published them there too. I do not own the other submodules, so I cannot "move" them to Gitlab.

It doesn't matter whether the repos are in Gitlab or Github; git clone should work out-of-the box in either case. This is the first time I have heard about an issue like yours, so I don't have a clue what may have caused it. I suspect there may have been something wrong in your SSH or Git settings, but I don't know.

What I should do is place the complete git clone command in the Readme.

Please note that, as the Readme mentions, this editor lacks some basic features.

Cheers!

from turbo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.