ahoneybun / keyboard-color-switcher

An application to change the keyboard backlight color on System76 laptops
15 stars 7 forks source link

Cannot clone repo #46

Open ahoneybun opened 2 years ago

ahoneybun commented 2 years ago

Folks aren't able to clone the repo using the steps in the README due to permissions:

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:JeffLabonte/System76-Backlight-Manager-cli.git' into submodule path '/home/logangarner/keyboard-color-switcher/system76_backlight_manager' failed
Failed to clone 'system76_backlight_manager'. Retry scheduled
Cloning into '/home/logangarner/keyboard-color-switcher/system76_backlight_manager'...
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:JeffLabonte/System76-Backlight-Manager-cli.git' into submodule path '/home/logangarner/keyboard-color-switcher/system76_backlight_manager' failed
Failed to clone 'system76_backlight_manager' a second time, aborting
yochananmarqos commented 2 years ago

I can't reproduce that.

JeffLabonte commented 2 years ago

@ahoneybun

This is not an issue with the repo itself. As far as I can see, you are trying to clone the repository using the SSH route and you don't have an SSH key set into your Github Account.

We could change the submodule call to use the HTTPS route.

ahoneybun commented 2 years ago

It looks like the steps are using HTTPS which is odd.

JeffLabonte commented 2 years ago

@ahoneybun

It is not. Not for the submodule since it has been added with the SSH URL

image

ahoneybun commented 2 years ago

Ah that's something. Odd.

JeffLabonte commented 2 years ago

That's the thing, it isn't odd. that's the way it has been configured.

JeffLabonte commented 2 years ago

You could change the URL in the git configurations to make it use the HTTPS URL instead of the SSH. Personally, I prefer to use SSH since it forces the user to have a Github account and configure its environment to code.