Skip to content

feat(rg): add common file types - #1702

Merged
chaliy merged 1 commit into
mainfrom
2026-05-22-rg-batch-23
May 23, 2026
Merged

chaliy merged 1 commit into
mainfrom
2026-05-22-rg-batch-23

Conversation

@chaliy

@chaliy chaliy commented May 23, 2026

Copy link
Copy Markdown
Contributor

What

Add common ripgrep built-in file type definitions to rg.

Why

Bashkit rg rejected common real-rg types like csv, docker, make, ruby, php, xml, sql, kotlin, and swift.

How

  • Add common type globs to RgTypeDatabase.
  • Add real-rg differential coverage for the new type filters.

Risk

  • Low
  • Limited to rg type filtering/type-list behavior.

Checklist

  • Tests added or updated
  • Backward compatibility considered

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit ae9cee9 Commit Preview URL May 23 2026, 02:35 AM

@chaliy
chaliy merged commit efcf197 into main May 23, 2026
34 checks passed
@chaliy
chaliy deleted the 2026-05-22-rg-batch-23 branch May 23, 2026 02:48
chaliy added a commit that referenced this pull request May 30, 2026
## What
Add common ripgrep built-in file type definitions to rg.

## Why
Bashkit rg rejected common real-rg types like csv, docker, make, ruby,
php, xml, sql, kotlin, and swift.

## How
- Add common type globs to RgTypeDatabase.
- Add real-rg differential coverage for the new type filters.

## Risk
- Low
- Limited to rg type filtering/type-list behavior.

## Checklist
- [x] Tests added or updated
- [x] Backward compatibility considered
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