Skip to content

Add Go vendor modules extractor#2190

Open
coloth wants to merge 1 commit into
google:mainfrom
coloth:add-go-vendor-modules-extractor
Open

Add Go vendor modules extractor#2190
coloth wants to merge 1 commit into
google:mainfrom
coloth:add-go-vendor-modules-extractor

Conversation

@coloth

@coloth coloth commented Jun 7, 2026

Copy link
Copy Markdown

Summary

  • Add go/vendormodules inventory extractor for Go vendor/modules.txt files.
  • Extract modules that contribute vendored packages, including remote replacements.
  • Register the extractor and document vendor/modules.txt support.

Tests

  • git diff --check
  • go test ./extractor/filesystem/language/golang/vendormodules ./extractor/filesystem/list
  • go test ./extractor/filesystem/language/golang/...
  • go test ./extractor/filesystem/...
  • go mod tidy -diff
  • make lint-plugger
  • make lint
  • umask 022 && CGO_ENABLED=1 go test ./...
  • make scalibr

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