Open JeanGarf opened 4 months ago
LF
git has configuration to automatically convert between CRLF and LF see https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#global-settings-for-line-endings
Also: can you give copy paste of full logs, just to see ?
BUG On Windows, after "docker compose up -d", we get the following error :
bash: ./script: cannot execute: required file not found
ANALYSIS This is due to the fact that *.sh file are CRLF instead of LF
EXPECTED CORRECTION Add .gitattributes to checkout *.sh with LF
I have one question:
git
to always, auto convert CRLF/LFEn modifiant le .gitattributes dans le projet, comme j'ai commencé à le faire dans la branche feature/#13_sh_lf, ça sera valable pour toute personne qui clone le repo, alors que si je le fais dans mon .gitattributes perso, ça ne fonctionnera que chez moi.
Par contre, il faut peut-être que je le complète encore.
On verra ça samedi, car j'ai essayé de re-générer mes images Docker et ça a fini par re-marcher, mais j'ai dû relancer le "docker compose up -d" une bonne dizaine de fois
BUG On Windows, after "docker compose up -d", we get the following error :
bash: ./script: cannot execute: required file not found
ANALYSIS This is due to the fact that *.sh file are CRLF instead of LF
EXPECTED CORRECTION Add .gitattributes to checkout *.sh with LF