[Feature Request]: Support bulk creation/import of PostgreSQL connections
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 28/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- postgresql
- 領域
- databases
調査の方向性
PostgreSQL ビュー(ツリー)、そのコンテキストメニュー、接続を追加するための既存の拡張機能 UI から始めてください。issue にはファイルもテストも指定されていません。まず接続ファイル形式とインポート/エクスポートの動作を定義し、その後、実装前に検証、プレビュー、シークレットの扱い、グループ化、更新ルールを確立してください。完了とは、コマンドとコンテキストメニューのアクションが、確認付きの検証済み一括インポートおよびエクスポートをサポートすることです。
索引モデルが issue の本文から書いたものです。
説明
At the moment, PostgreSQL connections must be added one by one through the extension UI, which is slow and repetitive when working with many environments (DEV, QA, STAGING, multiple servers, etc.). For users and teams managing dozens of databases, a way to define and import all connections at once would greatly improve productivity and reduce configuration errors.
Proposed Feature
1. Import/Export connections
- Command to export all existing connections to a JSON/YAML file.
- Command to import from such a file and create/update multiple connections in one operation.
- Optional support for environment variables for passwords/connection strings so secrets are not stored in plain text.
2. Connection definition format
- Each connection entry should support:
- Label/name
- Host, port
- Database name
- Authentication
- SSL and advanced options
- Optional grouping/folder (e.g., DEV, QA, PROD, project name)
Example (pseudo‑JSON):
{
"groups": [
{
"name": "DEV",
"connections": [
{
"label": "Local Dev",
"host": "localhost",
"port": 5432,
"database": "my_app_dev",
"user": "dev_user",
"passwordEnv": "MY_APP_DEV_DB_PASSWORD"
},
{
"label": "Shared Dev",
"connectionStringEnv": "MY_APP_SHARED_DEV_DB_URL"
}
]
}
]
}
3. UI entry points
- New commands such as:
PostgreSQL: Import Connections From File…PostgreSQL: Export Connections To File…
- Context menu items on the PostgreSQL view (tree) to trigger import/export.
4. Validation and safety
- Validate the file before applying changes (required fields, duplicate labels, invalid options).
- Show a preview of connections that will be created or updated, with confirmation.
- Option to require that secrets come from environment variables or a secret store.
Benefits / Use Cases
- Fast setup of the same connection set on multiple machines or developer environments.
- Easier onboarding for new team members: they import a single config file and are ready to work.
- Ability to keep non‑secret connection metadata (labels, hosts, database names) under version control for a project, improving consistency across the team.
- 主要言語
- 言語のデータがありません
- スター
- 398
- フォーク
- 32
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-pgsql のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/vscode-pgsql#190 · コメント 3 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/vscode-pgsql#310 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/vscode-pgsql#307 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
microsoft/vscode-pgsql#306 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/vscode-pgsql#305 · コメント 2 件 ·
microsoft/vscode-pgsql の issue をすべて見る
似ている issue
-
Add: RiC Feedオープンcheck:passed feeds:add
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
メンテナーはふだん 9 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openclaw/openclaw#168089 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
dotnet/SqlClient#4823 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
area:core area:runtime type:security
難易度 2/5 半日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openimsdk/openim-sdk-core#1127 ·