28 Jul
2022
28 Jul
'22
7:48 p.m.
Module: tools Branch: master Commit: 7792ce8b434654f138bf92d6831484de8fdba82c URL: https://gitlab.winehq.org/winehq/tools/-/commit/7792ce8b434654f138bf92d68314... Author: Jeremy White <jwhite(a)codeweavers.com> Date: Tue Jul 26 15:56:26 2022 -0500 gitlab: Use a class for the assignment logic. This avoids the use of global variables or holding a bunch of state structures and passing them around. This is motivated by the further patch to assign reviewers based on commits in a merge request not by the submitter. --- gitlab/gitlab-to-mail/assign.py | 206 +++++++++++++++++----------------- gitlab/gitlab-to-mail/gitlabtomail.py | 16 +-- 2 files changed, 113 insertions(+), 109 deletions(-)