Skip to content

Commit

Permalink
osv: disable more ecosystems
Browse files Browse the repository at this point in the history
Disable more OSV ecosystems for situations where we already have a
dedicated updater.

Signed-off-by: crozzy <[email protected]>
  • Loading branch information
crozzy committed Oct 28, 2024
1 parent 2627978 commit 73859ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions updater/osv/osv.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,20 @@ func (f *Factory) UpdaterSet(ctx context.Context) (s driver.UpdaterSet, err erro

// Ignore is a set of incoming ecosystems that we can throw out immediately.
var ignore = map[string]struct{}{
"almalinux": {}, // Currently not supported.
"alpine": {}, // Have a dedicated alpine updater.
"android": {}, // AFAIK, there's no Android container runtime.
"chainguard": {}, // Currently not supported.
"debian": {}, // Have a dedicated debian updater.
"github actions": {}, // Shouldn't be in containers?
"linux": {}, // Containers have no say in the kernel.
"opensuse": {}, // Have a dedicated SUSE updater.
"oss-fuzz": {}, // Seems to only record git revisions.
"red hat": {}, // Have a dedicated Red Hat VEX updater.
"rocky linux": {}, // Currently not supported.
"suse": {}, // Have a dedicated SUSE updater.
"ubuntu": {}, // Have a dedicated ubuntu updater.
"wolfi": {}, // Currently not supported.
}

type updater struct {
Expand Down

0 comments on commit 73859ed

Please sign in to comment.