G-Node / G-Node/gin-cli

Descriptive error message for anonymous `gin get`

Open
#304 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The gin-cli only permits to `get` public repositories when being logged in. The error message when trying to `get` a repository anonymously is
```sh
Downloading repository Repository download failed. Internal git command returned: Cloning into ...
git@gin.g-node.org: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

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

[error] 1 operation failed
```

I think it would be helpful to not only state this as a `permission denied` error, but also provide the hint that logging in using `gin login` might resolve the issue. This issue is related to #52

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.