From a188db4257694ce5f5490a795e842ad2cf510b14 Mon Sep 17 00:00:00 2001 From: Jason Shepherd Date: Mon, 23 Sep 2024 10:54:22 +1000 Subject: [PATCH] Test Red Hat Feed (#2578) Pushed the Red Hat OSV records to a temporary Github repository for testing. Actually content will be published to a Rest API as outlined in the osv-schema PR: https://github.com/ossf/osv-schema/pull/257 Co-authored-by: Oliver Chang --- osv/ecosystems/_ecosystems.py | 1 + source_test.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/osv/ecosystems/_ecosystems.py b/osv/ecosystems/_ecosystems.py index c8a911e62e8..1bc16bba3cc 100644 --- a/osv/ecosystems/_ecosystems.py +++ b/osv/ecosystems/_ecosystems.py @@ -64,6 +64,7 @@ 'Linux': OrderingUnsupportedEcosystem(), 'OSS-Fuzz': OrderingUnsupportedEcosystem(), 'Photon OS': OrderingUnsupportedEcosystem(), + 'Red Hat': OrderingUnsupportedEcosystem, } # Semver-based ecosystems, should correspond to _ecosystems above. diff --git a/source_test.yaml b/source_test.yaml index c390e1e0350..ae29deefa75 100644 --- a/source_test.yaml +++ b/source_test.yaml @@ -256,6 +256,18 @@ link: 'https://github.com/RConsortium/r-advisory-database/blob/main/' editable: False +- name: 'redhat-stage' + versions_from_repo: False + type: 0 + ignore_patterns: ['^(?!RH[BES]{1}A-).*$'] + repo_url: 'https://github.com/jasinner/redhat-osv.git' + detect_cherrypicks: False + extension: '.json' + db_prefix: ['RHBA-', 'RHEA-', 'RHSA-'] + ignore_git: False + link: 'https://github.com/jasinner/redhat-osv/blob/main/' + editable: False + - name: 'rockylinux' versions_from_repo: False type: 1