Code Reviews in Emacs
If you have trouble with the authinfo process below there is this nice Tweet from @agzam explaining a bit the setup!
api
scopeFor enterprise users do not forget to change the value of
code-review-gitlab-host
and code-review-gitlab-graphql-host
to match the
ones of your private instance. The current recommended way to use the package
with enterprise solution is through code-review-forge-pr-at-point
we have a
bug identifying enterprise URLs in code-review-start
yet.
Add a line to your auth source file, usually ~/.authinfo.gpg
, with your login
and token:
machine gitlab.com/api login yourlogin^code-review password MYTOKENGOESHERE
Gitlab’s repository can require a password from users before approving a Merge Request (see details here) and if this is enabled you will be prompted to type your username and password again.