--- Begin Message ---
Subject: |
guix refresh --type=kde does not update all kde packages |
Date: |
Mon, 30 Oct 2017 21:29:50 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
The KDE updater does not update all kde-framework packages:
- Those residing in mirror://kde/stable/frameworks/$VERSION/ are updated,
- Those residing in mirror://kde/stable/frameworks/$VERSION/portingAids/
(mind the additional directory after the version) are *not* updated.
How to reproduce
git checkout 91496dfc9a4c3a708b5c2604fad3e42e101fea04 # master @
2017-1019, kde-frameworks 5.37
./pre-inst-env guix package -A 'attica|kross'
# both packages have v 5.37
./pre-inst-env guix refresh --update --type=kde
./pre-inst-env guix package -A 'attica|kross'
# attica is 5.39, while kross is still 5.37
kross is in the portingAids subdirectory, as you can see at
<ftp://mirrors.mit.edu/kde/stable/frameworks/5.39/portingAids/>
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |
0xBF773B65.asc
Description: application/pgp-keys
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#25020: guix refresh does not discover updates if URLs are "non-standard" |
Date: |
Fri, 24 Nov 2017 18:50:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> Hartmut Goebel <address@hidden> 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’.
--- End Message ---