Skip to content

Rewrite .gitignore and bump Strawberry CI to Perl 5.42/5.40 - #189

Merged
dankogai merged 2 commits into
mainfrom
housekeeping/gitignore-and-ci
Jul 30, 2026
Merged

Rewrite .gitignore and bump Strawberry CI to Perl 5.42/5.40#189
dankogai merged 2 commits into
mainfrom
housekeeping/gitignore-and-ci

Conversation

@dankogai

Copy link
Copy Markdown
Owner

What changed

  • .gitignore: rewritten from 183 lines of per-directory listings of enc2xs/MakeMaker artifacts down to 40 lines of pattern-based rules (*.c, *.xs, Makefile, MYMETA.*, pm_to_blib, *_t.*, etc.). The three real tracked sources that would otherwise match are explicitly excepted: !/encengine.c, !/Encode.xs, !/Unicode/Unicode.xs. Also adds .claude/ to the ignore list.
  • .github/workflows/strawberry.yml: CI matrix bumped from Perl 5.38/5.36 to 5.42/5.40, matching the recent README badge update (c1c8f21).

Why

The old .gitignore enumerated every generated file per encoding directory, which meant new generated files needed manual entries. Patterns cover them all uniformly.

Reviewer notes

Both directions were verified: git ls-files -ci --exclude-standard is empty (no tracked file becomes ignored), and git check-ignore confirms every category from the old file — including all enc2xs-generated sources across Byte/CN/EBCDIC/JP/KR/Symbol/TW/Unicode — is still matched. One caveat: since *.c/*.xs are now broad, a newly added real C/XS source will need its own ! exception (git warns on git add of an ignored file, so this can't slip by silently).

🤖 Generated with Claude Code

dankogai and others added 2 commits July 30, 2026 19:57
Collapse 183 lines of per-directory generated-file entries into
pattern-based rules (*.c, *.xs, Makefile, MYMETA.*, *_t.*, etc.),
with explicit exceptions for the real sources encengine.c,
Encode.xs, and Unicode/Unicode.xs. Also ignore .claude/.

Verified no tracked file becomes ignored (git ls-files -ci empty)
and all previously listed artifacts remain covered.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@dankogai
dankogai marked this pull request as ready for review July 30, 2026 10:59
@dankogai
dankogai merged commit 02d817a into main Jul 30, 2026
6 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