sourcebot/packages/backend
Jose Hernandez e20d514569
Some checks are pending
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Waiting to run
Publish to ghcr / merge (push) Blocked by required conditions
Update Roadmap Released / update (push) Waiting to run
feat(bitbucket): support glob patterns in repository exclusions (#620)
* feat(bitbucket): support glob patterns in repository exclusions

Update Bitbucket Cloud and Server exclusion logic to support glob
patterns (e.g., "org/repo*") in the exclude.repos configuration,
matching the documented behavior and aligning with other providers
(GitHub, GitLab, Gitea, Azure DevOps).

Changes:
- Add micromatch import for pattern matching
- Replace Array.includes() with micromatch.isMatch() in
  cloudShouldExcludeRepo and serverShouldExcludeRepo functions
- Add reason logging for exclusion decisions to match GitHub's pattern

This enables users to exclude repositories using wildcard patterns
as documented in the Bitbucket Cloud connection documentation.

* update changelog

---------

Co-authored-by: Jose Hernandez <jose.hernandez@emilabs.ai>
Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-11-17 14:33:39 -08:00
..
src feat(bitbucket): support glob patterns in repository exclusions (#620) 2025-11-17 14:33:39 -08:00
.gitignore v3 effort (#158) 2025-03-31 22:34:42 -07:00
package.json fix(worker): Fix issue where connections would always sync on startup (#613) 2025-11-11 20:31:08 -08:00
tsconfig.json v3 effort (#158) 2025-03-31 22:34:42 -07:00
vitest.config.ts chore(worker,web): Repo indexing stability improvements + perf improvements to web (#563) 2025-10-18 16:31:22 -07:00