Skip to content

fix: .cbmignore negation overrides built-in skip directories#543

Open
mvanhorn wants to merge 1 commit into
DeusData:mainfrom
mvanhorn:fix/500-cbmignore-negation-overrides-builtin-skip-dirs
Open

fix: .cbmignore negation overrides built-in skip directories#543
mvanhorn wants to merge 1 commit into
DeusData:mainfrom
mvanhorn:fix/500-cbmignore-negation-overrides-builtin-skip-dirs

Conversation

@mvanhorn

Copy link
Copy Markdown
Contributor

What does this PR do?

Lets a .cbmignore negation pattern (e.g. !obj/) un-skip a directory that is in the built-in ALWAYS_SKIP_DIRS set, so users can opt a normally-skipped directory back into discovery. This ships the negation-override half of #500 the maintainer described; the joint config-key default-override (#497) is deferred.

Refs #500

Checklist

  • Every commit is signed off (git commit -s) — required, CI rejects
    unsigned commits (DCO, see CONTRIBUTING.md)
  • Tests pass locally (make -f Makefile.cbm test)
  • Lint passes (make -f Makefile.cbm lint-ci)
  • New behavior is covered by a test (reproduce-first for bug fixes)

AI was used for assistance.

Implements 2026-06-20-014-fix-cbmignore-negation-overrides-builtin-skip-dirs.

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
@DeusData

Copy link
Copy Markdown
Owner

Thanks @mvanhorn — this reviewed clean and is ready (the negation-override logic is sound and well-tested). It now conflicts with main (src/discover/discover.c). Could you rebase on latest main? I'll merge once it's conflict-free. 🙏

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.

2 participants