Subject: Re: bug#25020: guix refresh does not discover updates if URLs are "non-standard"

From: [email-masked] (Ludovic Courtès)
Date: Tue, 24 Jan 2017 14:15:35 +0100

Hartmut Goebel <[email-masked]> skribis:

> Am 23.01.2017 um 23:14 schrieb Ludovic Courtès:
>> > Fixed for oxygen-icons in commit
>> > 683c5ab70accb909697717bb61741a7692c52c09.
>
> For  oxygen-icons  (those with a number behind the name), refresh works.
>
>
> For "kross" (additional directory level), it does not. Kross is still in
> my work-pipeline, so here is the WIP (stripped down):
>
> (define-public kross
>   (package
>     (name "kross")
>     (version "5.28.0")
>     (source
>      (origin
>        (method url-fetch)
>        (uri (string-append
>              "mirror://kde/stable/frameworks/"
>              (version-major+minor version) "/portingAids/"
>              name "-" version ".tar.xz"))

I see.

I suggest that we address it by specifying an ‘ftp-directory’ package
property in this case, just like the GNU updater does.

We’ll see once kross is committed.

Thanks for the clarification!

Ludo’.