Skip to content

v2022 ← v2023dev1 backports: d/patches: gitlab-rulez: Fix missing settings while applying changes

Vignesh Raman requested to merge apertis/v2023dev2 into apertis/v2022-updates

The apply_changes() function creates lambda functions with a closure over free variables bound at runtime in a loop. Thus, all the Actions are setting the same attribute.

Fix this by assigning the free variables at definition time.

Fixes: https://phabricator.apertis.org/T8029 Signed-off-by: Ariel D'Alessandro ariel.dalessandro@collabora.com

Merge request reports