write-manifest checksum does not match an existing requirements.txt that lists rsconnect
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 38
- Fork
- 28
- Merge medio
- 10h 32m
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di posit-dev/rsconnect-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
posit-dev/rsconnect-python#786 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
posit-dev/rsconnect-python#543 · 2 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
posit-dev/rsconnect-python#513 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
posit-dev/rsconnect-python#178 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
posit-dev/rsconnect-python#854 ·
Tutte le issue di posit-dev/rsconnect-python
Issue simili
-
New InternshipApertanew_internship
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
-
[BUG] Reports tab: "Unban" button tooltip shows raw `{{ip}}` placeholder instead of the IP addressApertabug javascript ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bunkerity/bunkerweb#4001 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
google/differential-privacy#516 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
adobe-fonts/source-serif#153 ·