Alexandre Julliard : patches: Also handle vkd3d merge requests.

Alexandre Julliard julliard at winehq.org
Tue Jul 26 16:27:18 CDT 2022


Module: tools
Branch: master
Commit: 6baebd034fbd0ab5f79d6f845c6cb87fe1adfb8f
URL:    https://gitlab.winehq.org/winehq/tools/-/commit/6baebd034fbd0ab5f79d6f845c6cb87fe1adfb8f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jul 26 20:24:29 2022 +0200

patches: Also handle vkd3d merge requests.

---

 patches/update | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/patches/update b/patches/update
index 8f79da9c..7739f3b6 100755
--- a/patches/update
+++ b/patches/update
@@ -86,7 +86,7 @@ my @legend =
 
 my $dir = $ARGV[0] || "$ENV{HOME}/patches";
 my $dest = "/home/winehq/opt/source/patches";
-my $gitlab = "https://gitlab.winehq.org/wine/wine";
+my $gitlab = "https://gitlab.winehq.org/wine";
 my %patches;
 my %messages;
 my %subdirs;
@@ -220,9 +220,9 @@ foreach my $file (readdir DIR)
     if (defined $patch{"msgid"})
     {
         $messages{$patch{"msgid"}} = \%patch;
-        if ($patch{msgid} =~ /<wine-wine-mr(\d+)-v\d+.*\@gitlab-mail-bridge>/)
+        if ($patch{msgid} =~ /<wine-(wine|vkd3d)-mr(\d+)-v\d+.*\@gitlab-mail-bridge>/)
         {
-            $patch{mr} = "$gitlab/-/merge_requests/$1";
+            $patch{mr} = "$gitlab/$1/-/merge_requests/$2";
             $patch{status} = "mergereq" if $patch{status} eq "nil";
         }
     }




More information about the wine-cvs mailing list