Browse Source

CRLF hygiene ahead of the fossil catch-up: glob the vendored sdx patches, LF two strays

The catch-up checkin aborted on CRLF in files outside crlf-glob. Five real
offenders, in two classes needing opposite treatment:

- src/buildsuites/suite_tcl86/patches/* (three files) is vendored sdx source by
  Matt Newman and Jean-Claude Wippler plus the patch derived from it. Upstream
  CRLF, and the patch must stay byte-exact to apply. Added to crlf-glob, which
  is what .fossil-settings/AGENTS.md prescribes for a payload tree that trips
  the prompt - explicitly in preference to reaching for --no-warnings.

- src/modules/oolib-buildversion.txt and src/buildsuites/suite_tcl86/src/main.zig
  are authored punkshell files (4 lines each, fully CRLF) that the root AGENTS.md
  LF preference governs. Converted rather than globbed; globbing src/modules
  would suppress the warning across authored territory.

punkzip's hamlet.txt was a false positive in the first scan - already covered by
the crlf-glob entry for its fixtures directory, where it is deliberately CRLF
byte-exact test data.

Converted in git first so the fossil checkin records identical content; a
content fix applied only fossil-side would desynchronise the two mirrors in the
middle of a catch-up.

Note oolib-buildversion.txt is build-generated, so a future regeneration may
reintroduce CRLF there.

Claude-Session: https://claude.ai/code/session_01YNjnq6oDzecknLg7AuWZgU
Assisted-by: harness=claude; primary-model=claude-opus-5[1m]; api-location=anthropic.com
master
Julian Noble 3 days ago
parent
commit
2c1dec100e
  1. 5
      .fossil-settings/crlf-glob
  2. 8
      src/buildsuites/suite_tcl86/src/main.zig
  3. 6
      src/modules/oolib-buildversion.txt

5
.fossil-settings/crlf-glob

@ -3,8 +3,11 @@
#kit payloads, and vendored-tool test fixtures (vendor/payload files keep their
#upstream endings; the LF preference in root AGENTS.md governs authored text
#files, not these trees). punkzip's hamlet.txt fixture is CRLF byte-exact test
#data - its compression tests pin sizes against it.
#data - its compression tests pin sizes against it. suite_tcl86's patches/ holds
#vendored sdx sources (Matt Newman / Jean-Claude Wippler) plus the patch file
#derived from them - upstream CRLF, kept byte-exact so the patch applies.
src/embedded/*
src/vendorlib/*
src/vfs/*
src/tools/punkzip/src/fixtures/*
src/buildsuites/suite_tcl86/patches/*

8
src/buildsuites/suite_tcl86/src/main.zig

@ -1,4 +1,4 @@
const std = @import("std");
pub const _start = void;
pub const WinMainCRTStartup = void;
const std = @import("std");
pub const _start = void;
pub const WinMainCRTStartup = void;

6
src/modules/oolib-buildversion.txt

@ -1,4 +1,4 @@
0.1.4
#First line must be a tm version number
#all other lines are ignored.
0.1.4
#First line must be a tm version number
#all other lines are ignored.
#0.1.4 - collection add duplicate-key error message no longer misnames the object as 'col_processors' (stray copy-paste in the generic collection class)
Loading…
Cancel
Save