Skip to content

GitLab

Displays information about your projects hosted on GitLab:

Open Approval Requests

All open merge requests that are requesting your approval.

Open Merge Requests

All open merge requests created by you.

Configuration

gitlab:
  apiKey: "p0d13*********************************************c3"
  enabled: true
  position:
    top: 2
    left: 3
    height: 2
    width: 2
  projects:
    - "gitlab-org/gitlab-ce"
    - "gitlab-org/release/tasks"
  refreshInterval: 300
  username: "wtfutil"

Attributes

Name Value
apiKey
Your GitLab API key. Leave this blank to use the WTF_GITLAB_TOKEN environment variable.
domain
Optional Your GitLab corporate domain.
A valid URI.
projects
A list of GitLab project paths to fetch data for.
username
Your GitLab username. Used to figure out which requests require your approval.

Keyboard

Key Action
/ Open/close the widget's help modal
h Show the previous GitLab repository
l Show the next GitLab repository
r Refresh the data
Show the previous GitLab repository
Show the next GitLab repository

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/gitlab