write-manifest checksum does not match an existing requirements.txt that lists rsconnect
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the write-manifest flow for an existing requirements.txt, then compare the text used for its checksum with the file bundled by deploy manifest. Check how filtering differs for user-provided files, pip freeze, and uv export. Done means the manifest checksum matches the bundled file and rsconnect deploy no longer silently alters user-provided requirements.
索引モデルが issue の本文から書いたものです。
説明
When a requirements.txt file already exists, write-manifest removes every line that contains "rsconnect" before it calculates the checksum, but it does not rewrite the file. The manifest then has the checksum of the filtered text, and the file on disk still has the rsconnect lines. deploy manifest bundles the file from disk, so the checksum does not match. Found while working on #855.
rsconnect deploy is not affected, because it bundles the filtered text. But in that path we silently change a file that the user wrote.
We may want to stop filtering requirements files that the user provides, and keep the filter only for the output of pip freeze and uv export.
- 主要言語
- Python
- スター
- 38
- フォーク
- 28
- 平均マージ
- 10時間 32分
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- 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日 初心者へのやさしさ 64/100
posit-dev/rsconnect-python#854 ·
posit-dev/rsconnect-python の issue をすべて見る
似ている issue
-
New Internshipオープンnew_internship
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
[BUG] Reports tab: "Unban" button tooltip shows raw `{{ip}}` placeholder instead of the IP addressオープンbug javascript ui
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bunkerity/bunkerweb#4001 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google/differential-privacy#516 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
adobe-fonts/source-serif#153 ·