Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit cd22c00

Browse files
committed
Update lockfile patterns in analyzer and diff_driver for additional formats
1 parent 54ddabd commit cd22c00

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,6 @@ git-pkgs uses [ecosystems-bibliothecary](https://github.com/ecosyste-ms/biblioth
431431

432432
Actions, BentoML, Bower, Cargo, Carthage, Clojars, CocoaPods, Cog, Conda, CPAN, CRAN, Docker, Dub, DVC, Elm, Go, Hackage, Haxelib, Hex, Homebrew, Julia, Maven, Meteor, MLflow, npm, NuGet, Ollama, Packagist, Pub, PyPI, RubyGems, Shards, SwiftPM, Vcpkg
433433

434-
SBOM formats (CycloneDX, SPDX) are not supported as they duplicate information from the actual lockfiles.
435-
436434
## Contributing
437435

438436
Bug reports, feature requests, and pull requests are welcome. If you're unsure about a change, open an issue first to discuss it.

lib/git/pkgs/analyzer.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ class Analyzer
1313
Gemfile Gemfile.lock gems.rb gems.locked *.gemspec
1414
package.json package-lock.json yarn.lock npm-shrinkwrap.json pnpm-lock.yaml bun.lock npm-ls.json
1515
setup.py req*.txt req*.pip requirements/*.txt requirements/*.pip requirements.frozen
16-
Pipfile Pipfile.lock pyproject.toml poetry.lock uv.lock pylock.toml
16+
Pipfile Pipfile.lock pyproject.toml poetry.lock uv.lock pylock.toml pdm.lock
1717
pip-resolved-dependencies.txt pip-dependency-graph.json
18-
pom.xml ivy.xml build.gradle build.gradle.kts gradle-dependencies-q.txt
18+
pom.xml ivy.xml build.gradle build.gradle.kts gradle-dependencies-q.txt gradle.lockfile verification-metadata.xml
1919
maven-resolved-dependencies.txt sbt-update-full.txt maven-dependency-tree.txt maven-dependency-tree.dot
2020
Cargo.toml Cargo.lock
2121
go.mod go.sum glide.yaml glide.lock Godeps Godeps/Godeps.json
2222
vendor/manifest vendor/vendor.json Gopkg.toml Gopkg.lock go-resolved-dependencies.json
2323
composer.json composer.lock
2424
Podfile Podfile.lock *.podspec *.podspec.json
2525
packages.config packages.lock.json Project.json Project.lock.json
26-
*.nuspec paket.lock *.csproj project.assets.json
26+
*.nuspec paket.lock *.csproj project.assets.json *.deps.json
2727
bower.json bentofile.yaml
2828
META.json META.yml
2929
environment.yml environment.yaml
30-
cog.yaml versions.json MLmodel DESCRIPTION
30+
cog.yaml versions.json MLmodel DESCRIPTION renv.lock
3131
pubspec.yaml pubspec.lock
3232
dub.json dub.sdl
3333
REQUIRE
3434
shard.yml shard.lock
3535
elm-package.json elm_dependencies.json elm-stuff/exact-dependencies.json
36-
haxelib.json
36+
haxelib.json stack.yaml stack.yaml.lock
3737
action.yml action.yaml .github/workflows/*.yml .github/workflows/*.yaml
3838
Dockerfile docker-compose*.yml docker-compose*.yaml
3939
dvc.yaml vcpkg.json

lib/git/pkgs/commands/diff_driver.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,23 @@ class DiffDriver
2424
gems.locked
2525
glide.lock
2626
go.sum
27+
gradle.lockfile
2728
mix.lock
2829
npm-shrinkwrap.json
2930
package-lock.json
3031
packages.lock.json
3132
paket.lock
33+
pdm.lock
3234
pnpm-lock.yaml
3335
poetry.lock
3436
project.assets.json
3537
pubspec.lock
3638
pylock.toml
39+
renv.lock
3740
shard.lock
41+
stack.yaml.lock
3842
uv.lock
43+
verification-metadata.xml
3944
yarn.lock
4045
].freeze
4146

0 commit comments

Comments
 (0)