Re: GitLab SSH is moving to gitlab-ssh.wikimedia.org
Ahmon Dancy via Wikitech-l <[email protected]> Thu, 16 Jul 2026 13:48:50 -0700
| Newsgroups | gmane.science.linguistics.wikipedia.technical |
|---|---|
| Message-ID | <CAGBuJWKja9hOmZ0A1N4ev2y4HNd0onDO_LHvekpoEj-FVqYXrg@mail.gmail.com> |
--===============6098633505295093209== Content-Type: multipart/alternative; boundary="000000000000ef99dd0656c091ea" --000000000000ef99dd0656c091ea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFAM Taavi V=C3=A4=C3=A4n=C3=A4nen 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 =3D !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 t= o > 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=C3=A4=C3=A4n=C3=A4nen (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.or= g/ --000000000000ef99dd0656c091ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Taavi, I just made some changes to GerritLab[0] and added = notes to the migration guide[1].=C2=A0 Let me know if that helps or not.<di= v><br></div><div>[0]=C2=A0<a href=3D"https://github.com/yaoyuannnn/gerritla= b/pull/90">https://github.com/yaoyuannnn/gerritlab/pull/90</a></div><div>[1= ]=C2=A0<a href=3D"https://wikitech.wikimedia.org/wiki/GitLab/Migration#Gerr= itLab">https://wikitech.wikimedia.org/wiki/GitLab/Migration#GerritLab</a></= div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"= ltr" class=3D"gmail_attr">On Thu, Jul 16, 2026 at 10:51=E2=80=AFAM Taavi V= =C3=A4=C3=A4n=C3=A4nen via Wikitech-l <<a href=3D"mailto:wikitech-l@list= s.wikimedia.org">[email protected]</a>> wrote:<br></div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D= "ltr"><div>Does someone have a working configuration for `glab`[0] and gerr= itlab[1] in this split setup?</div><div><br></div><div>I have this in my ~/= .gitconfig:</div><div>```</div><div>[credential "<a href=3D"https://gi= tlab.wikimedia.org/" target=3D"_blank">https://gitlab.wikimedia.org/</a>&qu= ot;]<br>=C2=A0 =C2=A0 helper =3D !glab auth git-credential "$@"</= div><div>```</div><div><br></div><div>So far, that has both allowed me to i= nteract with normal `glab` commands and use it as a credential helper for g= erritlab. Either I set up glab for <a href=3D"http://gitlab.wikimedia.org" = target=3D"_blank">gitlab.wikimedia.org</a>, 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 <= a href=3D"http://gitlab-ssh.wikimedia.org" target=3D"_blank">gitlab-ssh.wik= imedia.org</a> which makes normal glab commands work but gerritlab no longe= r sees credentials for the API.</div><div><br></div><div>[0]:=C2=A0<a href= =3D"https://gitlab.com/gitlab-org/cli" target=3D"_blank">https://gitlab.com= /gitlab-org/cli</a></div><div>[1]:=C2=A0<a href=3D"https://github.com/yaoyu= annnn/gerritlab" target=3D"_blank">https://github.com/yaoyuannnn/gerritlab<= /a></div><div><br></div><div>thanks,</div><div>taavi</div></div><br><span c= lass=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gma= il_signature"><div dir=3D"ltr"><div>Taavi V=C3=A4=C3=A4n=C3=A4nen (he/they)= <br></div><div>Site Reliability Engineer, Tools Infrastructure</div><div>Wi= kimedia Foundation<br></div></div></div></div> _______________________________________________<br> Wikitech-l mailing list -- <a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a><br> To unsubscribe send an email to <a href=3D"mailto:[email protected]= kimedia.org" target=3D"_blank">[email protected]</a><br> <a href=3D"https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wik= imedia.org/" rel=3D"noreferrer" target=3D"_blank">https://lists.wikimedia.o= rg/postorius/lists/wikitech-l.lists.wikimedia.org/</a></blockquote></div> --000000000000ef99dd0656c091ea-- --===============6098633505295093209== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/ --===============6098633505295093209==--