Skip to content

feat: match additional lockfiles for lock type#3362

Open
joshsleeper wants to merge 1 commit intoBurntSushi:masterfrom
joshsleeper:jsleeper/feat/additional_lockfiles_for_lock_type
Open

feat: match additional lockfiles for lock type#3362
joshsleeper wants to merge 1 commit intoBurntSushi:masterfrom
joshsleeper:jsleeper/feat/additional_lockfiles_for_lock_type

Conversation

@joshsleeper
Copy link
Copy Markdown

@joshsleeper joshsleeper commented Apr 11, 2026

changes

validation

I created a non-empty junk file in a local locktest/ dir for each of the added patterns and verified that a local run included them

~/repos/ripgrep (jsleeper/feat/additional_lockfiles_for_lock_type)
❯ ll locktest
.rw-r--r-- 5 jsleeper 11 Apr 09:05 .terraform.lock.hcl
.rw-r--r-- 5 jsleeper 11 Apr 09:05 gradle.lockfile
.rw-r--r-- 5 jsleeper 11 Apr 09:06 pnpm-lock.yaml
.rw-r--r-- 5 jsleeper 11 Apr 09:06 pylock.other.toml
.rw-r--r-- 5 jsleeper 11 Apr 09:06 pylock.toml

~/repos/ripgrep (jsleeper/feat/additional_lockfiles_for_lock_type)
❯ cargo run --release -- --type=lock --files-with-matches . locktest/
    Finished `release` profile [optimized + debuginfo] target(s) in 0.02s
     Running `target/release/rg --type=lock --files-with-matches . locktest/`
locktest/pylock.other.toml
locktest/gradle.lockfile
locktest/pylock.toml
locktest/.terraform.lock.hcl
locktest/pnpm-lock.yaml

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