guix refresh does not discover updates if URLs are "non-standard"

  • Done
  • quality assurance status badge
Details
4 participants
  • Hartmut Goebel
  • Hartmut Goebel
  • Ludovic Courtès
  • Glenn Morris
Owner
unassigned
Submitted by
Hartmut Goebel
Severity
normal
Merged with
H
H
Hartmut Goebel wrote on 24 Nov 2016 18:59
(address . submit@debbugs.gnu.org)
58372A9C.2000205@goebel-consult.de
Hi,

I just updated kde-frameworks to 5.28 and found that not all updates
have been discovered.

Those where the URL is following the standard schema where found:
"mirror://kde/stable/frameworks/" (version-major+minor version) "/" name
"-" version ".tar.xz"))

Those having a different name of the archive or having an additional
directory behind the first version-part have not been found.

Update found for:

(name "extra-cmake-modules")
(version "5.27.0")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))

Update not found for (archive-name has "5" appended):

(name "oxygen-icons")
(version "5.27.0")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
name "5" "-" version ".tar.xz"))

Update not found for (additional directory level):

(name "kross")
(version "5.27.0")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/frameworks/"
(version-major+minor version) "/portingAids/"
name "-" version ".tar.xz"))

--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut

Blog:

Kolumne:
Attachment: 0xBF773B65.asc
Attachment: smime.p7s
G
G
Glenn Morris wrote on 26 Nov 2016 03:48
control message for bug 25020
(address . control@debbugs.gnu.org)
E1cAT2b-0007pB-Mv@fencepost.gnu.org
reassign 25020 guix
G
G
Glenn Morris wrote on 26 Nov 2016 03:52
Re: bug#25020: guix refresh does not discover updates if URLs are "non-standard"
(address . 25020@debbugs.gnu.org)(name . Hartmut Goebel)(address . h.goebel@goebel-consult.de)
v260nbrlzn.fsf@fencepost.gnu.org
This was sent to submit@debbugs with no Package: specified and so ended
up on the help-debbugs list. I have reassigned it to guix.

Hartmut Goebel wrote:

Toggle quote (45 lines)
> Hi,
>
> I just updated kde-frameworks to 5.28 and found that not all updates
> have been discovered.
>
> Those where the URL is following the standard schema where found:
> "mirror://kde/stable/frameworks/" (version-major+minor version) "/" name
> "-" version ".tar.xz"))
>
> Those having a different name of the archive or having an additional
> directory behind the first version-part have not been found.
>
> Update found for:
>
> (name "extra-cmake-modules")
> (version "5.27.0")
> (source (origin
> (method url-fetch)
> (uri (string-append
> "mirror://kde/stable/frameworks/"
> (version-major+minor version) "/"
> name "-" version ".tar.xz"))
>
> Update not found for (archive-name has "5" appended):
>
> (name "oxygen-icons")
> (version "5.27.0")
> (source (origin
> (method url-fetch)
> (uri (string-append
> "mirror://kde/stable/frameworks/"
> (version-major+minor version) "/"
> name "5" "-" version ".tar.xz"))
>
> Update not found for (additional directory level):
>
> (name "kross")
> (version "5.27.0")
> (source
> (origin
> (method url-fetch)
> (uri (string-append
> "mirror://kde/stable/frameworks/"
> (version-major+minor version) "/portingAids/"
> name "-" version ".tar.xz"))
L
L
Ludovic Courtès wrote on 29 Nov 2016 16:15
(address . h.goebel@goebel-consult.de)(address . 25020@debbugs.gnu.org)
87d1he48so.fsf@gnu.org
Hi,

Toggle quote (48 lines)
> Hartmut Goebel wrote:
>
>> Hi,
>>
>> I just updated kde-frameworks to 5.28 and found that not all updates
>> have been discovered.
>>
>> Those where the URL is following the standard schema where found:
>> "mirror://kde/stable/frameworks/" (version-major+minor version) "/" name
>> "-" version ".tar.xz"))
>>
>> Those having a different name of the archive or having an additional
>> directory behind the first version-part have not been found.
>>
>> Update found for:
>>
>> (name "extra-cmake-modules")
>> (version "5.27.0")
>> (source (origin
>> (method url-fetch)
>> (uri (string-append
>> "mirror://kde/stable/frameworks/"
>> (version-major+minor version) "/"
>> name "-" version ".tar.xz"))
>>
>> Update not found for (archive-name has "5" appended):
>>
>> (name "oxygen-icons")
>> (version "5.27.0")
>> (source (origin
>> (method url-fetch)
>> (uri (string-append
>> "mirror://kde/stable/frameworks/"
>> (version-major+minor version) "/"
>> name "5" "-" version ".tar.xz"))
>>
>> Update not found for (additional directory level):
>>
>> (name "kross")
>> (version "5.27.0")
>> (source
>> (origin
>> (method url-fetch)
>> (uri (string-append
>> "mirror://kde/stable/frameworks/"
>> (version-major+minor version) "/portingAids/"
>> name "-" version ".tar.xz"))

Fixed for oxygen-icons in commit
683c5ab70accb909697717bb61741a7692c52c09.

I can’t tell about kross because it’s not committed yet. However, I can
tell the logic behind ‘latest-kde-release’ in (guix gnu-maintenance)
recurses in sub-directories,

Ludo’.
L
L
Ludovic Courtès wrote on 11 Jan 2017 23:10
control message for bug #25020
(address . control@debbugs.gnu.org)
87ziixuu2p.fsf@gnu.org
tags 25020 moreinfo
L
L
Ludovic Courtès wrote on 23 Jan 2017 23:14
Re: bug#25020: guix refresh does not discover updates if URLs are "non-standard"
(address . h.goebel@goebel-consult.de)(address . 25020@debbugs.gnu.org)
87y3y1l8ze.fsf@gnu.org
Hello Hartmut,

Do you still experience the problem described in this report?


Ludo’.

ludo@gnu.org (Ludovic Courtès) skribis:

Toggle quote (56 lines)
>> Hartmut Goebel wrote:
>>
>>> Hi,
>>>
>>> I just updated kde-frameworks to 5.28 and found that not all updates
>>> have been discovered.
>>>
>>> Those where the URL is following the standard schema where found:
>>> "mirror://kde/stable/frameworks/" (version-major+minor version) "/" name
>>> "-" version ".tar.xz"))
>>>
>>> Those having a different name of the archive or having an additional
>>> directory behind the first version-part have not been found.
>>>
>>> Update found for:
>>>
>>> (name "extra-cmake-modules")
>>> (version "5.27.0")
>>> (source (origin
>>> (method url-fetch)
>>> (uri (string-append
>>> "mirror://kde/stable/frameworks/"
>>> (version-major+minor version) "/"
>>> name "-" version ".tar.xz"))
>>>
>>> Update not found for (archive-name has "5" appended):
>>>
>>> (name "oxygen-icons")
>>> (version "5.27.0")
>>> (source (origin
>>> (method url-fetch)
>>> (uri (string-append
>>> "mirror://kde/stable/frameworks/"
>>> (version-major+minor version) "/"
>>> name "5" "-" version ".tar.xz"))
>>>
>>> Update not found for (additional directory level):
>>>
>>> (name "kross")
>>> (version "5.27.0")
>>> (source
>>> (origin
>>> (method url-fetch)
>>> (uri (string-append
>>> "mirror://kde/stable/frameworks/"
>>> (version-major+minor version) "/portingAids/"
>>> name "-" version ".tar.xz"))
>
> Fixed for oxygen-icons in commit
> 683c5ab70accb909697717bb61741a7692c52c09.
>
> I can’t tell about kross because it’s not committed yet. However, I can
> tell the logic behind ‘latest-kde-release’ in (guix gnu-maintenance)
> recurses in sub-directories,
>
> Ludo’.
H
H
Hartmut Goebel wrote on 24 Jan 2017 09:39
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 25020@debbugs.gnu.org)
588712AE.60205@crazy-compilers.com
Am 23.01.2017 um 23:14 schrieb Ludovic Courtès:
Toggle quote (3 lines)
> > 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"))
(sha256
(base32 "06qx87v090d5wxbpqj2sgwhpha7gqmamdx4zffdvc0xa6g1mm6x4"))))
(build-system cmake-build-system)
(home-page "")
(synopsis "")
(description "")
(license license:lgpl2.0)))

--
Regards
Hartmut Goebel

| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
L
L
Ludovic Courtès wrote on 24 Jan 2017 14:15
(name . Hartmut Goebel)(address . h.goebel@crazy-compilers.com)(address . 25020@debbugs.gnu.org)
8760l4sio8.fsf@gnu.org
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

Toggle quote (22 lines)
> 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’.
L
L
Ludovic Courtès wrote on 24 Nov 2017 18:29
control message for bug #29071
(address . control@debbugs.gnu.org)
871skna8li.fsf@gnu.org
merge 29071 25020
L
L
Ludovic Courtès wrote on 24 Nov 2017 18:50
Re: bug#25020: guix refresh does not discover updates if URLs are "non-standard"
(name . Hartmut Goebel)(address . h.goebel@crazy-compilers.com)(address . 25020-done@debbugs.gnu.org)
87wp2f8t2g.fsf@gnu.org
ludo@gnu.org (Ludovic Courtès) skribis:

Toggle quote (29 lines)
> Hartmut Goebel <h.goebel@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:

Toggle snippet (5 lines)
$ ./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

Ludo’.
Closed
H
H
Hartmut Goebel wrote on 10 Sep 2019 19:16
unarchive 29071
(address . control@debbugs.gnu.org)
9c83710e-9716-4216-2851-a3da30efc4a9@goebel-consult.de
unarchive 29071
H
H
Hartmut Goebel wrote on 10 Sep 2019 19:19
Finally fixed
(address . 25020@debbugs.gnu.org)
187c8759-60ab-13f8-a174-3e236bd87ef9@crazy-compilers.com
commit 4eb69bf0d33810886ee118f38989cef696e4c868

--
Regards
Hartmut Goebel

| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
?