mirror of
https://github.com/thegeeklab/git-sv.git
synced 2026-04-25 18:25:56 +03:00
[PR #198] [CLOSED] fix: try multiple ssh keys for push actions #198
Labels
No labels
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sv#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/thegeeklab/git-sv/pull/198
Author: @pat-s
Created: 5/23/2025
Status: ❌ Closed
Base:
main← Head:fix/ssh-keys📝 Commits (1)
c9aae1afix: try multiple ssh keys📊 Changes
1 file changed (+143 additions, -3 deletions)
View changed files
📝
app/app.go(+143 -3)📄 Description
fix #192
Finally had time to debug this.
The main reason why it failed was because my
id_rsawasn't avail on this specific forge. The current implementation ingit-svcurrently only checks a single key and doesn't try/look for others.On another forge it worked OOB because there my
id_rsawas configured. This explain why I saw the flacky behavior.The "handshake key mismatch" error is subsequently a (soft) false-positive.
It works with the patches in this PR.
They are quite verbose (and vibe-coded), so you might want to take a look what level of detail you want to keep.
Maybe there is also another way to implement this in a more tidy way.
Some imports are anyhow duplicated and you surely don't like this 😄️
Anyhow, feel free to take it from here, I am happy to test it afterwards :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.