From fb205c5fb1c6f76bc30c950c5304dcfb3a0cd911 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Fri, 3 Feb 2023 01:52:48 +0100 Subject: [PATCH] Fix regression in package selection --- apollo/server/routes/api_updateinfo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apollo/server/routes/api_updateinfo.py b/apollo/server/routes/api_updateinfo.py index ad852e2..0605482 100644 --- a/apollo/server/routes/api_updateinfo.py +++ b/apollo/server/routes/api_updateinfo.py @@ -196,6 +196,8 @@ async def get_updateinfo( for pkg in advisory.packages: if pkg.product_name != product_name: continue + if pkg.repo != repo: + continue if pkg.module_name: collection_short = f"{default_collection_short}__{pkg.module_name}" if collection_short not in collections: