Does someone have a working configuration for `glab`[0] and gerritlab[1] in
this split setup?

I have this in my ~/.gitconfig:
```
[credential "https://gitlab.wikimedia.org/";]
    helper = !glab auth git-credential "$@"
```

So far, that has both allowed me to interact with normal `glab` commands
and use it as a credential helper for gerritlab. Either I set up glab for
gitlab.wikimedia.org, which makes gerritlab work but normal glab commands
fail with "none of the git remotes configured for this repository point to
a known GitLab host", or I set glab up for gitlab-ssh.wikimedia.org which
makes normal glab commands work but gerritlab no longer sees credentials
for the API.

[0]: https://gitlab.com/gitlab-org/cli
[1]: https://github.com/yaoyuannnn/gerritlab

thanks,
taavi

-- 
Taavi Väänänen (he/they)
Site Reliability Engineer, Tools Infrastructure
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to