G-Node / G-Node/gin-cli

User git config file can interfere with gin-cli operations

Open
#221 1 comment 0 reactions 1 assignee Claimed by @achilleas-k View on GitHub
P2
Dominant language
Go
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

If a user has a global configuration or a gin specific configuration somehow, it may interfere with the client's git calls. This _can_ lead to unpredictable behaviour. On the other hand, there may be cases where the user is explicitly configuring the gin-cli behaviour for some reason.

I don't know if we should ignore user configs or respect them.

-----

The issue presented when using the client with a git configuration that specifies a key for logging into gin.g-node.org. When the client was asked to clone a repository, SSH tried to unlock the desktop keyring in order to use the configured key, even though it wouldn't work against the GIN SSH service (the key is used to SSH into the machine's SSH service). Cancelling the unlock continued normally, since the SSH command then used the key provided by the gin client.

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.