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

Feature Request: Config template and merge

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
postgresql
領域
databases

調査の方向性

Begin by locating how PostgresApp currently manages pg_hba.conf and postgresql.conf. Before implementation, define the template format, PostgreSQL-version behavior, and overwrite or merge semantics; done means those rules are implemented and covered by appropriate tests.

索引モデルが issue の本文から書いたものです。

説明

Hi,

For each new server, I have to edit pg_hba.conf and postgresql.conf and add very similar entries. Is it possible to add a feature to the app to store config templates and apply them to configurations?

IMHO, templates would be more viable than copying configurations, because different PostgreSQL Server versions may have different options and default values in the future.

For example, PostgresApp may store config template entries as key-value pairs and whether they should be overridden.

{
  postgres.conf: {
    listen_addresses: { value: "*", overwrite: true },
    max_connections: { value: 100, overwrite: false}
  },
  // For `pg_hba.conf`, if overwrite is true it erases all entries, otherwise, just add entries above the current ones.
  pg_hba.conf: {
    overwrite: true,
    value: [
	  "local   replication     all                                     trust",
      "host    replication     all             127.0.0.1/32            trust",
      "host    replication     all             ::1/128                 trust",
    ]
}
主要言語
Makefile
スター
7.8k
フォーク
404
平均マージ
6時間 55分
マージ済み PR(30日)
6

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

PostgresApp/PostgresApp のほかの issue

PostgresApp/PostgresApp の issue をすべて見る

似ている issue

Databases の issue をもっと見る

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

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