Skip to main content

Intelligent tool for collecting, analyzing, and summarizing GitLab Merge Requests and commits

Project description

GitLab MR & Commit Analyzer

中文文档 | English

A command-line tool for intelligently collecting, analyzing, and summarizing GitLab Merge Requests and commit records.

Installation & Setup

Prerequisites

  • Python 3.8+
  • Git
  • GitLab access
    • GITLAB_HOST (e.g. https://gitlab.example.com)
    • GITLAB_TOKEN (PAT with read_api or api scope)

Install

pip install gitlab-pr-analyzer

Configuration (Environment Variables)

Variable Description Required
GITLAB_HOST GitLab instance base URL Yes
GITLAB_TOKEN Personal Access Token Yes
GITLAB_INSTANCE_NAME Banner display name No
CURSOR_AGENT_PATH Path to cursor-agent for AI features No (Yes for AI)

Quick Start

# 1. Interactive Mode (best for starting)
glpa interactive

# 2. Search with AI analysis (English output)
glpa search "authentication bug" --analyze

# 3. Search with AI analysis (Chinese output)
glpa search "authentication bug" --analyze -cn

# 4. Collect data
glpa collect --save-json

# 5. Generate report + export datasets
glpa traverse --days 7 --save-json -cn

For detailed command usage, see USAGE.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitlab_pr_analyzer-0.9.0.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitlab_pr_analyzer-0.9.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file gitlab_pr_analyzer-0.9.0.tar.gz.

File metadata

  • Download URL: gitlab_pr_analyzer-0.9.0.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gitlab_pr_analyzer-0.9.0.tar.gz
Algorithm Hash digest
SHA256 25930f52e0f857e2709b521b9b176cb9f7e9bd0b4c815235d2f97f8cd7a77a4e
MD5 cd5e09ea52388d810752a2182b39ad46
BLAKE2b-256 c43a310ab1e5bb9db20d2bc77831fa02bb0e6074725182347f015673d17bafaa

See more details on using hashes here.

File details

Details for the file gitlab_pr_analyzer-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitlab_pr_analyzer-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2190bc2bde807414416366a99fc6bf386e95cdb06b6bc70e7c07d1757025bfc8
MD5 97d9c1f20d66c26e94c7830b6d5aa0ab
BLAKE2b-256 ef3ad2df51b4f4f671e2ab884c1b48935f0737009582c1a2d91954f5c8bb9df7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page