From df5e0ed1b0b1ceb67bea5d32a7a9c70659e3f64d Mon Sep 17 00:00:00 2001 From: Andrew Pollock Date: Tue, 12 Nov 2024 20:59:52 +1000 Subject: [PATCH 1/9] feat(sources): add more human_links to production (#2844) This commit partially replicates the changes from https://github.com/google/osv.dev/pull/2822 to production, adding additional human_links for records for Rocky Linux (but not yet SuSE), to improve signposting around the desired user journey for data feedback going directly to the source. It also modifies the frontend to not link out for `openSUSE`-prefixed records, because the approach taken in #2822 doesn't seem to work. Part of #2191 --- gcp/appengine/frontend3/src/templates/vulnerability.html | 6 +++--- source.yaml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcp/appengine/frontend3/src/templates/vulnerability.html b/gcp/appengine/frontend3/src/templates/vulnerability.html index 8895573f1eb..243bc5c520c 100644 --- a/gcp/appengine/frontend3/src/templates/vulnerability.html +++ b/gcp/appengine/frontend3/src/templates/vulnerability.html @@ -17,7 +17,7 @@

Suggest an improvement - {% elif vulnerability.human_source_link -%} + {% elif vulnerability.human_source_link and not vulnerability.id.startswith("openSUSE-") -%}