From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +BinONXCCmf7UwAA62LTzQ:P1 (envelope-from ) for ; Sat, 12 Oct 2024 18:41:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +BinONXCCmf7UwAA62LTzQ (envelope-from ) for ; Sat, 12 Oct 2024 20:41:26 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NNf5jOe9; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=l+ZIhucB; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728758485; a=rsa-sha256; cv=none; b=ZELrFRYjB7pe7Bz+uX2CgN62z0ZHQjzwdzv1e+Vcx3wP86CyGnfDpDIvCPp2SxxISi9PkD CxdP1p2iWKJuQSX4NvQBDZ5IxrwsEMOuutmUdbf1l6Uia5tIk+WZ4+p9g2ylH+U6h5fyzF uA1BAwLe2Rip4Pitv8KuPu4+g/pjhNY9R+lxtN/zc9+AgY9uAWRIbuCmsPz8q6xxTtLEWc OLy44Ol09XMrtMUoB9zeany9jmTo+DrC2NH37CF5JewNhaSqvTPIItJPFNTn+UB+PdIc5A +tzPm2w8B0xSkPlpyiz4fv9PPA0ebU9tyBwu3JHchffAFhsOy8l/qsWUZsnntQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NNf5jOe9; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=l+ZIhucB; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728758485; 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-to: 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=S1JHtnyeuQscxjj03XXkfPiOchf6S+pPFuiiIIaBFRU=; b=TKbmnbf2/RESKTvj6TjzUxfUIR1zGPbYy0Ek4I/w9bsbK02OgZHgfoXHiCqy7bD3+UPJNP 4M1ieivPw/wgCDYn3PckDILafmypBtmG5C/1480OYkCNPGhnpxI7EOZDvGMr7tAnJNnwlf PAtW6pKk0QhMeihyJYbFDa47d1tz7gddPRTiBvtCEr6Jy5UG0LhryXlPwT+NQ+O9UgVmt6 xPlb2ohCgjgVNLVVyMEbmW/YgmBfM1WN5q+yvOJkhRW7sZzHAXnLigtmG9XUyK2Pt82H/1 +UL8mvVpL+lRmKl4v1U3CVzO/1UurZGfvHKvG7vBb/AA/HPxbH+y7l2zi9YWag== 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 A36F36587E for ; Sat, 12 Oct 2024 20:41:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szh2v-0002Mt-4P; Sat, 12 Oct 2024 14:40:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szh2o-0002Lr-Ta for guix-patches@gnu.org; Sat, 12 Oct 2024 14:40:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1szh2o-00085g-LP for guix-patches@gnu.org; Sat, 12 Oct 2024 14:40:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=S1JHtnyeuQscxjj03XXkfPiOchf6S+pPFuiiIIaBFRU=; b=NNf5jOe9tPVKYN+LE/nDkDyH4ZVNDb7eKWd9zxjOI5J4Mn6WjEMZU2rAC+lFYQv9wKzQ3GUGB53szEt0ZP3XK99MWj2loN2bhJcwQqC6UP5beEhuHSxVFWH0gBrGpQoUqJaRI5c0GsNTHuiw4Epf0LDVrRs7nXbadiRUjBwckvbbGuBaFcTWlHCreYKEnLEeUgr3PDoYcEiyveU7DFPx/9yLFXIOwNzTy/ouoB8p76j43oVLZSrii+fwLzwIRrBIlMhAYFjv87GgvGhQ7K87qhhSuXRdjJilh+dEkbju4DbOHCp2O+6uVtjQO3B665P7V14WKzbI/lneqj463QRdwg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szh33-0002g5-0S for guix-patches@gnu.org; Sat, 12 Oct 2024 14:41:05 -0400 Subject: bug#70227: [PATCH v2 1/2] guix: import: composer: Handle parsing failures. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 12 Oct 2024 18:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70227 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: 70227-done@debbugs.gnu.org Mail-Followup-To: 70227@debbugs.gnu.org, ludo@gnu.org, ngraves@ngraves.fr Received: via spool by 70227-done@debbugs.gnu.org id=D70227.17287584129607 (code D ref 70227); Sat, 12 Oct 2024 18:41:04 +0000 Received: (at 70227-done) by debbugs.gnu.org; 12 Oct 2024 18:40:12 +0000 Received: from localhost ([127.0.0.1]:56648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szh2B-0002Ui-3Z for submit@debbugs.gnu.org; Sat, 12 Oct 2024 14:40:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szh26-0002Th-Hn for 70227-done@debbugs.gnu.org; Sat, 12 Oct 2024 14:40:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szgCY-0001sj-Vn; Sat, 12 Oct 2024 13:46:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=S1JHtnyeuQscxjj03XXkfPiOchf6S+pPFuiiIIaBFRU=; b=l+ZIhucB+nKTzec9DMYr 0fHbw8WkzYuUz25cFeP870n9DrFj4j8Hy7VeWVgUtpe1fiDdLvECQN9h7pEdrYFEhvEILGBvHGync xfSzwzT9gSdw2YBw8/77sXJTMv+ZlDmjlhZYe4U8Z6dSYEYfaYjRy6R5wEV1vNXL+hYwJ6Y9SujqK +CH8JeXjStce6gso2j4wdEOC6sueTGZADkks0mwIyEM6DsvVxmuiTzZHamVS854fvYYnooXeT4j1L hF1rIjnmU9JQH5A3aOsAnIp8I79rjcHS6sjtcOfaIpj2J6kfzxDyESkqt277axevb4Du4P+SpmyjQ Tu1GOG7XB+aagA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20241006235605.24248-1-ngraves@ngraves.fr> (Nicolas Graves's message of "Mon, 7 Oct 2024 01:55:59 +0200") References: <20240406020415.9360-1-ngraves@ngraves.fr> <20241006235605.24248-1-ngraves@ngraves.fr> Date: Sat, 12 Oct 2024 19:46:49 +0200 Message-ID: <87cyk5rz7a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.27 X-Spam-Score: 0.27 X-Migadu-Queue-Id: A36F36587E X-Migadu-Scanner: mx12.migadu.com X-TUID: zRJJjIJZmflk Hi, Nicolas Graves skribis: > * guix/import/composer (latest-release): Handle parsing > failures. Rename package to composer-package for clarity. > > Change-Id: I57f6fba7b05122b031177681e76cf0b5c9547736 [...] > * guix/import/composer.scm > (guix-package->composer-name): Simplify. > (composer-fetch): Replace reduce by fold to correct version selection lo= gic. > (latest-release): Implement recursive package refresh. Rename to import-= release. > (import-release): New function, formerly known as latest-release. > > Change-Id: I8f629b4d1da866f5986d39b4e159f2b44af9ee49 Applied, thanks! There are no new tests (we could improve on that=E2=80=A6) but at least tho= se already in =E2=80=98tests/composer.scm=E2=80=99 still pass. Ludo=E2=80=99.