From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4BJYACWZtGP5vAAAbAwnHQ (envelope-from ) for ; Tue, 03 Jan 2023 22:07:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IN5lACWZtGNLKAEAauVa8A (envelope-from ) for ; Tue, 03 Jan 2023 22:07:49 +0100 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 D1A6CA031 for ; Tue, 3 Jan 2023 22:07:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCoVL-000691-Pp; Tue, 03 Jan 2023 16:07:27 -0500 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 1pCoVK-00068t-Li for guix-devel@gnu.org; Tue, 03 Jan 2023 16:07:26 -0500 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 1pCoVI-0001y8-Ni; Tue, 03 Jan 2023 16:07:24 -0500 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=eET1A5X4tMxCZuyQo4GShO/ZjFXvJ87h1HCJbigNm5E=; b=atsZla2Ct3lEPQYWfqXe l0/iCAgRexUN6OP+uhaN/sVSE+KfLHSzNzxK4RTeGo43WqVL1e9QSHoS2nvBAs0aMTG+amNMMabty Rdexd3QAVN8BOPJFaG61ymfP6vjQQE4WBVxiciqiV/SNB+78JYhjcEaL7FtaK0E9t1sQtuaU4xqFE L69mEVCVe83AW1cYD5KZULhPijskNcVUz8KOP3xYZoyknKFwYGqTMh8Jis4+lXuuWMt3w7FZK0Jpt X3guVGa0m4TYpWjAus5vHvBrX5bLncTJ08m6XtXoXy9JlszFATH3aJYOkDEGWcVLjG58nAobwR/BM kb/zl7DGDj5O9g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCoVI-0005B1-A0; Tue, 03 Jan 2023 16:07:24 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hartmut Goebel Cc: Ricardo Wurmus , guix-devel@gnu.org Subject: Re: All updaters are broken References: <874jtb7icl.fsf@elephly.net> <875ydp5ctv.fsf@elephly.net> <871qod5b4v.fsf@elephly.net> <87wn644u9y.fsf@elephly.net> <12f602da-16fb-0c19-1fe2-8e4c9a921868@crazy-compilers.com> <87k0243rg8.fsf@elephly.net> <87pmbw7xtf.fsf@gnu.org> <4297ba33-7111-a540-297b-d1d30279baac@crazy-compilers.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 =?utf-8?Q?Niv=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?Q?Gr=C3=A8s?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 03 Jan 2023 22:07:21 +0100 In-Reply-To: <4297ba33-7111-a540-297b-d1d30279baac@crazy-compilers.com> (Hartmut Goebel's message of "Tue, 3 Jan 2023 19:29:17 +0100") Message-ID: <87358r8gza.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672780068; a=rsa-sha256; cv=none; b=cyS598nrNlIp+/WnMiawXOKVC4/Ls9NTgRBXFNLrd3xrtJR+aBFoVSajidRjCBGdVBIG2j imwyOFNpv4DZfv2cNpOcv7ETA4DdIoEH0aqA7fdM1eJEdFKfgDjfSF7MAqxqjFGFdJqnNd Y+IGNdZVPr6qnb6mbL0rn4ASNnmEZY2FwUwHex/XdtiA4nMbp8ogzRqI6m3oaLvTYmCTzU nGRdnlXDOZ9Fo1/UBwLlIzhGTpPySMny1QE1pq3Zb4VMdTa0ih6SW22GzBCfjAeZqb/nst ucCh87VRQh4IoWNSG9DX1p04HfjbGTIqttZtLMOvPTeuv/iSeGRnIJ/YIvG5ZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=atsZla2C; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672780068; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eET1A5X4tMxCZuyQo4GShO/ZjFXvJ87h1HCJbigNm5E=; b=hQtWgmbYAs49xYkGxNfH+tE1mQHfdW/Gkp5Wz4T3V9e/s1gdvxjl7LAE7OyhSPNVueFjMu XfVwQwsSmQqNKALJ0cCT0etx6aoSKzPseKaflgKP4GxJ3jTTCjXwPYwP54PPoUvsuCpWhT ozBvMDrKqrOPa/7RAMWVH8dHTGVEdYI4cdhoYZaOT15j3MSNNOGHvh09Otl8w40Aif5PNv ODXFukc8rchnYMr45yKpieuch4AAnQXNHklvodhwM2S49s+58fIaqNt8F8B4dg9Mu/tBrk wTcipNR5YwWee7ALujM1bvIcajlCDqdhQWoL6o1EonEX2MwWs+yXUMsemzZSiw== X-Spam-Score: -9.30 X-Migadu-Queue-Id: D1A6CA031 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=atsZla2C; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.30 X-TUID: 9sgfKmaGOvTc Hi! Hartmut Goebel skribis: > Am 03.01.23 um 10:49 schrieb Ludovic Court=C3=A8s: >> I tried something different and perhaps simpler: making sure >> =E2=80=98options->update-specs=E2=80=99 always returns a list of , as the >> name implies, and does the right thing with manifests, -r, and -e. >> (Part of the patch moves the definition before its first >> use.) >> >> WDYT? > > I'm biased, as this look much like my last proposal :-) plus some good > simplifications which I would never been able of. Esp. getting rid of > this (package) function is good, as this function made the > control-flow obscure, > > FMPOV please go ahead and merge. Ricardo and I discussed it earlier today on IRC; I went ahead and pushed it as 473692b812b4ab4267d9bddad0fb27787d2112ff and then submitted tests for the CLI that would have caught these issues: https://issues.guix.gnu.org/60520 Ludo=E2=80=99.