Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Repository-Specific Configuration (.git-commit-summary.yaml / project config)

オープン
#184 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli, tooling

調査の方向性

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 の本文から書いたものです。

説明

enhancement

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
  1. Config Discovery & Precedence:

    • Extend internal/config to search for a repository-specific configuration file (e.g., .git-commit-summary.yaml or .git-commit-summary.env) in the current working directory or repository root (walking up to the git worktree root).
    • Establish clear configuration precedence:
      1. CLI flags / environment variables (highest priority)
      2. Repository-specific config (.git-commit-summary.yaml / .env in repo root)
      3. User local .env file
      4. XDG global configuration (~/.config/git-commit-summary/config.env) (lowest priority)
  2. 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
  3. Testing & Validation:

    • Add unit tests in internal/config verifying correct configuration merging and precedence order when repository configs are present.
主要言語
Go
スター
0
フォーク
0
平均マージ
13時間 29分
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rm-hull/git-commit-summary のほかの issue

rm-hull/git-commit-summary の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。