From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 OKc5KILuRWfbTgAA62LTzQ:P1 (envelope-from ) for ; Tue, 26 Nov 2024 15:51:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OKc5KILuRWfbTgAA62LTzQ (envelope-from ) for ; Tue, 26 Nov 2024 16:51:30 +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=TNq10Niw; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DbFa3dvb; 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=1732636290; 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=MqftykJoMWmB/Lt0ERzHcGZW43g8EHiDX+0kOOsUFck=; b=EEcq19QbHBLknOqOrtp6TteQwM/oxmPAQZisy4cCh97xd2Sorp13EktelmnQRqrG3O5kGd VnyIXF8jytFefDZw0fgs76F8GageKBJdvy08zp4zf/2iwn1nx7G6Gm+Vd7y2cVzVOdTiqw lozTnITD1OfL7VHOOMQYcB49Tr9yWU60wSZCxuGEJ24roRmFzclMHA5zSKyW7aYF7es0YA ailJ1cogMGvkzpixCBkqMNRphb3YDc1VMmUP/ttMrtcQQy3jbx/X/nmFoUQ8RonCNGN4uW IdTlGXgQl+JfAuoE62fEBUl+GxuEBva6G3LcQI4pzKjOvgLNnipKNimGExDmwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TNq10Niw; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DbFa3dvb; 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=1732636290; a=rsa-sha256; cv=none; b=URLO8frdT3/ATuQRVS76Ufj/t7TEyqMR9k/CMwESL5+jJF30u7GhU0rs4hTeGV/sQAGsTt 70iAYMynuAFu50xbK1yFHOi3b8JxfayerkmJAA3anhqWab8lmVdyRQnNP07bIWj1FXk6tH tnePDTLoK28Kbh3UmICbuhyHUzj9wVkM1KZbU4kt9AfabmTdAQSQLMOuMyQezsH7KtP/g8 pGBlF6YYgtDAjU8T3i8hvNB7SDXjIZGG+KPFmWWCITeXdSnwjXgl/QCrVFtAHhIvkSE/tr wbNWkgHIz7AhzwwqoJIWY71HIkpgOD2sD0hx4dIWkEo7ftOJVqBYnRCb4hgMdw== 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 632998895D for ; Tue, 26 Nov 2024 16:51:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFxqC-00057p-JE; Tue, 26 Nov 2024 10:51:04 -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 1tFxqA-00057D-MI for guix-patches@gnu.org; Tue, 26 Nov 2024 10:51:02 -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 1tFxqA-0004KM-EB for guix-patches@gnu.org; Tue, 26 Nov 2024 10:51:02 -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=MqftykJoMWmB/Lt0ERzHcGZW43g8EHiDX+0kOOsUFck=; b=TNq10NiwoV7p0pAfujcJdjTfQ+ANmPLhsh8zLjueg0RQo8jDoDU7Fez33CsWFSlzAb7EOmC+iW1lP8XI3qx5bVqwmTB0ULvNVmGzTnDuTaYtu7rBtDKh6DfhdNf6MqLxstxUDQgnAWes9VFCJs+hZ7tgQmlrSUMu0Of7DGdQTLPP3qx0VNw8xQb7MkXKidJUJhkcTKzxSnrf8F9zqgxeJBAVKgPHMLDdr+6rHDZBb/S2MhtsoffwdJe4EUblfJ8rCQU4qQBlm4Pe64oD73Qx0rNC1NSijk///Uz0Q7uIL4h2CY550sYjk+UVJU9DhgQWvUWnR4E5xEgxskRcc88MSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFxqA-0000sS-6t for guix-patches@gnu.org; Tue, 26 Nov 2024 10:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74542] [PATCH 00/11] Improved tooling for package updates Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Nov 2024 15:51:02 +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.17326362293214 (code B ref 74542); Tue, 26 Nov 2024 15:51:02 +0000 Received: (at 74542) by debbugs.gnu.org; 26 Nov 2024 15:50:29 +0000 Received: from localhost ([127.0.0.1]:50138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFxpd-0000pm-B6 for submit@debbugs.gnu.org; Tue, 26 Nov 2024 10:50:29 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:48494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFxpb-0000pX-PZ for 74542@debbugs.gnu.org; Tue, 26 Nov 2024 10:50:28 -0500 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-434a8640763so4701025e9.1 for <74542@debbugs.gnu.org>; Tue, 26 Nov 2024 07:50:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732636167; x=1733240967; 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=MqftykJoMWmB/Lt0ERzHcGZW43g8EHiDX+0kOOsUFck=; b=DbFa3dvbo1rvv8D7qgqW++1kg9zlBUS+QMI4IE88oNptluLLuHopPv3s/JD0+8DNDQ c460RHV9YrRIwWQ4DRUJmq0ZUhgF9Qbx2k++x0DFlYJy0/8bVn75brWB+Z2CqJ9pEXqV 8nTj1bQDzOivQLpa2Q8LnkOM6xoJDXkM4XcvK4NVSgUOBv9/Q65Dbs/47GAkMzi1x/Lq nHPjWZeoEWoAFjbtXYgrJFhQyQwt0m1B+IlLNDF5NnETyh4M/i5NePacyvER0EG829uf hwJGrDdax1e6nATzb4nhMST/ph2NKnVk26DNP1I/0UO458WtHRM6wTXwSkXbKJ/LeMSC 3GEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732636167; x=1733240967; 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=MqftykJoMWmB/Lt0ERzHcGZW43g8EHiDX+0kOOsUFck=; b=pr52ZLhwYw+rTW4B52hWXkqqz2nDhbm7/14teg4hqkcZoSMQCNyKQwbJUdR9oU9kje LlZjL99XkvsbLWlBLnkFFdoSYT9NAXwQ1qMtyJqt8dDseX33Bk67uaWHO+NNTzPazgy2 g4RMHZOndbL3HcrlvsN7aAes2a5c0sNwQWWOVJjC20FvN94TJNG8w/OVMp46heBDWGX5 HefbUrmaD5romUM7uUH1PnZ6iRTSyZBbaVse4GGbUxKH1AGbaWeyazGuu7hs4hQlUwtR gmbby2w8KFYF1eHh/I95vB/t1r8OvxiorILVi6TG2zoBD0tQR3cplCg1RWYuFYc9eWhQ 5+Lg== X-Forwarded-Encrypted: i=1; AJvYcCVAQ+3eYB7mIx3BZI0TTvJiI4TvNaCbcU5M8pZ2sbvNPYKJh2+WS1OJQGKC205GJNsj/PndmA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YweEds4JQdCDa7uBIaG2o4/m/put/OUqnxyM9qqmGWMgPhCYicJ hhlmKf3WAwhnfPDgCTW65IUEz0c1SP/AQCjNX1vg1Jn8n8ukCfuu X-Gm-Gg: ASbGnctvM7tWO3HkhtoT/HLioeMJzD8KHIw6WCBu7stBnWCG7GN5gyAnQjAtcVsBoNp Tscgh4Lbs/Zvg501r4/EDyxTeWXkV9ZGgjZnMDp6+GCzeXvx/ANza3/NQRgiqXyasRAU8lg+L+E iRYhvpWT1xPBtGJsQuVnKgXuvdclVdtb8Y4ZASZy5+Z/swJ/TpxZZ8JW83mM+mvjscttCd2NmeV HF5+PtRXBs+og3BHdjdVtpKg1eFH/a3ADwwdEdLsfO33WQ= X-Google-Smtp-Source: AGHT+IGcV2+zGK7E/ISu0eC1VKNaMJUiRF8G2lX/AArsV9+lLT0OGdIQe7Mg90X3Z4lF+etS4fQVXw== X-Received: by 2002:a05:600c:c0d:b0:434:a7b6:10e9 with SMTP id 5b1f17b1804b1-434a7b613femr23236025e9.17.1732636165053; Tue, 26 Nov 2024 07:49:25 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:5ac:5c58:da2a:61ba]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b01e115asm238460735e9.6.2024.11.26.07.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 07:49:24 -0800 (PST) From: Simon Tournier In-Reply-To: References: Date: Tue, 26 Nov 2024 15:59:53 +0100 Message-ID: <8734je3us6.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: -0.67 X-Spam-Score: -0.67 X-Migadu-Queue-Id: 632998895D X-TUID: nb15Fv8PTEkb Hi, On Tue, 26 Nov 2024 at 11:32, Ludovic Court=C3=A8s wrote: > This patch series aims to improve tooling for package upgrades: > > =E2=80=A2 By adding a =E2=80=98--dependents=E2=80=99 option to =E2=80= =98guix build=E2=80=99 to build > dependent packages (those returned by =E2=80=98guix refresh -l=E2=80= =99). This > was suggested by my colleague Romain Garbage, who also prototyped > a variant of this. > > =E2=80=A2 By improving individual updaters and updating metadata for > some packages. Cool! > > =E2=80=A2 By adding an =E2=80=9Cupgrade manifest=E2=80=9D, to automatic= ally build the latest > version (using the =E2=80=98with-latest=E2=80=99 package transformati= on) of a few > security-critical packages along with their dependents at distance 2, > as well as some of the leaf packages. I am more reserved here. --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> (define all-leafs (leaf-packages)) scheme@(guix-user)> (length all-leafs) $2 =3D 13680 scheme@(guix-user)> (define leaf-to-updates (filter-map (lambda (package) (and (memq (package-build-system package) (list gnu-build-system cmake-build-system)) package)) all-leafs)) scheme@(guix-user)> (length leaf-to-updates) $3 =3D 2843 --8<---------------cut here---------------end--------------->8--- This list contains multiversion packages, for instance: "clang" "clang" "clang" "gccgo" "gccgo" "gccgo" "gccgo" "gccgo" "glibc" "glibc" "glibc" "glibc" "glibc" "glibc-locales" "glibc-locales-2.29" "glibc-locales-2.30" "glibc-locales-2.31" "glibc-locales-2.32" "glibc-locales-2.33" "glibc-locales-2.35" "linux-libre" "linux-libre" "linux-libre" "linux-libre" "linux-libre" "linux-libre-arm-generic" "linux-libre-arm-generic" "linux-libre-arm-generic" "linux-libre-arm-generic" "linux-libre-arm-omap2plus" "linux-libre-arm-omap2plus" "linux-libre-arm64-generic" "linux-libre-arm64-generic" "linux-libre-arm64-generic" "linux-libre-arm64-generic" "linux-libre-arm64-honeycomb" "linux-libre-documentation" "linux-libre-headers" "linux-libre-headers" "linux-libre-headers" "linux-libre-headers" "linux-libre-headers" "linux-libre-headers" =20 And this list also contains PyPI, for instance: "pyconfigure" "pypy" "python-cffi-documentation" "python-clingo-dl" "python-debug" "python-graph-tool" "python-libfreenect" "python-libmpsse" "python-libsvm" "python-next" "python-on-guile" "python-openturns" "python-sepolgen" "python2-dbus" "python2-minimal" Maybe, we could be a bit more stringent on the list and filter out more packages than only the ones based on build-systems. Well, it could be helpful to avoid to burn resources for nothing. For example, it could be better to exclude the GitHub importer instead of bypassing it with a wrong URL. > Ludovic Court=C3=A8s (11): > transformations: Export =E2=80=98package-with-upstream-version=E2=80=99. > gnu-maintenance: =E2=80=98import-html-release=E2=80=99 doesn=E2=80=99t = abort upon HTTP 404. > gnu-maintenance: Savannah/Xorg updaters no longer abort on network > errors. > build: Add =E2=80=98--development=E2=80=99 option. > packages: Factorize =E2=80=98all-packages=E2=80=99. > guix build: Add =E2=80=98--dependents=E2=80=99. > import: gnome: Keep going upon HTTP errors. > gnu-maintenance: =E2=80=98gnu-ftp=E2=80=99 updater excludes GnuPG-hoste= d packages. > gnu: Update updater properties for GnuPG-related packages. > guix build: Validate that the file passed to =E2=80=98-m=E2=80=99 retur= ns a manifest. > etc: Add upgrade manifest. Let review patch by patch. :-) Cheers, simon