GNU bug report logs - #25020
guix refresh does not discover updates if URLs are "non-standard"

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> goebel-consult.de>

Date: Thu, 24 Nov 2016 18:01:02 UTC

Severity: normal

Tags: moreinfo

Merged with 29071

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #31 received at 25020-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 25020-done <at> debbugs.gnu.org
Subject: Re: bug#25020: guix refresh does not discover updates if URLs are
 "non-standard"
Date: Fri, 24 Nov 2017 18:50:15 +0100
ludo <at> gnu.org (Ludovic Courtès) skribis:

> Hartmut Goebel <h.goebel <at> crazy-compilers.com> 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.

That wouldn’t have worked due to the /frameworks/X.Y/portingAids layout.

Anyway, commit 026f6a42b680207a59beadf0b0b9cc1753f55605 fixes it:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh kross extra-cmake-modules
gnu/packages/kde-frameworks.scm:77:13: extra-cmake-modules would be upgraded from 5.39.0 to 5.40.0
gnu/packages/kde-frameworks.scm:3552:13: info: 5.39.0 is already the latest version of kross
--8<---------------cut here---------------end--------------->8---

Ludo’.




This bug report was last modified 5 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.