diff --git a/_site/content/posts/modules/gitlab.md b/_site/content/posts/modules/gitlab.md new file mode 100644 index 00000000..917c9b02 --- /dev/null +++ b/_site/content/posts/modules/gitlab.md @@ -0,0 +1,89 @@ +--- +title: "Gitlab" +date: 2018-06-08T13:14:11-07:00 +draft: false +--- + +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. + +gitlab screenshot + +## Source Code + +```bash +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 + +```yaml +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 diff --git a/_site/static/imgs/modules/gitlab.png b/_site/static/imgs/modules/gitlab.png new file mode 100644 index 00000000..6e806a41 Binary files /dev/null and b/_site/static/imgs/modules/gitlab.png differ diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index fe5c83e2..66b1ebd0 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -29,6 +29,7 @@ + diff --git a/docs/404.html b/docs/404.html index a6f51b08..1116a3f3 100644 --- a/docs/404.html +++ b/docs/404.html @@ -70,6 +70,7 @@ + diff --git a/docs/categories/index.html b/docs/categories/index.html index b52bb86e..5f82b96c 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -72,6 +72,7 @@ + diff --git a/docs/imgs/modules/gitlab.png b/docs/imgs/modules/gitlab.png new file mode 100644 index 00000000..6e806a41 Binary files /dev/null and b/docs/imgs/modules/gitlab.png differ diff --git a/docs/index.html b/docs/index.html index 5b332b6c..9157c4ab 100644 --- a/docs/index.html +++ b/docs/index.html @@ -71,6 +71,7 @@ + diff --git a/docs/index.xml b/docs/index.xml index a86b5ce2..24c88a39 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -6,11 +6,26 @@ Recent content on WTF - A Terminal Dashboard Hugo -- gohugo.io en-us - Mon, 04 Jun 2018 20:06:40 -0700 + Fri, 08 Jun 2018 13:14:11 -0700 + + Gitlab + https://wtfutil.com/posts/modules/gitlab/ + Fri, 08 Jun 2018 13:14:11 -0700 + + https://wtfutil.com/posts/modules/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. +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. + + Bittrex https://wtfutil.com/posts/modules/cryptocurrencies/bittrex/ diff --git a/docs/posts/configuration/attributes/index.html b/docs/posts/configuration/attributes/index.html index a5354fce..a234b153 100644 --- a/docs/posts/configuration/attributes/index.html +++ b/docs/posts/configuration/attributes/index.html @@ -70,6 +70,7 @@ + diff --git a/docs/posts/configuration/index.html b/docs/posts/configuration/index.html index ec410d85..be506a80 100644 --- a/docs/posts/configuration/index.html +++ b/docs/posts/configuration/index.html @@ -70,6 +70,7 @@ + diff --git a/docs/posts/configuration/iterm2/index.html b/docs/posts/configuration/iterm2/index.html index dcb4d6c6..d26019da 100644 --- a/docs/posts/configuration/iterm2/index.html +++ b/docs/posts/configuration/iterm2/index.html @@ -70,6 +70,7 @@ + diff --git a/docs/posts/glossary/index.html b/docs/posts/glossary/index.html index 9a4f7187..ac4c33bc 100644 --- a/docs/posts/glossary/index.html +++ b/docs/posts/glossary/index.html @@ -70,6 +70,7 @@ + diff --git a/docs/posts/index.html b/docs/posts/index.html index ae588754..53ee2da5 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -72,6 +72,7 @@ + @@ -99,6 +100,13 @@

Posts