pluginupdate.py: normalize input for filtering plugins (#438585)

Replacing . with - to match the names used in our generated derivations.
This commit is contained in:
Austin Horstman
2025-08-30 09:10:36 -05:00
committed by GitHub
@@ -504,13 +504,14 @@ class Editor:
)
_prefetch = functools.partial(prefetch, cache=cache)
to_update_for_filter = [x.replace(".", "-") for x in to_update]
plugins_to_update = (
current_plugin_specs
if len(to_update) == 0
else [
description
for description in current_plugin_specs
if self.filter_plugins_to_update(description, to_update)
if self.filter_plugins_to_update(description, to_update_for_filter)
]
)