Skip to content

build db in grype instead of grype-db#3460

Draft
willmurphyscode wants to merge 8 commits into
anchore:mainfrom
willmurphyscode:build-db
Draft

build db in grype instead of grype-db#3460
willmurphyscode wants to merge 8 commits into
anchore:mainfrom
willmurphyscode:build-db

Conversation

@willmurphyscode
Copy link
Copy Markdown
Contributor

No description provided.

willmurphyscode and others added 8 commits May 19, 2026 16:42
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
- when no explicit configs and no -g, synthesize a vunnel provider config
  per -p name so 'db build -p alpine -p alma' works against on-disk data
- PostLoad flattens csv in -p and --skip so '-p alpine,alma' matches --from
- stringMap renders inline yaml ({} / {k: v}) for Env and CompressorCommands
  so 'grype config' output is valid yaml instead of go's map[] format

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
@oss-housekeeper oss-housekeeper Bot added binny dealing with management of binary tools via binny dependencies dealing with project dependencies labels May 22, 2026
var restoredAny bool
fs := afero.NewOsFs()
for {
header, err := tr.Next()
var results map[string]string
for _, match := range allMatches {
for nameIdx, name := range regEx.SubexpNames() {
if nameIdx > len(match) || len(name) == 0 {
var results map[string]string
for _, match := range allMatches {
for nameIdx, name := range regEx.SubexpNames() {
if nameIdx > len(match) || len(name) == 0 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binny dealing with management of binary tools via binny dependencies dealing with project dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants