Commit Graph

10 Commits

Author SHA1 Message Date
Christoph Reiter
bf40a8d007 pypi: stop guessing the pypi name based on the package name
To avoid false positives in case there is "python-foo" and "foo" in the repo.
Also rename/comment some things to make them more clear.
2025-01-17 11:06:18 +01:00
Christoph Reiter
b6a05b9f93 pypi: don't use it just as a fallback for new versions
In case Arch and pypi both had the package we would prefer Arch.
While that helps in case Arch tries to keep older versions to keep
everything compatible, there are cases where things are outdated
in Arch and updates happend despite being in conflict,
so in reality we need to check ourselves anyway.
2024-12-26 12:44:17 +01:00
Christoph Reiter
2b9af9419c sbom: adjust for sbom mapping changes
The "name" of the sbom components no longer contain the pkgbase
we can use to map vulns. Instead components now have one ore more
properties with the key "msys2:pkgbase" and the value being the pkgbase.
2024-12-23 15:32:57 +01:00
Christoph Reiter
1db24694a1 Update deps
one small typing fix uncovered by newer mypy
2024-12-06 18:00:01 +01:00
Christoph Reiter
8c0c9b65e7 Fix pydantic deprecation warning 2024-09-15 16:01:17 +02:00
Christoph Reiter
99a86f1ca4 run: add CLI option to skip external sources
makes testing faster in some cases
2024-06-30 15:55:53 +02:00
Christoph Reiter
a752129010 pypi: normalize package names during lookup
After c23f1b58e4
the names in the pypi cache are normalized, so we need to match that.
2024-03-24 16:32:27 +01:00
Christoph Reiter
076ecee1f5 remove some debug prints 2024-03-24 11:35:18 +01:00
Christoph Reiter
9bdd3d22b1 Expose matched CVEs on the outofdate and the package pages 2024-03-24 11:34:00 +01:00
Christoph Reiter
eab53769bd Split up the code for the different external sources 2024-01-12 17:40:21 +01:00