notebooks-ai / notebooks-help

Issues with Notebooks.ai? Create an issue here!
https://notebooks.ai
MIT License
14 stars 5 forks source link

Allow cloning repository from Gitlab #20

Closed pvojnisek closed 5 years ago

pvojnisek commented 5 years ago

git clone Asks for password. Gitlab needs to register a public key. How can I solve this issue?

martinzugnoni commented 5 years ago

Thanks @pvojnisek. Gitlab is currently not supported in notebooks.ai, but we will try to implement it soon.

santiagobasulto commented 5 years ago

@pvojnisek did you try creating a project out of a gitlab repo, or you used the command line to do a regular git clone [repo url]?

pvojnisek commented 5 years ago

Thank you for your effort! @santiagobasulto yes, exactly. SSH public key has to be shared to the git client. Here is the related documentation: https://docs.gitlab.com/ee/ssh/

santiagobasulto commented 5 years ago

@pvojnisek I was able to correctly generate the ssh-key and add it to my Gitlab profile. I just followed the steps in my environment and was able to correctly add it to my gitlab profile:

image

The problem of course will be that the key will be deleted once the project goes to sleep. In that case, we need to persist the SSH keys for users.

I've created a new issue #21 that supersedes this one. Once #21 is ready, this will be resolved too.