.gitignore adds .idea/, data/, deploy/release.env and deploy/backups/ next to roledesk.db* and .scratch/; config.yaml stays committed as the default. .gitattributes is the boilerplate's: deploy/ and every .sh check out with LF, since a CRLF shell script fails on the server's first line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
837 B
Plaintext
15 lines
837 B
Plaintext
# Line endings, for the files that leave this machine.
|
|
#
|
|
# Everything here ends up on a Linux box — scp'd to the server, or read by
|
|
# `docker build` from a tar. A shell script with CRLF in it fails on the first
|
|
# line with `\r: command not found`, which is a mystifying way to learn about
|
|
# Git for Windows' checkout conversion. Nothing else in the repo is touched:
|
|
# no `* text=auto`, because renormalising every file is not a thing to do
|
|
# quietly while other work is in flight.
|
|
*.sh text eol=lf
|
|
# The Dockerfile and its ignore file live under deploy/ too, so one rule covers
|
|
# everything that ships: the scripts, the server files, and the image recipe.
|
|
# PowerShell reads LF happily; what it cannot read is a non-ASCII byte, which
|
|
# is a different rule and lives in `tests/test_packaging.py`.
|
|
deploy/** text eol=lf
|