google / google/osv.dev

The importer does not honour ignore_patterns for REST sources

Open
#2,436 1 comment 0 reactions 0 assignees View on GitHub
backlog bug
Dominant language
Go
Stars
2.9k
Forks
369
Avg merge
1d 17h
Merged PRs (30d)
149

Description

**Describe the bug**
https://github.com/google/osv.dev/pull/2434#discussion_r1699322979 identified that https://github.com/google/osv.dev/blob/f182e67869f4963d1cfc406b75953edd46eb6338/docker/importer/importer.py#L652 does not call https://github.com/google/osv.dev/blob/f182e67869f4963d1cfc406b75953edd46eb6338/docker/importer/importer.py#L58 and therefore the `SourceRepo` `ignore_patterns` is not honoured

**Expected behaviour**
`ignore_patterns` behaves consistently for all supported source types

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.