Module: tools Branch: master Commit: 0c4caff2510bca35a93e9215448a0f78c9c36ee0 URL: https://source.winehq.org/git/tools.git/?a=commit;h=0c4caff2510bca35a93e9215...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 14 18:48:19 2022 +0200
patches: Use gitlab instead of gitweb.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
patches/update-regressions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/patches/update-regressions b/patches/update-regressions index f617b980..f37939a1 100755 --- a/patches/update-regressions +++ b/patches/update-regressions @@ -29,7 +29,7 @@ binmode STDOUT, ':utf8'; $ENV{"GIT_DIR"} = "/home/winehq/opt/source/git/wine.git";
my $bugzilla_base = "//bugs.winehq.org/show_bug.cgi?id="; -my $gitweb_base = "//source.winehq.org/git/wine.git/commit/"; +my $gitlab_base = "https://gitlab.winehq.org/wine/wine/-/commit/"; my $dest = "/home/winehq/opt/source";
my %regressions; @@ -95,7 +95,7 @@ sub print_bugs($@) printf OUTPUT "<tr class="regression %s">", ++$row & 1 ? "odd" : "even"; printf OUTPUT "<td class="id"><a href="%s%u">%u</a></td>", $bugzilla_base, $id, $id; printf OUTPUT "<td class="sha1"><a href="%s%s" title="%s">%s</a></td>", - $gitweb_base, escapeHTML($commit_id), + $gitlab_base, escapeHTML($commit_id), escapeHTML($commits{$commit_id}->{"subject"}), escapeHTML(substr($commit_id,0,12)); printf OUTPUT "<td class="subject" width="100%%"><a href="%s%u">%s</a></td></tr>\n", $bugzilla_base, $id, escapeHTML($regression->{"description"});