Skip to content

Store files byte-exact: no line-ending conversion at checkout - #78

Merged
FavioVazquez merged 1 commit into
mainfrom
fix/plugin-directory-byte-exact
Oct 15, 2026
Merged

FavioVazquez merged 1 commit into
mainfrom
fix/plugin-directory-byte-exact

Conversation

@FavioVazquez

Copy link
Copy Markdown
Owner

What changed

The repository now stores every file exactly as it is installed. .gitattributes is * -text, so nothing is converted at checkout, and the Windows launchers (showtime.cmd, showtime.ps1, scripts/e2e-windows.ps1) are committed with CRLF line endings. scripts/check_release.py and the structure test now fail on any attribute that converts content, on a Windows launcher with LF-only lines, and on a shell script containing CR bytes.

Why

Plugin directories compare the installed files with the repository. A checkout that rewrites line endings made the two differ byte for byte on some systems. With no conversion, an installed plugin matches the repository exactly.

Behaviour

No behaviour change for users: the launchers run as before, and no code path changed.

Files

.gitattributes, the three Windows launchers, scripts/check_release.py, skills/showtime/tests/test_skill_structure.py, and a CHANGELOG entry.

@FavioVazquez FavioVazquez self-assigned this Oct 15, 2026
@FavioVazquez
FavioVazquez merged commit fa09c93 into main Oct 15, 2026
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant