Repository-Specific Configuration (.git-commit-summary.yaml / project config)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Go
- スター
- 0
- フォーク
- 0
- 平均マージ
- 13時間 29分
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rm-hull/git-commit-summary のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
rm-hull/git-commit-summary#190 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
rm-hull/git-commit-summary#189 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rm-hull/git-commit-summary#185 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
rm-hull/git-commit-summary#183 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rm-hull/git-commit-summary#106 ·
メンテナーはふだん 1 日以内に返信
rm-hull/git-commit-summary の issue をすべて見る
似ている issue
-
[Docs] - Document minimum Terraform/OpenTofu version (>= 1.11) required by write-only argumentsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
MagaluCloud/terraform-provider-mgc#323 ·
メンテナーはふだん 11 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rossoctl/context-guru#366 ·
メンテナーはふだん 1 日以内に返信
-
stage-fail
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
siyuan-note/bazaar#2293 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
piraeusdatastore/piraeus-operator#1070 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信