cultlib byte gate: CultMath source checks out CRLF everywhere, and the build refuses a tree without .git
Soul s2 found the CultMath bytes follow the checkout's line endings (an LF clone built 53084D94, not the tracked 6781BF20) and its path when no .git maps the root to /_/. .gitattributes pins packages/cultmath/src/** to eol=crlf, which the tracked DLL was built from, so no re-release. The build script refuses up front without .git, and the refusal and docs name line endings beside source and toolchain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
942e4033b2
commit
303476db6c
3 changed files with 30 additions and 7 deletions
|
|
@ -301,9 +301,16 @@ CultMath package's version and every `CultMath.dll` it built equals the one
|
|||
that package tracks, byte for byte. Any CultMath source change therefore means:
|
||||
release `org.gamecult.cultmath`, declare its new version in
|
||||
`org.gamecult.cultlib`, then release `org.gamecult.cultlib`. The bytes also
|
||||
depend on the .NET SDK and host, which no `global.json` pins, so the same
|
||||
refusal at unchanged CultMath source means this toolchain differs from the one
|
||||
that built the tracked DLL.
|
||||
depend on the checkout and the toolchain. `.gitattributes` pins CultMath
|
||||
source to CRLF on every checkout, because the tracked DLL was built from CRLF
|
||||
source and line endings reach the DLL through the pdb's document checksums; a
|
||||
clone checked out before that rule may still hold LF files (`git ls-files
|
||||
--eol packages/cultmath/src` shows `w/lf`) until they are checked out again.
|
||||
The build needs a git checkout, and refuses up front without `.git`: the repo
|
||||
root maps to `/_/` through git, so an archive or source zip would write its
|
||||
own path into the DLL. No `global.json` pins the .NET SDK, so the same refusal
|
||||
at unchanged source and CRLF checkout means this SDK or host differs from the
|
||||
one that built the tracked DLL.
|
||||
|
||||
### Coverage gaps
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue