static del frontend estratti con CRLF su Windows: test_offline rosso e librerie del setup diverse da quelle validate #81

Closed
opened 2026-10-17 12:10:21 +00:00 by Adriano · 1 comment
Owner

FILE: src/frontend/flask_app/tests/test_offline.py:169 (test_the_shipped_libraries_are_the_ones_that_were_checked).
COSA SI ROMPE: con core.autocrlf=true (daitarn, runner windows:host) i 32 file di testo in src/frontend/flask_app/static escono con CRLF (git ls-files --eol: i/lf w/crlf). Le impronte sha256 di VERSIONS.md non tornano per alpinejs-3.15.12.min.js, pdf-3.11.174.min.js, pdf.worker-3.11.174.min.js, plotly-2.32.0.min.js. build.ps1 copia static/ nel pacchetto: il setup v3.0.0-rc1 contiene le versioni CRLF.
CORREZIONE: .gitattributes alla radice con 'src/frontend/flask_app/static/** text=auto eol=lf' (stesso schema di TieVision-Studio#9), poi nuova estrazione dei file. Nessun cambio nell'indice (gia' LF).
TEST: test_offline.py verde su daitarn; git ls-files --eol -> w/lf per static.

FILE: src/frontend/flask_app/tests/test_offline.py:169 (test_the_shipped_libraries_are_the_ones_that_were_checked). COSA SI ROMPE: con core.autocrlf=true (daitarn, runner windows:host) i 32 file di testo in src/frontend/flask_app/static escono con CRLF (git ls-files --eol: i/lf w/crlf). Le impronte sha256 di VERSIONS.md non tornano per alpinejs-3.15.12.min.js, pdf-3.11.174.min.js, pdf.worker-3.11.174.min.js, plotly-2.32.0.min.js. build.ps1 copia static/ nel pacchetto: il setup v3.0.0-rc1 contiene le versioni CRLF. CORREZIONE: .gitattributes alla radice con 'src/frontend/flask_app/static/** text=auto eol=lf' (stesso schema di TieVision-Studio#9), poi nuova estrazione dei file. Nessun cambio nell'indice (gia' LF). TEST: test_offline.py verde su daitarn; git ls-files --eol -> w/lf per static.
Adriano added the bug label 2026-10-17 12:10:21 +00:00
Author
Owner

Soluzione

ESITO: fatto
FILE: .gitattributes (nuovo) — src/frontend/flask_app/static/** text=auto eol=lf.
COMMIT: 62b5e41 (lavoro/daitarn-tmf-81), merge d652891 in V3.0.0.
PROVA: dopo nuova estrazione git ls-files --eol static -> w/lf; test_offline.py -> 9 passed. PROVA: ramo integrato V3.0.0 d652891 su daitarn, Python 3.13: pytest -n 8 src/backend/tests src/frontend/flask_app/tests packaging/windows/tests -> 911 passed, 4 skipped, 0 failed. Tag v3.0.0-rc2.
NOTA: il setup v3.0.0-rc1 contiene le librerie CRLF; v3.0.0-rc2 e' il primo con quelle validate.

**Soluzione** ESITO: fatto FILE: .gitattributes (nuovo) — src/frontend/flask_app/static/** text=auto eol=lf. COMMIT: 62b5e41 (lavoro/daitarn-tmf-81), merge d652891 in V3.0.0. PROVA: dopo nuova estrazione git ls-files --eol static -> w/lf; test_offline.py -> 9 passed. PROVA: ramo integrato V3.0.0 d652891 su daitarn, Python 3.13: pytest -n 8 src/backend/tests src/frontend/flask_app/tests packaging/windows/tests -> 911 passed, 4 skipped, 0 failed. Tag v3.0.0-rc2. NOTA: il setup v3.0.0-rc1 contiene le librerie CRLF; v3.0.0-rc2 e' il primo con quelle validate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Adriano/TieMeasureFlow#81