8000 GitHub - racklin/gitlab-stat: gitlab-stat gets commits for all users on gitlab.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

racklin/gitlab-stat

Repository files navigation

gitlab-stat

gitlab-stat gets commits for all users on gitlab.

Settings

  1. Edit config/gitlabstat.php for your url,token and timezone.
<?php

return [
    'gitlab_url' => '', // your self-hosting gitlab or empty for gitlab.com
    'gitlab_token' => '', // your gitlab api token
    'timezone' => 'Asia/Shanghai'
];

From source code

Execute gitlab-stat fetch or php gitlab-stat fetch.

With first parameter can be used to specify a processing date, default value is yesterday. Ex: gitlab-stat fetch 2021-09-01

From PHAR

You can using --config option to specify config file. For example: ./gitlab-stat fetch --config=/home/rack/gitlabstat.php.

Usage Demo

Gen Gitlab Stat [2021-09-05]
 251/251 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% --  [ user_id = 9]
Total = [44]
Save to [result_2021-09-05.json]
Save to [result_2021-09-05.sql]

Framework

For full documentation, visit laravel-zero.com.

About

gitlab-stat gets commits for all users on gitlab.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0