Skip to content

Commit

Permalink
Remove support for v1 & v2 schemas (#434)
Browse files Browse the repository at this point in the history
* remove support for v1 & v2 schemas

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* fix python tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
  • Loading branch information
wagoodman authored Nov 21, 2024
1 parent f9d2440 commit e161a07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manager/src/grype_db_manager/data/schema-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
{
"schema": "1",
"grype-version": "v0.7.0",
"supported": true
"supported": false
},
{
"schema": "2",
"grype-version": "v0.12.1",
"supported": true
"supported": false
},
{
"schema": "3",
Expand Down
2 changes: 1 addition & 1 deletion manager/tests/unit/db/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def test_grype_version():


def test_supported_schema_versions():
assert schema.supported_schema_versions() == [1, 2, 3, 4, 5]
assert schema.supported_schema_versions() == [3, 4, 5]

0 comments on commit e161a07

Please sign in to comment.