git-bug icon indicating copy to clipboard operation
git-bug copied to clipboard

Bridge rm Error: invalid key prefix

Open spearman opened this issue 5 months ago • 2 comments

I created a bridge to a gitlab repo and configured it.

However when I try to git bug bridge pull I got Error: missing identity token so I figured I did something wrong (what is an identity token? I provided an access token when I configured the bridge).

git bug bridge auth shows the bridge:

909c824 gitlab     token <redacted> base-url:https://gitlab.com/,login:project_61675907_bot_da4fbf9716170e7b652e0921346b75dd

Ok I don't know what 'login:project_61675907_bot_da4fbf9716170e7b652e0921346b75dd` is, but I'll try to remove the bridge:

$ git bug bridge rm 909c824
Error: invalid key prefix

Doesn't work, neither does:

$ git bug bridge rm gitlab
Error: invalid key prefix

Edit: I also don't know how to manually delete the bridge, I tried removing the .git/git-bug directory, but git bug bridge auth still shows the bridge.

spearman avatar Sep 14 '24 01:09 spearman