From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kBFTMyZzR2eBdgAAqHPOHw:P1 (envelope-from ) for ; Wed, 27 Nov 2024 19:29:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kBFTMyZzR2eBdgAAqHPOHw (envelope-from ) for ; Wed, 27 Nov 2024 20:29:42 +0100 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="rz+/QxNH"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gvMYomW0; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732735782; 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=1yvce6tD6mq7Bc/62yxKN8NDrtgzUIqKHODYZQM3zus=; b=HWWsNbTmfGOLqfb7M77fAPpOf6mg5774VTEp6/GtPEocTX60XmWZLLtyt6CXgn25W3jkvs XQ6t3aR2Y9Eegc36XCQk5ePiNwVzZYcxpRaHkU67OHY2rRHhEAEQEkVuhKuM19sltRSdoT OdSyKUypH3k4uUmhpuqc7yZ4W0JHlhNlfI/IwZN1LicMHs3FdfSx54EICobvLPpgF4/VH5 giAPTNgtoJuUCaEAHY1qG/aybGA4WcqXrTFnKB4JcfnQUS73xCzLHkD9cUUN312oW3l5/Z aGMbxl9N+lLlSAmwwqDhQF/0tSLkqlMrLigN0geHtfJLk6B0nFN+3s3J66h54Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="rz+/QxNH"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gvMYomW0; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732735782; a=rsa-sha256; cv=none; b=dbfV4FX9B2Half2iHxZZy08M+QV3CuKmMhEvRp9jm/l/G8FVZxx9LbhTGUbcDXb2GJMgJz je8fx6E4t2HxSYloXFxxlf1ySWLZyf5XF4b+VyrHuhKoqDoBt3VO3Z61g9KDdLrrNJB33w gQDxSsufas8LeU/EfQYshzTBdoFGkvvlP2DPR3isdFXhg3SwjSq1cGOTC8zLWaDipNayLO zblOh83U/G0SUAS5sDaPowStTUY/13nDt7LFN4es2N/6TRRDorVTsmsujya8IRDOFiOBwG E07IRxbSby+TRFBd+D7QD1IvgIJqPTKKErpjjpUhrRzH6eNvo2Xav+DwMMW+4g== 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 75A61885D3 for ; Wed, 27 Nov 2024 20:29:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGNiq-0004X3-9K; Wed, 27 Nov 2024 14:29:12 -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 1tGNii-0004Vy-BM for guix-patches@gnu.org; Wed, 27 Nov 2024 14:29:04 -0500 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 1tGNih-0001BL-SE for guix-patches@gnu.org; Wed, 27 Nov 2024 14:29:04 -0500 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=1yvce6tD6mq7Bc/62yxKN8NDrtgzUIqKHODYZQM3zus=; b=rz+/QxNHjoJnGedgVJegGXmNvSzfcMXRPY+Xo44QMy82t6ROMSqqFjSVbMKZ2YHjX5n1bE12TOrWB74LTQackoAW8mXPbns7+Zax41tW/IaWIyJYIDQywBxdMKAduxrVOpFMZkn9uSjyAtPHOM7jRA9EAGzQkk89SrCZ7/RHgPlhNb8ixOKX6995uQnx44Wy13Inxk4QBkiZ7yo/gxDD5KgtufY1uCfchNaeVEyIyICCuinan2b0BdMHW8NSPpa/w0XKgny6lJlkw1zsYBcDKDNbVb6BUuISyW34iY+x08NnmTGlF67Dba6/PKp9I/ZnL5TU1A7hXaoR8SdlTvPNHg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGNih-0005z2-LK for guix-patches@gnu.org; Wed, 27 Nov 2024 14:29:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74542] [PATCH 11/11] etc: Add upgrade manifest. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Nov 2024 19:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74542 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Christopher Baines , Josselin Poiret , Tobias Geerinckx-Rice , 74542@debbugs.gnu.org, Mathieu Othacehe Received: via spool by 74542-submit@debbugs.gnu.org id=B74542.173273572622945 (code B ref 74542); Wed, 27 Nov 2024 19:29:03 +0000 Received: (at 74542) by debbugs.gnu.org; 27 Nov 2024 19:28:46 +0000 Received: from localhost ([127.0.0.1]:34601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGNiQ-0005xy-4L for submit@debbugs.gnu.org; Wed, 27 Nov 2024 14:28:46 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:47255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGNiI-0005x7-DR for 74542@debbugs.gnu.org; Wed, 27 Nov 2024 14:28:38 -0500 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-382423e1f7aso48190f8f.2 for <74542@debbugs.gnu.org>; Wed, 27 Nov 2024 11:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732735652; x=1733340452; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=1yvce6tD6mq7Bc/62yxKN8NDrtgzUIqKHODYZQM3zus=; b=gvMYomW0G4ZIeMJE534ZzFffj8zp2rsj87CdVRFV7FBFYUhzo4orJ9nrF0EzpZgeMG qMv6FqK+i1cN+w+J1AoFGj4cbMVYUMjZLixpljUMj3YDkDQhDImEKNRcwRhiU9Fw8V3u lxk4LZaceYPGejOozuRNyw1wXKTgdeLB0fwWL9w+/qs5IijYzLCzn6H6sr4eWvMDsJVO sthzDDQy82YUqNIccxuUD68KG1kPQxm/oNv9HEftucq8gqZZF7S0V6kd49NQ4t05FHo6 GYsk9Mv6I+hrFjNq0WcsqwwwF9a5scAPrhnOyqlMd7r/1mOA+CCY0ALz5IbHsSSpa4Vo UlbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732735652; x=1733340452; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1yvce6tD6mq7Bc/62yxKN8NDrtgzUIqKHODYZQM3zus=; b=QN6UYOCaNnqWIIbICT3s4sufDvA+b1peS+r6rlXX+QhXJBvPTLPWhBuPwTOOwELMRR qxUNzmc4lr6ctHuAe8uAIWYPBLuELeDzQRUbYjv3eFi/NdantvGZC4Mh4xeVZSulp320 Ufv2KP7aOclMylMTQ6KZWZ/DBJ7GpePs9PZYvJpO097MV+m86FybSe/MehV72W/+RQND /dgPDa881RCcFWEhL5rSSO38N2S5IWrH3kmDvJzI7RKz1KQr3J3NtR7eutFuQDxYOD1Z C6eBTA6BmReZFbZBegUs+broAKiqsdzLpU/n+XEsdMHuqIBtHGcSMmC9aPllEylEFIA6 Vmyg== X-Forwarded-Encrypted: i=1; AJvYcCVEvRVL0gtwr0ZqzDcFxVVjsOVsVzqmuX1sUXmABKhL+5TratGJa0armzUcOywCYxSYVrQsSw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyM22EX3IwD5lEvd1b54dJ0iY3qkBFIXA6aklpmWEW/oO3hcQbm 4lau2BJi7FD6rx+9oe6Z7E4Try6Z++TK4L5AFCKgHNDn9KlHFH9pibK5AA== X-Gm-Gg: ASbGncsyJ7+fUkDWAkVgfX4sj66tEBedyPInH9WkM1cjmvjTwLWIv3DqAvxG0AOn7Bz rMPkswuB4sjCq4Jz3CGMGd3oAUbVk9pRuNPbsEAwpS7udnsuTg+Ym46y9wxQQbc2Umjb3mwUK7P 0MMHcapDLiyPhNIXu8RF6rwPw+1tvzU5fOUtSaxqDS4A3SiVMBd1qD8+qWErGlnys8HrbMe1JxM CEIvNN6y1Vo1Wwbx3cW6bUwy6wIwj9+fKBaeHPhIv5F8zfxIqnc5PP47lvJ/qeBA3c83pxojS9v 4bRna3JTDvY9bPW+g+sdJvOW7QME+CYiqOY= X-Google-Smtp-Source: AGHT+IElPfwpdrvfe0QSu0MnHLF7kB6lcpCEAVBQVlljchCzrhnjPQ6aPWv0EYtHrvgVjn/ANWGV4Q== X-Received: by 2002:a05:6000:1541:b0:37e:f8a1:596e with SMTP id ffacd0b85a97d-385c6eb6aeemr3149480f8f.11.1732735652395; Wed, 27 Nov 2024 11:27:32 -0800 (PST) Received: from lili (roam-nat-fw-prg-194-254-61-40.net.univ-paris-diderot.fr. [194.254.61.40]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825faff9cdsm17141313f8f.28.2024.11.27.11.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2024 11:27:32 -0800 (PST) From: Simon Tournier In-Reply-To: <87bjy1ap6r.fsf@gnu.org> References: <874j3u2dxk.fsf@gmail.com> <87bjy1ap6r.fsf@gnu.org> Date: Wed, 27 Nov 2024 20:23:00 +0100 Message-ID: <87frnc4h2j.fsf@gmail.com> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 2.03 X-Spam-Score: 2.03 X-Migadu-Queue-Id: 75A61885D3 X-TUID: x5eXFg2JdOmK Hi, On Tue, 26 Nov 2024 at 18:18, Ludovic Court=C3=A8s wrote: >>> +(define leaf-package-updates >>> + ;; Select a subset (~22%) of all the leaf packages, typically small = C/C++ >>> + ;; packages not part of a bigger "collection" or repo (CRAN, PyPI, e= tc.). >>> + (manifest >>> + (filter-map (lambda (package) >>> + (and (memq (package-build-system package) >>> + (list gnu-build-system cmake-build-system)) >>> + (package-with-upstream-version (pk 'up package))= )) >>> + (leaf-packages)))) >> >> I would be finer here. For instance, the manifest contains the same >> package at several versions, i.e., =E2=80=99package-with-upstream-versio= n=E2=80=99 >> applies to the same package at different version. Slurm is one example >> among many others: > > Right, so there will be duplicates. Is that what you mean? Yes, duplicates. And also Emacs or Python packages. As discussed elsewhere [1] in the thread, when looking more closely to the 2843 packages, the list could be shortened a bit. In other words, I would be fine here in the way to filter out. :-) > (I think it=E2=80=99s okay to have duplicates at this stage, no big deal.) It will trigger updaters for nothing because we know beforehand either the updater will fail for whatever reasons, either the updater will return the same package and thus the duplicates will be removed when building the manifest. Well, maybe it=E2=80=99s useless indeed because it saves nothing compared to watching a online videos or else, but still it hurts me to waste resource when it could be done a bit differently to avoid such waste. Cheers, simon 1: [bug#74542] [PATCH 00/11] Improved tooling for package updates Simon Tournier Tue, 26 Nov 2024 15:59:53 +0100 id:8734je3us6.fsf@gmail.com https://issues.guix.gnu.org/74542 https://issues.guix.gnu.org/msgid/8734je3us6.fsf@gmail.com https://yhetil.org/guix/8734je3us6.fsf@gmail.com