unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25020: guix refresh does not discover updates if URLs are "non-standard"
       [not found] <58372A9C.2000205@goebel-consult.de>
@ 2016-11-26  2:52 ` Glenn Morris
  2016-11-29 15:15   ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Glenn Morris @ 2016-11-26  2:52 UTC (permalink / raw)
  To: 25020; +Cc: Hartmut Goebel


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:

> 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"))

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25020: guix refresh does not discover updates if URLs are "non-standard"
  2016-11-26  2:52 ` bug#25020: guix refresh does not discover updates if URLs are "non-standard" Glenn Morris
@ 2016-11-29 15:15   ` Ludovic Courtès
  2017-01-23 22:14     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2016-11-29 15:15 UTC (permalink / raw)
  To: h.goebel; +Cc: 25020

Hi,

> 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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25020: guix refresh does not discover updates if URLs are "non-standard"
  2016-11-29 15:15   ` Ludovic Courtès
@ 2017-01-23 22:14     ` Ludovic Courtès
  2017-01-24  8:39       ` Hartmut Goebel
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2017-01-23 22:14 UTC (permalink / raw)
  To: h.goebel; +Cc: 25020

Hello Hartmut,

Do you still experience the problem described in this report?

  https://bugs.gnu.org/25020

Ludo’.

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

>> 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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25020: guix refresh does not discover updates if URLs are "non-standard"
  2017-01-23 22:14     ` Ludovic Courtès
@ 2017-01-24  8:39       ` Hartmut Goebel
  2017-01-24 13:15         ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Hartmut Goebel @ 2017-01-24  8:39 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 25020

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"))
       (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 |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25020: guix refresh does not discover updates if URLs are "non-standard"
  2017-01-24  8:39       ` Hartmut Goebel
@ 2017-01-24 13:15         ` Ludovic Courtès
  2017-11-24 17:50           ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2017-01-24 13:15 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: 25020

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.

We’ll see once kross is committed.

Thanks for the clarification!

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#25020: guix refresh does not discover updates if URLs are "non-standard"
  2017-01-24 13:15         ` Ludovic Courtès
@ 2017-11-24 17:50           ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-11-24 17:50 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: 25020-done

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

> 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:

--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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-24 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <58372A9C.2000205@goebel-consult.de>
2016-11-26  2:52 ` bug#25020: guix refresh does not discover updates if URLs are "non-standard" Glenn Morris
2016-11-29 15:15   ` Ludovic Courtès
2017-01-23 22:14     ` Ludovic Courtès
2017-01-24  8:39       ` Hartmut Goebel
2017-01-24 13:15         ` Ludovic Courtès
2017-11-24 17:50           ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).