testcontainers / testcontainers/testcontainers-python
Compose should use `compose_file_name=[]` or `None` by default
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 386
- 平均マージ
- 4時間 40分
- マージ済み PR(30日)
- 1
説明
For some reason docker-compose up -d works subtly differently than docker-compose up -d -f docker-compose.yml when there are overrides files. I'm not sure why, but passing compose_file_name=[] fixes things for me locally as it doesn't build the -f list.
I think this should be the default, rather than defaulting to a specific file name.
Also, since it actually supports a list, the parameter name should be different so this is obvious
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず compose_file_name パラメータと、docker-compose コマンドの -f リストを構築するコードを見つけます。デフォルトの動作を、明示的な空のリストまたは None の場合と比較し、パラメータ名を変更すべきか判断する前に、そのパラメータが他の場所でどのように使われているかを確認します。デフォルトの呼び出しで override ファイルが一貫して処理され、サポートされているリスト値が明確に表現されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker-compose, python
- 領域
- devops
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100