Support `psql` as part of the server host
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- github-actions, postgresql, typescript
調査の方向性
src/Utils/ActionInputs.ts で、接続文字列から psql と引用符を削除するリンク先のロジックから始めます。caf-named-db-psql.postgres.database.azure.com のようなホストで問題を再現し、その後、接続文字列を引き続き正しく解析しながら、ホストの一部である psql がアクションによって保持されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
According to the CAF (Cloud Adoption Framework) the official abbreviation for a PostgreSQL database is psql.
But the current implementation blindly replaces 'psql' with '', which breaks the ability to use this action with such a named DB.
Input:
- uses: azure/postgresql@v1
with:
connection-string: host=caf-named-db-psql.postgres.database.azure.com ...
Output:
psql: error: could not translate host name "caf-named-db-.postgres.database.azure.com" to address: Name or service not known
Error: Error occurred while running action:
Error: The process '/usr/bin/psql' failed with exit code 2
Personal workaround:
The code currently not only replaces 'psql' with '', it also (as a second step) replaces '"' with ''. So a functional workaround that I use is adding a rouge " like this:
- uses: azure/postgresql@v1
with:
connection-string: host=caf-named-db-p"sql.postgres.database.azure.com ...
But this is far from ideal 😂
- 主要言語
- TypeScript
- スター
- 25
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/postgresql のほかの issue
-
need-to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/postgresql#58 ·
-
need-to-triage
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Azure/postgresql#55 ·
-
need-to-triage
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Azure/postgresql#53 · コメント 1 件 ·
-
need-to-triage
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Azure/postgresql#52 · コメント 1 件 ·
-
need-to-triage
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
Azure/postgresql#41 ·
Azure/postgresql の issue をすべて見る
似ている issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100