Taavi, I just made some changes to GerritLab[0] and added notes to the
migration guide[1].  Let me know if that helps or not.

[0] https://github.com/yaoyuannnn/gerritlab/pull/90
[1] https://wikitech.wikimedia.org/wiki/GitLab/Migration#GerritLab

On Thu, Jul 16, 2026 at 10:51 AM Taavi Väänänen via Wikitech-l <
[email protected]> wrote:

> 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/
_______________________________________________
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