Repository-Specific Configuration (.git-commit-summary.yaml / project config)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start by reading the existing configuration loading code and tests under internal/config to understand global/XDG and local .env behavior. Trace how the current working directory and Git worktree are identified, then define the repository-config format and precedence from the issue. Done means repository-specific settings merge correctly and internal/config tests cover discovery, merging, and precedence.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Statement
Currently, git-commit-summary loads configuration exclusively from global/XDG locations (~/.config/git-commit-summary/config.env) and local .env files in the working directory root. It does not support repository-specific configuration files (e.g., .git-commit-summary.yaml or project-level .env/config files) that can be checked into version control.
Proposed Feature: Repository-Specific Configuration
Allow individual Git repositories to define their own commit standards, prompts, LLM model preferences, and exclusion rules directly inside the repository.
Detailed Outline Plan
-
Config Discovery & Precedence:
- Extend
internal/configto search for a repository-specific configuration file (e.g.,.git-commit-summary.yamlor.git-commit-summary.env) in the current working directory or repository root (walking up to the git worktree root). - Establish clear configuration precedence:
- CLI flags / environment variables (highest priority)
- Repository-specific config (
.git-commit-summary.yaml/.envin repo root) - User local
.envfile - XDG global configuration (
~/.config/git-commit-summary/config.env) (lowest priority)
- Extend
-
Schema & Fields:
- Support project-level settings such as:
- Preferred LLM provider and model (
LLM_PROVIDER,GEMINI_MODEL, etc.) - Custom system prompt or prompt template path
- Additional project-specific file exclusions or overrides
- Preferred LLM provider and model (
- Support project-level settings such as:
-
Testing & Validation:
- Add unit tests in
internal/configverifying correct configuration merging and precedence order when repository configs are present.
- Add unit tests in
- Ngôn ngữ chính
- Go
- Star
- 0
- Fork
- 0
- Merge trung bình
- 18 giờ 49 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rm-hull/git-commit-summary
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
rm-hull/git-commit-summary#190 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
rm-hull/git-commit-summary#189 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
rm-hull/git-commit-summary#185 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
rm-hull/git-commit-summary#183 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
rm-hull/git-commit-summary#106 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rm-hull/git-commit-summary
Issue tương tự
-
enhancement low priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
eugenioenko/ttt#674 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Remove obsolete ipAllocationPolicy field from containernodepool-subnetworkref test dependencyĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
vavallee/bindery#2793 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày