From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25020: guix refresh does not discover updates if URLs are "non-standard" Date: Fri, 24 Nov 2017 18:50:15 +0100 Message-ID: <87wp2f8t2g.fsf@gnu.org> References: <58372A9C.2000205@goebel-consult.de> <87d1he48so.fsf@gnu.org> <87y3y1l8ze.fsf@gnu.org> <588712AE.60205@crazy-compilers.com> <8760l4sio8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eII81-0007oD-MX for bug-guix@gnu.org; Fri, 24 Nov 2017 12:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eII7y-0006IA-HQ for bug-guix@gnu.org; Fri, 24 Nov 2017 12:51:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eII7y-0006Hg-E7 for bug-guix@gnu.org; Fri, 24 Nov 2017 12:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eII7y-0000ud-5L for bug-guix@gnu.org; Fri, 24 Nov 2017 12:51:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <8760l4sio8.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 24 Jan 2017 14:15:35 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hartmut Goebel Cc: 25020-done@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Hartmut Goebel skribis: > >> Am 23.01.2017 um 23:14 schrieb Ludovic Court=C3=A8s: >>> > 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 =E2=80=98ftp-directory=E2= =80=99 package > property in this case, just like the GNU updater does. That wouldn=E2=80=99t have worked due to the /frameworks/X.Y/portingAids la= yout. 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 upgrade= d 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=E2=80=99.