cloudfoundry-community / cloudfoundry-community/cf-python-client
health-check-type is ignored from manifest.yml when pushing application
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 55
- フォーク
- 54
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When using the pushoperation health-check-type and related fields are ignored from a manifest file.
This is caused by the v2 api of cf using the same field names, but the dashes are converted to underscores.
The fields with dashes are dropped in _generate_application_update_request in apps.py because AppManager.APPLICATION_FIELDS does not contain them, but the underscored versions.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
apps.py の _generate_application_update_request から始め、AppManager.APPLICATION_FIELDS を調べて、manifest.yml のハイフン区切りの health-check フィールドと、アンダースコア区切りの v2 API 名を比較します。これらのマニフェストフィールドを指定してアプリケーションを push したときに、その値が破棄されず保持されて送信されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 55/100