--exclude "**/*.pyc" does not exclude .pyc files on deploy
まだ誰も着手していません。
評価
調査の方向性
ファイルもテストも指定されていません。deploy exclude オプションを処理する CLI 実装から始めて、-x の glob パターンがどのようにマッチするかを追跡し、Issue にある 3 つのパターンを再現してください。再帰的な .pyc ファイルと pycache ディレクトリがデプロイ中に除外され、サポートされている動作をカバレッジで確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Trying to deploy to shinyapps.io and noticed that rsconnect-python is including the .pyc files from local.
Tried adding "-x '**/*.pyc'" to the command but rsc-p continues to upload/deploy the .pyc files.
Tried adding "-x **/pycache/" --> no effect.
Tried "-x *.pyc" --> no effect. I expect this glob to only find files in the working directory anyway.
Expected:
Either **/*.pyc OR *.pyc should exclude all .pyc files through all subdirectories. Though I would prefer the first glob!
Worst case, **/pycache/ should exclude all pycache sub-directories below current directory.
- 主要言語
- Python
- スター
- 37
- フォーク
- 28
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/rsconnect-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/rsconnect-python#786 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
posit-dev/rsconnect-python#543 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
posit-dev/rsconnect-python#513 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
posit-dev/rsconnect-python#178 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
posit-dev/rsconnect-python#855 ·
posit-dev/rsconnect-python の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/Repo2RLEnv#163 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NousResearch/hermes-agent#121143 ·