From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mK1qO5HuRWfA9gAAqHPOHw:P1 (envelope-from ) for ; Tue, 26 Nov 2024 15:51:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mK1qO5HuRWfA9gAAqHPOHw (envelope-from ) for ; Tue, 26 Nov 2024 16:51:46 +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=rdY8j55L; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=KtGw63qa; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1732636305; a=rsa-sha256; cv=none; b=QU5NAkORu8dLQKm+BOt5nLo50QxQ6Vqcabl2/LFSP351rqJUelcQxODv0V7wsNwtscjpJJ xJmWv+WkuAA8h/Ib4OW9zi4Z5tu5VUUSX+fegjlkP6wOqmSWG852XGDHjWjTX/k9f1fjKu 6XB9ftfmoeiZyHxCr04uQ2Mc+K0Xe4U2WHLzzSFrIbZb0BcbUUf46fYdtJhQRDJoLQWjEz KgNnd2kwr3AlM3rjAGh3EFU82CDTPRCWRDTbcMiJG3JBvqD9VElWC2ng29SDOmH7x2F7Xr h7hM2SRaP21xbV8dLbXYu6UIPaygZcdjidyybD8ERFwyiI3tWdEZCS9G/PSAxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rdY8j55L; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=KtGw63qa; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1732636305; 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=qS8E+hgpJck/+CUzztEOwYeLw0DFGX6lYCiHO2sCUbo=; b=uTZvcfHUp6iJsI+3HZ8076d0YP0IoFzwIGT/uoNqOJnccNMDw+GuclZISwNsnr276sfwXJ TGcaeEJsDD2jyKkLHuSCyxPqorrje1ntz76TxZ3KNq1fpMBP0nkiwuvkrbMdTdMtZYghky ba3bYdfBJWn6gkarUjIA0p/b2X0moKuDRKWb6htcrTy5HrruNwd1YCVWSHy2ZlCY4HiijP sFhO2Uv1T2dZ5RWnSZCDFKrUbJlYRPFNmJ8hPxmimcTy6MKXvuBl9SKXEy6hYCcL1MCu3x 0OL8UOwtVH+3RBe4n3hhYkBZztgIFtUfIRlZuD5oY27YM8AUYXMhbqkm65k4yw== 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 B7018545C for ; Tue, 26 Nov 2024 16:51:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFxqG-00059f-CS; Tue, 26 Nov 2024 10:51:08 -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 1tFxqE-00059F-PE for guix-patches@gnu.org; Tue, 26 Nov 2024 10:51:06 -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 1tFxqE-0004LT-Gd for guix-patches@gnu.org; Tue, 26 Nov 2024 10:51:06 -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=qS8E+hgpJck/+CUzztEOwYeLw0DFGX6lYCiHO2sCUbo=; b=rdY8j55LBILonZGBp01PVWkYBzlMwGGQkjiHxGeDZonp9N3VKZ9sQrHaUCiI0ZuZpuRpmgCIWRLXLDURa/TABiAN4JuHAfvVe5livicg6+wb8MkqNspwba/hiu05GeawQejMKqfGH42lUVKiNBCbiHQ5VcDsRwGfWTamOxWpZmfgi9adKDn0jvNV15bFZKRlyYFELEM5ARct4SbzNYkA/4Ukw0KFL02Q2J92VZ88Irc7ZxIWxRliglS68h4vQ0wT9rd9NB1FnM9/3oN00HvADfh1FA3ROcEFjVvVz82xS0X5JBDg3pZb+SAoiU4jzsR9qYovZcnG2Hl1Fvtn9DNqSg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFxqE-0000tQ-Ag for guix-patches@gnu.org; Tue, 26 Nov 2024 10:51:06 -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: Tue, 26 Nov 2024 15:51:06 +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?= , 74542@debbugs.gnu.org Cc: Christopher Baines , Ludovic Court?s , Tobias Geerinckx-Rice , Josselin Poiret , Mathieu Othacehe Received: via spool by 74542-submit@debbugs.gnu.org id=B74542.17326362573354 (code B ref 74542); Tue, 26 Nov 2024 15:51:06 +0000 Received: (at 74542) by debbugs.gnu.org; 26 Nov 2024 15:50:57 +0000 Received: from localhost ([127.0.0.1]:50163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFxq4-0000ru-SB for submit@debbugs.gnu.org; Tue, 26 Nov 2024 10:50:57 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:42478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFxpr-0000rN-8J for 74542@debbugs.gnu.org; Tue, 26 Nov 2024 10:50:43 -0500 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-434a1833367so11505705e9.1 for <74542@debbugs.gnu.org>; Tue, 26 Nov 2024 07:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732636182; x=1733240982; 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=qS8E+hgpJck/+CUzztEOwYeLw0DFGX6lYCiHO2sCUbo=; b=KtGw63qaK9OZwyn8NoCCcFuq/yATzSF35fyrenrccb4p/jjoIq9wo7SdNA4caGBI/D jYANvBcUyNWcPVIqvFYJjCALwop9QtayqDaJmNSpB+BfKqSU05TEDjv3G5S5baApVBBV QmahPXfF3vD9DO7bJgzWygKbZ3fXbY05vpk0G+845I3H4Uxt6We/Y4x3uxIEZkgPCGnL YAizdu1v0VFcUwJAdPu+p8ZfqNiAtXzjvJT0+2rucj2hzda2fXRi6/hVV5F2J1+e5NJf 4mdCMqzr7jXpHkBdI7Thx50S57Af0RIs/4xkhScT0v3LDLSit6dKF7rpeu9Z9nXrnNAP jDNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732636182; x=1733240982; 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=qS8E+hgpJck/+CUzztEOwYeLw0DFGX6lYCiHO2sCUbo=; b=q15EVcnJ/62pqET9sySjQi3dVcm9T/bnkAUAgAGOFLp8NTuFfW9L6HbvGPL0PibViC QVdVMZJQvnLeBtiKdvju75CnNNpH7wO+jjpYGPqJOCjf1orF3hJxm6h3fsL24wLkTIpB NADOfP4WN2sz/MQEJoqb4wdx7ji5eQmw+NYmpnBWBjnkgditdZ9A/qT16fVNvxtRukMw y94l5qlnnQptKXMJWlNbbTm/7dMo3yPHU7q4MopkkUxrM6RjUWLNLv7HRx65Dtd2MYcW mxi39dmwR1JQOvviWDlbuzcOdDV3zdBILIJmC4GF3g17bupaxlL/Fi7BvUFC2du40vue GxJg== X-Forwarded-Encrypted: i=1; AJvYcCVAQucrdJFYl/dst54415QqJ5eb38GsVO4YXPyys9j9AFvL/seMap1/J4th7fAE+HyFpZbvUw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyaSHRzJT2xF43wlGPHqgqsX8ePNcG0GITn5TkZ1xhYGU7Zb8qM m+1RcY5NLx0BihG9f6E2Anua197b8Izz3JrxCOzFMqvI1eckt4Dq X-Gm-Gg: ASbGncvv1/yxtGyxJ4PY+XPz35INd1LVjrV6Y350O14m5q6PG3NF4s5ePYNB+GEvkaZ gsjoJ0VSsUTDJjZn53x8/a4TQVoBOK6iTGKNW76s7RnfGgpXNgV19tufFOrqsaU+gKJEhqPBG4Q eaJ3YcDyhcH+5ZCuhgepMxlVYJcx6d6BXvaO1eY4WDdCQeMpyOADUiQowT6W05JcwvnExsSUA4E aefnwSqZ5fyyD6w8ABeEm2NqcFVaPd4OuItbjisCifBvN8= X-Google-Smtp-Source: AGHT+IH++UWzqnlzRzokDDh5CGcF7Ta5tUg+sZ8CAtovNSGJRcshJ66Lm7udJ+mvlHfpAR9VRNr/Eg== X-Received: by 2002:a05:600c:5106:b0:431:5226:1633 with SMTP id 5b1f17b1804b1-434a4e7222fmr32057475e9.6.1732636182324; Tue, 26 Nov 2024 07:49:42 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:5ac:5c58:da2a:61ba]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b463abbfsm239600575e9.32.2024.11.26.07.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 07:49:41 -0800 (PST) From: Simon Tournier In-Reply-To: References: Date: Tue, 26 Nov 2024 16:49:11 +0100 Message-ID: <874j3u2dxk.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: B7018545C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.03 X-Spam-Score: -6.03 X-TUID: KYmahD56/IqJ Hi, On Tue, 26 Nov 2024 at 11:33, 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, etc= .). > + (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-version= =E2=80=99 applies to the same package at different version. Slurm is one example among many others: --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,pp (sort (map (lambda (p) `(,(package-name p) . ,(package-versi= on p))) (filter-map (lambda (package) (and (memq (package-build-system package) (list gnu-build-system cmake-bui= ld-system)) package)) (leaf-packages))) (lambda (p1 p2) (match p1 ((n1 . _) (match p2 ((n2 . _) (string<= n1 n2))))))) [...] ("slurm" . "20.11.9") ("slurm" . "20.02.6-1") ("slurm" . "23.02.6") ("slurm" . "21.08.8") ("slurm" . "22.05.1") ("slurm" . "19.05.8") ("slurm" . "18.08.9") ("slurm-drmaa" . "1.1.3") ("slurm-minimal" . "20.02.6-1") ("slurm-minimal" . "22.05.1") ("slurm-minimal" . "23.02.6") ("slurm-minimal" . "21.08.8") ("slurm-minimal" . "18.08.9") ("slurm-minimal" . "20.11.9") ("slurm-minimal" . "23.11.10") ("slurm-minimal" . "19.05.8") [...] --8<---------------cut here---------------end--------------->8--- Cheers, simon