Skip to content

GitLab

Displays information about your projects hosted on GitLab:

Stats

Total MRs, Issues, and Stars for the currently shown repo.

Open Assigned Merge Requests

All open merge requests for which you are the assignee in the currently shown repo.

My Merge Requests

All open merge requests created by you in the currently shown repo.

Open Assigned Issues

All open Gitlab issues assigned to you in the currently shown repo.

My Issues

All open Gitlab issues created by you in the currently shown repo.

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: 5m
  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.
{{ value }}
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