GitLab
Added in v0.0.8
.
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.
Source Code
wtf/gitlab/
Required ENV Variables
Key: WTF_GITLAB_TOKEN
Action: A GitLab personal access token. Requires at least api
access.
Keyboard Commands
Key: /
Action: Open/close the widget’s help window.
Key: h
Action: Show the previous project.
Key: l
Action: Show the next project.
Key: ←
Action: Show the previous project.
Key: →
Action: Show the next project.
Configuration
gitlab:
enabled: true
position:
top: 2
left: 3
height: 2
width: 2
refreshInterval: 300
projects:
tasks: "gitlab-org/release"
gitlab-ce: "gitlab-org"
username: "senorprogrammer"
Attributes
enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true
, false
.
position
Defines where in the grid this module’s widget will be displayed.
refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n
.
domain
Optional. Your GitLab corporate domain.
Values: A valid URI.
projects
A list of key/value pairs each describing a GitLab project to fetch data
for.
Key: The name of the project.
Value: The namespace of the project.
username
Your GitLab username. Used to figure out which requests require your approval