add support for requirements.txt
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
調査の方向性
まず、Python Dockerfile 生成のエントリーポイントと、インストールコマンドを組み立てるロジックを見つけます。入力の一つとしてリポジトリルートの requirements.txt を使用し、もう一つとして存在しないファイルを使用します。ファイルが存在する場合にのみ依存関係がインストールされ、存在しない場合はそのステップがスキップされることを確認できれば完了です。関連するプロジェクトのテストを実行して、両方のケースを検証します。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
Make the python dockerfile run pip install requirements.txt if the file exists at the root
we could inline it with something like [ -f "/requirements.txt" ] && pip install requirements.txt so that it only runs if the file is there
Mention what platform you want to support the new feature
oss draft
Describe the solution you'd like
when a repo is supplied to draft with a requirements.txt, it should install them
when a repo is supplied without a requirements.txt, this step should be skipped
Describe alternatives you've considered
making a new prompt or separated dockerfile for "python_with_requirements"- but this seems like extra complexity and maintenance burden when we could just add it to the one dockerfile we already have
Additional context
- 主要言語
- Go
- スター
- 644
- フォーク
- 74
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/draft のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
enhancement needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
kind/cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
kubernetes-sigs/kueue#15947 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sympozium-ai/sympozium#627 ·