guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66396] [PATCH] guix: Add case to Github url updater.


From: paul
Subject: [bug#66396] [PATCH] guix: Add case to Github url updater.
Date: Tue, 24 Oct 2023 00:05:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

Hi Ludo’ ,

On 10/23/23 23:55, Ludovic Courtès wrote:
+           ((string-match (string-append "/releases/download/(v)?" version "/"
+                                         name ".*" ext "$")
+                          url)
+            (string-replace-substring url version new-version))
Is it not already covered by one of the other cases?  Do you have an
example URL matched by this new clause?
Yes, this patch fixes some failings I got from urls such as:

https://github.com/derailed/k9s/releases/download/v0.27.4/k9s_Linux_amd64.tar.gz

https://github.com/metal3d/katenary/releases/download/2.0.0-beta2/katenary-linux-amd64

https://github.com/kubernetes/kompose/releases/download/v1.30.0/kompose-linux-amd64


Thank you for your time,


giacomo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]