Skip to content

Conversation

@dbinky
Copy link
Owner

@dbinky dbinky commented Jan 6, 2026

Release v0.7.1

This release fixes a Windows-specific bug and improves the installer experience.

Changes

Bug Fixes:

  • Fix Windows path separator handling in matchDoubleStarPattern - .venv/ and similar directories were being indexed despite ignore patterns due to backslash vs forward slash mismatch

Improvements:

  • Add .venv and venv to default exclude patterns (common Python virtual environments)
  • Add getting started instructions to both bash and PowerShell installers

Files Changed

  • internal/daemon/ignorer.go: Cross-platform path normalization
  • internal/config/defaults.go: New default exclude patterns
  • internal/daemon/ignorer_test.go: 417 lines of comprehensive tests
  • internal/config/config_test.go: Test assertions for new defaults
  • scripts/install.sh and scripts/install.ps1: Post-install instructions

Test Plan

  • All existing tests pass
  • 417+ new tests for Windows path scenarios
  • CI passes on Linux, macOS, and Windows

🤖 Generated with Claude Code

Ryan and others added 3 commits January 6, 2026 08:37
The matchDoubleStarPattern function was not normalizing path separators,
causing patterns like **/.venv/** to fail on Windows where paths use
backslashes. This resulted in .venv directories being indexed despite
being in .gitignore or .pommelignore.

Changes:
- Use explicit strings.ReplaceAll() to convert backslashes to forward
  slashes in matchDoubleStarPattern (filepath.ToSlash only converts the
  OS-native separator)
- Add handling for **/.venv/** style patterns (directory with content)
- Add handling for .venv/** patterns (without leading **)
- Trim trailing slashes to avoid false matches on directory-only paths
- Add .venv and venv to default exclude patterns
- Add comprehensive cross-platform tests for path separator handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
After installation completes, both bash and PowerShell installers now
display clear getting started steps:
1. cd <your project directory>
2. pm init
3. pm start

Also includes a helpful tip about using 'pm status' to monitor indexing
progress while noting that Pommel works with a partial index too.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
fix: Windows path separator handling in ignorer + installer improvements
@dbinky dbinky merged commit 7a87bf6 into main Jan 6, 2026
21 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