ALT Linux Bugzilla
– Attachment 19800 Details for
Bug 56431
gr-batch-watch-standalone формирует некорректные версии на GitHub/GitLab, если Vcs содержит .git
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч с удалением .git в _watch_msg
0001-fix-remove-.git-from-_watch_msg.patch (text/plain), 722 bytes, created by
Максим Слипенко
on 2025-10-17 10:20:34 MSK
(
hide
)
Description:
Патч с удалением .git в _watch_msg
Filename:
MIME Type:
Creator:
Максим Слипенко
Created:
2025-10-17 10:20:34 MSK
Size:
722 bytes
patch
obsolete
>From 30df962502f4bb499f36a885de0ed83d3ccd675a Mon Sep 17 00:00:00 2001 >From: Maxim Slipenko <maks1ms@altlinux.org> >Date: Fri, 17 Oct 2025 10:18:24 +0300 >Subject: [PATCH] fix: remove .git from _watch_msg > >--- > gr-batch-watch-standalone | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/gr-batch-watch-standalone b/gr-batch-watch-standalone >index a8213a8..3558181 100755 >--- a/gr-batch-watch-standalone >+++ b/gr-batch-watch-standalone >@@ -195,6 +195,7 @@ sub _watch_msg { > my ($tag,$url)=@_; > $url =~ s!^https?://!https://!; > $url =~ s,/$,,; >+ $url =~ s/\.git$//; > if ($url=~m!^https://(?:[^\./]+\.)?github\.[^/]+/(?:[^#?]+/)?[^/#?]+$!) { > return $url.'/releases/tag/'.$tag; > # gitlab: >-- >2.50.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56431
: 19800