From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kF6FLI/PLmNj/wAAbAwnHQ (envelope-from ) for ; Sat, 24 Sep 2022 11:36:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yKNxLI/PLmPWygAAauVa8A (envelope-from ) for ; Sat, 24 Sep 2022 11:36:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DEE65D0 for ; Sat, 24 Sep 2022 11:36:15 +0200 (CEST) Received: from localhost ([::1]:56066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc1a2-0004Qw-4h for larch@yhetil.org; Sat, 24 Sep 2022 05:36:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc1Zq-0004QY-BU for guix-patches@gnu.org; Sat, 24 Sep 2022 05:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc1Zq-0000xC-2D for guix-patches@gnu.org; Sat, 24 Sep 2022 05:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oc1Zp-0001f7-Nr for guix-patches@gnu.org; Sat, 24 Sep 2022 05:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57460] [PATCH 00/19] Refresh to specific version Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Sep 2022 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 57460@debbugs.gnu.org Received: via spool by 57460-submit@debbugs.gnu.org id=B57460.16640121056315 (code B ref 57460); Sat, 24 Sep 2022 09:36:01 +0000 Received: (at 57460) by debbugs.gnu.org; 24 Sep 2022 09:35:05 +0000 Received: from localhost ([127.0.0.1]:42316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc1Yu-0001dn-PL for submit@debbugs.gnu.org; Sat, 24 Sep 2022 05:35:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc1Yr-0001dB-Pw for 57460@debbugs.gnu.org; Sat, 24 Sep 2022 05:35:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc1Yl-0000V9-D8; Sat, 24 Sep 2022 05:34:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=a0C2yUQQ4wArDBomPrk3UbqG6Fq/QWFIMpzP6XqgAb0=; b=Pbwl0gMKwyrXa/b/uuui uQYI0frrxT+bqX0anABON7iRwBdsd4uII+icj2CMPUbgNfT1JP6eYnpxIevQgWUaDQ2MCnI7JjMch BwF8t9ZcKYd9XZLAN4rzHpqNkkag6BkhoFKlau+qy2Rj4uMUIck0oGGtPBbqc5p2PzJPHgpfGUHqR /95C1P80TVoZjcM2DoZqmsyPQPBbFLaoP1njBkYuOheOtStFlRSnMn38feT86jWN06x1ibRKXbuu4 TtmzaoBU2YtKp61iDUJbkmsBzI18ZY822XFNOvsGUjfTEUBEQ9cRfbxzfSeHid3ec8TspKI8TnJxR Y49vElEBjpvjbg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53580 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc1Yk-0000X5-W3; Sat, 24 Sep 2022 05:34:55 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sat, 24 Sep 2022 11:34:53 +0200 In-Reply-To: (Hartmut Goebel's message of "Sun, 28 Aug 2022 15:18:38 +0200") Message-ID: <87tu4xcdz6.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664012175; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=a0C2yUQQ4wArDBomPrk3UbqG6Fq/QWFIMpzP6XqgAb0=; b=gQBlZQnDAuWBhFtR3ajAM3nqg9J3HjXv1wFrRxpRBkSqb4h2vsjp78BdCK0O+S9d8v8bDM dAx7W2o/UBiCRnsKOSpy1nIhRTa4cRtcELELOgDCZlZlfkWiV0dy9o7dmhvVMqPlqLUdAa cHvOGOKowGvz4DGyEKiI6XpYuvAFd/T3lr1N+80mwAGJHL2jCxoAv6zrqaRCw3SokZUo0u Y4fp6icDtsTliBfyQx/KYgD7fTjDGSBGDmXE2ixSgpUl4k2YvOfs7HR3zixgJ75B6hbVmD 6GQtlz7mnr/tWnM+mJ0Jz/lo+6OJAz3PEzY09iniC3MYtspgfGpOx2jMOO12hA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664012175; a=rsa-sha256; cv=none; b=V37izcbfiSdc0T8DUtKK6+kcAlmPFKlEGNtDa7qVikHBROUBb78eWRtyLtw/B3cML9pAGS RTVFNqR1cSF3IbUYa6Mxk8124sihAVk7Qq/SQTdULlZThz2GxCL1CWhCgsL7PeANfE17Mh nZ1Fyn7YOLX3ZbZmp9gK/Z0ajfmn92j3FLTZoOgZ3N1jEaeIYlnMUBnUU1gYZYyaRgfTmW ng9a88zVRhT+x7nnY2wf4555QgzXP+P8j+5oBTGneAJzutWxeLE0RwdQYzvR7uN6yU2QUa 6Him/60Q2iAE4e6Tfbrq2kyvH4mv+soA6jFv2sGVlWxdTxQXdQ8mOjB6n57kmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Pbwl0gMK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Pbwl0gMK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4DEE65D0 X-Spam-Score: -2.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q+UibiO4pS4R Hartmut Goebel skribis: > * guix/import/kde.scm(latest-kde-release): Rename to (import-kde-release)= , add > keyword-argument 'version'. Rework the code to not sort the relevant f= iles, > but just find the requested or latest version. > [find-latest-archive-version]: New function. (Same comment.) [...] > + ;; find latest version > + (version (or version > + (and (not (null? relevant)) > + (tarball->version (find-latest-archive-versio= n relevant))))) > + ;; find archives matching this version > + (archives (filter (lambda (file) > + (string=3D? version (tarball->version file)= )) > + relevant))) I think you can remove the comments or make them proper sentences (capitalized and with a period). I=E2=80=99d prefer to keep the name =E2= =80=98tarballs=E2=80=99 rather than =E2=80=98archives=E2=80=99 because it=E2=80=99s less ambiguous = IMO. > + (match archives > + (() #f) > + (_ Please reindent it as it was.