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

From: paul <[email-masked]>
Date: Tue, 24 Oct 2023 00:05:04 +0200

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/v||0.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/v||1.30.0||/kompose-linux-amd64|

Thank you for your time,

giacomo