build: Update push URL regexp for ‘update-guix-package’ script.

* build-aux/update-guix-package.scm (%guix-git-repo-push-url-regexp):
Add pattern for “git@codeberg.org” SSH URLs.

Change-Id: I88d8e3ca6ed4353ad692a919113bb5f3eec44ae5
This commit is contained in:
Ludovic Courtès 2025-07-17 15:25:44 +02:00
parent eb73b0336d
commit b8164e5f0e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017-2018, 2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
@ -126,7 +126,7 @@ COMMIT. PROC receives the temporary directory file name as an argument."
(invoke "git" "worktree" "remove" "--force" tmp-directory))))))
(define %guix-git-repo-push-url-regexp
"(git.guix.gnu.org|codeberg.org/guix)/guix(.git)? \\(push\\)")
"(git.guix.gnu.org|codeberg.org/guix|git@codeberg.org:guix)/guix(.git)? \\(push\\)")
(define-syntax-rule (with-input-pipe-to-string prog arg ...)
(let* ((input-pipe (open-pipe* OPEN_READ prog arg ...))