Converge connection getter and command helper names across modules
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 48/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- api
調査の方向性
Start by comparing the named getters, credential setters, and command helpers in packages/modules/*/src/*-*.ts, then read the add-module skill and coordinate the old-name handling with #1518. Decide and document shared naming patterns, including protocol-specific URLs and command helpers; done means the affected modules follow those patterns, old names remain deprecated aliases, and the skill records the convention.
索引モデルが issue の本文から書いたものです。
説明
What happens
Modules name the same concept differently, so moving from one module to another means checking the docs each time.
Connection string getters:
| Method | Modules |
|---|---|
getConnectionUri() |
azurecosmosdb, cockroachdb, localstack, mariadb, mssqlserver, mysql, postgresql |
getConnectionString() |
azureservicebus, azurite, hivemq, mongodb, mosquitto |
getConnectionUrl() |
clickhouse, minio, redis, valkey |
getUrl() |
couchdb, influxdb, oraclefree |
getHttpUrl() |
arangodb, chromadb, clickhouse, elasticsearch, opensearch |
getHttpUri(), getBoltUri() |
neo4j |
Other address getters use get*Endpoint (azurecosmosdb, azurite, etcd, gcloud, ollama) and get*Address (qdrant, redpanda, vault, weaviate).
Credential setters: most modules use withUsername and withPassword. mysql and mariadb use withUserPassword and withRootPassword.
Command helpers on started containers:
executeCliCmd(cmd, additionalFlags)in redis and valkeyexecuteQuery(query, additionalFlags, isRoot)in mysqlexecVaultCommands(commands)in vault
Expected
- One name for "the string a client library connects with", used by every module that has one.
- One naming pattern for protocol-specific URLs and for command helpers.
- The old names stay as deprecated aliases.
- The convention is written into the
add-moduleskill so new modules follow it.
Where
packages/modules/*/src/*-container.ts.
Notes
- .NET puts
GetConnectionString()on a sharedIDatabaseContainerinterface that every database module implements. A shared interface here would also let helpers accept "any database container". - Adding aliases is
minor. Removing the old names would bemajor.
Dependencies
- Nothing blocks this. It can start now.
- Coordinate with #1518: for the old names.
- 主要言語
- TypeScript
- スター
- 2.6k
- フォーク
- 274
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 44
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
testcontainers/testcontainers-node のほかの issue
-
enhancement minor
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
testcontainers/testcontainers-node#1539 ·
メンテナーはふだん 1 日以内に返信
-
enhancement minor
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
testcontainers/testcontainers-node#1533 ·
メンテナーはふだん 1 日以内に返信
-
enhancement minor
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
testcontainers/testcontainers-node#1531 ·
メンテナーはふだん 1 日以内に返信
-
enhancement minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
testcontainers/testcontainers-node#1529 ·
メンテナーはふだん 1 日以内に返信
-
enhancement minor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
testcontainers/testcontainers-node#1528 ·
メンテナーはふだん 1 日以内に返信
testcontainers/testcontainers-node の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
area:cowork area:desktop documentation enhancement platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anthropics/claude-code#101720 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
apache/rocketmq-dashboard#6610 ·
メンテナーはふだん 3 日以内に返信
-
Add: MS NOWオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Global update drops overrideAccess, so Local API updateGlobal fails filterOptions validation (3.90 regression)対応中かも @PINYOPATTANAWASANPORN が今日担当しました。 オープンarea: core Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
payloadcms/payload#18674 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信