We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a386f75 commit 0472f42Copy full SHA for 0472f42
gcp/api/server.py
@@ -1271,6 +1271,14 @@ def query_by_version(
1271
1272
is_semver = ecosystems.is_semver(ecosystem)
1273
supports_comparing = ecosystem_info is not None
1274
+ # TODO(michaelkedar): We don't support grabbing the release number from PURLs
1275
+ # https://github.com/google/osv.dev/issues/3126
1276
+ # This causes many false positive matches in Ubuntu and Alpine in particular
1277
+ # when doing range-based matching.
1278
+ # We have version enumeration for Alpine, and Ubuntu provides versions for us.
1279
+ # Just skip range-based matching if they don't have release numbers for now.
1280
+ if ecosystem in ('Alpine', 'Ubuntu'):
1281
+ supports_comparing = False
1282
1283
bugs = []
1284
if ecosystem:
0 commit comments