{"id":21893221,"url":"https://github.com/vlauciani/gitlab-reporter","last_synced_at":"2026-05-08T11:08:02.914Z","repository":{"id":264600789,"uuid":"893806905","full_name":"vlauciani/gitlab-reporter","owner":"vlauciani","description":"A Python script that interacts with GitLab APIs to generate detailed commit reports grouped by project, including author, message, and timestamp.","archived":false,"fork":false,"pushed_at":"2024-12-08T16:07:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T03:44:00.095Z","etag":null,"topics":["gitlab","python","report"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vlauciani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-25T08:45:38.000Z","updated_at":"2024-12-08T16:07:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"917dd431-5485-4e2e-9800-0c9aed77df9e","html_url":"https://github.com/vlauciani/gitlab-reporter","commit_stats":null,"previous_names":["vlauciani/gitlab-reporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vlauciani/gitlab-reporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlauciani%2Fgitlab-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlauciani%2Fgitlab-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlauciani%2Fgitlab-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlauciani%2Fgitlab-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlauciani","download_url":"https://codeload.github.com/vlauciani/gitlab-reporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlauciani%2Fgitlab-reporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32777717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitlab","python","report"],"created_at":"2024-11-28T13:12:54.046Z","updated_at":"2026-05-08T11:08:02.893Z","avatar_url":"https://github.com/vlauciani.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-reporter\n\nThis script is designed to fetch and display a structured summary of commits from GitLab projects using the GitLab API. \\\nThe output groups commits by project, showing the author, commit message, and timestamp.\n\nExample:\n```sh\nProject: group_1/project_1\n  - Author: user_1\n    Message: Added Priority parameter. issue: #205\n    Date: 2024-11-21T15:25:22.000+01:00\n\n  - Author: user_2\n    Message: Remove unused code\n    Date: 2024-11-20T18:12:40.000+01:00\n\nProject: group_3/project_1\n  - Author: user_1\n    Message: Fix bug on Shop table\n    Date: 2024-11-22T10:47:05.000+01:00\n```\n\n## Getting started\n\nRun the following command to execute the script using Docker\n\n```sh\ndocker run -it --rm -v $(pwd):/opt -w /opt python:3.12.5 bash -c \"pip install -r requirements.txt \u0026\u0026 clear \u0026\u0026 python script.py --help\"\n\nusage: script.py [-h] -s STARTTIME -e ENDTIME -t TOKEN -g GITLAB [-u USER] [-p PROJECT] [-o OUTPUT]\n\nGenerate a GitLab commit report.\n\noptions:\n  -h, --help            show this help message and exit\n  -s STARTTIME, --starttime STARTTIME\n                        Start date (format: YYYY-MM-DD)\n  -e ENDTIME, --endtime ENDTIME\n                        End date (format: YYYY-MM-DD)\n  -t TOKEN, --token TOKEN\n                        Personal Access Token for GitLab API\n  -g GITLAB, --gitlab GITLAB\n                        GitLab server URL (e.g., https://gitlab.example.com)\n  -u USER, --user USER  Filter commits by a comma-separated list of users (author_name or author_email)\n  -p PROJECT, --project PROJECT\n                        Filter by a comma-separated list of project names\n  -o OUTPUT, --output OUTPUT\n                        Output file name (default: gitlab_report.txt)\n```\n\n## Example\n\nGenerate a report for a specific date and user:\n```sh\ndocker run -it --rm -v $(pwd):/opt -w /opt python:3.12.5 bash -c \"pip install -r requirements.txt \u0026\u0026 clear \u0026\u0026 python script.py -s 2024-11-22 -e 2024-11-22 -t \u003cPERSONAL_ACCESS_TOKEN\u003e -g https://gitlab.com -u mario.rossi@mail.com\"\n```\n\nGenerate a report for multiple projects and a specific user:\n```sh\ndocker run -it --rm -v $(pwd):/opt -w /opt python:3.12.5 bash -c \"pip install -r requirements.txt \u0026\u0026 clear \u0026\u0026 python script.py -s 2024-11-22 -e 2024-11-22 -t \u003cPERSONAL_ACCESS_TOKEN\u003e -g https://gitlab.com -p proxysql,dante8 -u mario.rossi@mail.com\"\n```\n\nGenerate a report for a single project and multiple users:\n```sh\ndocker run -it --rm -v $(pwd):/opt -w /opt python:3.12.5 bash -c \"pip install -r requirements.txt \u0026\u0026 clear \u0026\u0026 python script.py -s 2024-11-22 -e 2024-11-22 -t \u003cPERSONAL_ACCESS_TOKEN\u003e -g https://gitlab.com -u mario.rossi@mail.com,antonio.bianchi@mail.com -p bea\"\n```\n\n# Contribute\nThanks to your contributions!\n\nHere is a list of users who already contributed to this repository: \\\n\u003ca href=\"https://github.com/vlauciani/gitlab-reporter/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=vlauciani/gitlab-reporter\" /\u003e\n\u003c/a\u003e\n\n# Author\n(c) 2024 Valentino Lauciani vlauciani[at]gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlauciani%2Fgitlab-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlauciani%2Fgitlab-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlauciani%2Fgitlab-reporter/lists"}