WassimBenzarti / colab-ssh

Connect to Google Colab using SSH
https://pypi.org/project/colab-ssh/
MIT License
993 stars 127 forks source link

Add support for Gitlab repos #81

Closed ldgarcia closed 3 years ago

ldgarcia commented 3 years ago

Is your feature request related to a problem? Please describe. Add support to clone Gitlab repos.

Describe the solution you'd like The solution would work with the same current interface, just different parameter values.

Describe alternatives you've considered I've implemented a solution and tested it using Google Colab. I will open a PR so that you can review the proposed changes.

Additional context I added some unit tests, but when I try to run them using pytest within the devcontainer, I get this error:

import apt
E   ModuleNotFoundError: No module named 'apt'

Edit: I tested the authorized_keys functionality and found I introduced some bugs which are now fixed. I left the fixes as individual commits so that you can review the changes. However, these would need to be squashed.

WassimBenzarti commented 3 years ago

The issue is fixed by #82