From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 56318@debbugs.gnu.org
Subject: [bug#56318] [PATCH] import: github: Fix updater.
Date: Thu, 30 Jun 2022 09:42:21 +0200 [thread overview]
Message-ID: <49ed104eb9117af150eea008a2029cfae703c79a.1656574934.git.h.goebel@crazy-compilers.com> (raw)
* guix/import/github.scm(updated-url): For one one of the
cases add missing 'prefix' and set new version.
---
guix/import/github.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/import/github.scm b/guix/import/github.scm
index 51118d1d39..e1a1af7133 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -95,8 +96,8 @@ false if none is recognized"
((string-suffix? (string-append "/releases/download/" repo "-"
version "/" repo "-" version ext)
url)
- (string-append "/releases/download/" repo "-" version "/" repo "-"
- version ext))
+ (string-append prefix "/releases/download/" repo "-" new-version "/"
+ repo "-" new-version ext))
(#t #f))) ; Some URLs are not recognised.
#f))
base-commit: d7449142f56cb0b34860f4ac90fc322aee32d177
--
2.30.4
next reply other threads:[~2022-06-30 7:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 7:42 Hartmut Goebel [this message]
2022-07-08 21:44 ` [bug#56318] [PATCH] import: github: Fix updater Ludovic Courtès
2022-07-11 13:36 ` bug#56318: " Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49ed104eb9117af150eea008a2029cfae703c79a.1656574934.git.h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=56318@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).