PR Lens

Setup

PR Lens for GitLab

Connect GitLab and every merge request arrives drawn: architecture and data flow, as one comment on the merge request itself.

  • Redrawn on every push. Type @pr-lens draw for one by hand.
  • Comments post as you — GitLab has no app identity, so use a dedicated account if you would rather they did not.
Self-managed GitLab

An OAuth application lives inside the instance it belongs to, so yours needs one registered there: Admin area → Applications → New application, scope api, redirect URI https://www.prlens.dev/api/forge/gitlab/oauth/callback. Send the application id and secret to whoever runs this deployment. Until then, paste a token below.

Paste a token instead

For an instance with no application registered yet. GitLab expires the token, so the install stops until a fresh one is pasted.

Paste an access token

For an instance with no application registered yet.

The path as in the URL, or the numeric project id.

api scope, Maintainer role.

Leave it for gitlab.com.