commit:     72aaa0c56c640f7d85d12bbbaa0f1ec9d33f95f9
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Sat Feb 22 19:12:17 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 11 05:19:55 2025 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=72aaa0c5

pym/gentoolkit/equery/meta: remove unnecessary .git suffixes

I have noticed that the browser redirects me to stuff without .git so I
have changed it so that equery m spits out a link that can be pasted to
the browser without change.

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Part-of: https://github.com/gentoo/gentoolkit/pull/54
Closes: https://github.com/gentoo/gentoolkit/pull/54
Signed-off-by: Sam James <sam <AT> gentoo.org>

 pym/gentoolkit/equery/meta.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py
index de5631b..2eeb9fb 100644
--- a/pym/gentoolkit/equery/meta.py
+++ b/pym/gentoolkit/equery/meta.py
@@ -199,9 +199,9 @@ def format_upstream(upstream):
             "cpe": "remote-id",
             "cran": "https://cran.r-project.org/web/packages/remote-id/";,
             "ctan": "https://ctan.org/pkg/remote-id";,
-            "freedesktop-gitlab": 
"https://gitlab.freedesktop.org/remote-id.git/";,
+            "freedesktop-gitlab": "https://gitlab.freedesktop.org/remote-id";,
             "gitlab": "https://gitlab.com/remote-id";,
-            "gnome-gitlab": "https://gitlab.gnome.org/remote-id.git/";,
+            "gnome-gitlab": "https://gitlab.gnome.org/remote-id";,
             "google-code": "https://code.google.com/archive/p/remote-id/";,
             "hackage": "https://hackage.haskell.org/package/remote-id";,
             "heptapod": "https://foss.heptapod.net/remote-id";,

Reply via email to