Module: vkd3d
Branch: master
Commit: 5749ae4700afde9ae316e91309796db86a7043a0
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/5749ae4700afde9ae316e91309796…
Author: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Date: Thu Aug 4 13:51:28 2022 +0200
vkd3d: Unlock fence worker mutex before exiting.
Pthread mandates that a mutex must be unlocked before being destroyed.
In pratice I doubt this make a difference on any platform (certainly
it doesn't on Linux), but let's comply to standards.
---
libs/vkd3d/command.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c
index e0201d5d..9ae6079c 100644
--- a/libs/vkd3d/command.c
+++ b/libs/vkd3d/command.c
@@ -369,7 +369,10 @@ static void *vkd3d_fence_worker_main(void *arg)
}
if (worker->should_exit)
+ {
+ vkd3d_mutex_unlock(&worker->mutex);
break;
+ }
old_fences_size = cur_fences_size;
old_fences = cur_fences;
Module: tools
Branch: master
Commit: 8251347264b5b60d3954aa9a8aad7ab649e21bdb
URL: https://gitlab.winehq.org/winehq/tools/-/commit/8251347264b5b60d3954aa9a8aa…
Author: Jeremy White <jwhite(a)codeweavers.com>
Date: Mon Aug 8 09:36:27 2022 -0500
Only assign reviewers on the first version of MR.
This avoids an issue that arose when Torge rebased a large
volume of patches which resulted in assignment of MR 564
to much of the world.
---
gitlab/gitlab-to-mail/gitlabtomail.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gitlab/gitlab-to-mail/gitlabtomail.py b/gitlab/gitlab-to-mail/gitlabtomail.py
index 525130e8..221e587e 100755
--- a/gitlab/gitlab-to-mail/gitlabtomail.py
+++ b/gitlab/gitlab-to-mail/gitlabtomail.py
@@ -625,8 +625,8 @@ def process_mr(mr, update_db, assigner):
log(f"MR{iid}v{version} - skipping, has no changes")
return
- # Assign reviewers if there are none currently
- if len(mr['reviewers']) == 0:
+ # Assign reviewers if there are none currently, but only on the first submission
+ if len(mr['reviewers']) == 0 and len(versions) == 1:
full_version = fetch_mr_version(iid, versions[0]['id'])
assigner.assign_reviewers(iid, mr['author'], full_version, update_db)