Add error details to Distribution Release responses
まだ誰も着手していません。
評価
調査の方向性
まず、distribution release response モデルと api.projects.distributions.release.get および api.projects.distributions.release.post の定義を見つけます。文書化されたレスポンスの構造を比較し、そのうえで、Crowdin と Crowdin Enterprise の両方のバリアントについて、ファイルベースと文字列ベースの両方のリリースで、ステータスが failed の場合にオプションの error.message フィールドが公開されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
The Distribution Release model returned by Get Distribution Release (GET /projects/{projectId}/distributions/{hash}/release, api.projects.distributions.release.get) and Release Distribution (POST, api.projects.distributions.release.post) now includes an optional error object:
error— object withmessage(string); present only when the releasestatusisfailed
This applies to both file-based and string-based distribution releases, in both Crowdin and Crowdin Enterprise. Client libraries should add the field to the distribution release response models so consumers can surface release failures.
References:
- Release Distribution
- Get Distribution Release
- Crowdin Enterprise: Get Distribution Release
- 主要言語
- Python
- スター
- 69
- フォーク
- 39
- 平均マージ
- 20時間 58分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
crowdin/crowdin-api-client-python のほかの issue
-
v2 release planning対応中かも @andrii-bodnar が 1 日前に担当しました。 オープン
crowdin/crowdin-api-client-python#286 · 担当者 1 名 ·
-
API bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
crowdin/crowdin-api-client-python#246 · コメント 2 件 · 担当者 1 名 ·
crowdin/crowdin-api-client-python の issue をすべて見る
似ている issue
-
repo-audit
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
scverse/repo-health#20 ·
メンテナーはふだん 1 日以内に返信
-
/context/prime scope override double-prefixes an entity-ref project and drops its scoped memoriesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
phasespace-labs/palinode#232 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
collective/icalendar#1858 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
langflow-ai/langflow#15496 ·
メンテナーはふだん 1 日以内に返信