airajena opened a new pull request, #47:
URL: https://github.com/apache/fineract-business-intelligence/pull/47

   ## Summary
   Add `.gitattributes` to force LF line endings on scripts, Dockerfiles, and 
config files, independent of a contributor's local `core.autocrlf` setting.
   
   ## Why
   On Windows checkouts, `core.autocrlf=true` converts shell scripts to CRLF. 
This breaks the container entrypoint scripts with `bad interpreter: /bin/sh^M: 
No such file or directory` — confirmed on 
`docker/postgres-warehouse/initdb/002_create_warehouse_roles.sh`, which 
prevents the warehouse container from starting on a fresh clone.
   
   ## What changed
   - Added `.gitattributes` pinning `eol=lf` for `*.sh`, `*.py`, `*.sql`, 
`*.yml`, `.env*`, `Dockerfile`, and related config files
   - No file content changes — git already stores these as LF; this only fixes 
what gets checked out locally
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to