From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8PnRJWB9rGR+EQAASxT56A (envelope-from ) for ; Mon, 10 Jul 2023 23:51:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gG/5JWB9rGS/hQEAauVa8A (envelope-from ) for ; Mon, 10 Jul 2023 23:51:28 +0200 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 423334971B for ; Mon, 10 Jul 2023 23:51:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bNKVGECV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689025888; 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=1gKv57wEYJ9bE+T+KljYpz+1NNBRrdZyK/RtB/KUQvM=; b=PwICUNgquPuzr6Huvtkk29/a5skncE2Y6WJqUOp0+9n8zlZJY8BQprfvMHpNCdlYlgQeNi Dx+mBSd4iDWr+5aFVJvb0iaQ3RkUYmJLoVnU0xPnEGUQ64F1LIdqdDhg89mYO5okfP9C8O E3GGt3je+PDY6RXtlyB6Q/RcCv1/OaDp6qCF8WY95obb89wZFZ5MHvze9kAwL3Q8x0cJl1 +hAVo1SOW4mWHK8ffEiCjD17tHbZN+LaWppE7k4LjMkoEOudT/xvHwJIfEQjYJO9BEL4St 3BhFYEuuJRnD05CDdPubLJ6fILgmWwMJcgZo/rijv/3iPh1YVdnkvpmyQLEbQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689025888; a=rsa-sha256; cv=none; b=iR28lpVv7g7nAPq8LaVaNIsMMuJGJxtJ4idyh6FqHiXtv7u8xhsztzjFP6h2LarPEwl5rt u/ftuj5Y8ASOqOBuPrEe8HQ7mPrg14ekr7wGwOxvlMcysfD9a/cmScgWtYCnSz15NSZE77 G16KIVeAx/w2x9OYKIoF/cTmIkDjGQuVuE6Y9QGYXbs1mXeBgbclmpXUxeNHo44arY93Xq R0TP2WP38NJA/jT9LRFq6UhWpMNPAu1hhi1jP+G1HCFsur6gu0rBnRICCj3HSG5AWuyj5a Nz56A1yby3vFHsppQGCdd5FKXuaFma9G8RdbNMLiQ98LFKl1KyxJ1by1vUAToQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bNKVGECV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIymd-0006Bq-Q8; Mon, 10 Jul 2023 17:51:03 -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 1qIymc-0006BT-GU for bug-guix@gnu.org; Mon, 10 Jul 2023 17:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIymc-00087W-8p for bug-guix@gnu.org; Mon, 10 Jul 2023 17:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIymc-0007kh-4y for bug-guix@gnu.org; Mon, 10 Jul 2023 17:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64358: [PATCH] refresh: Sort update specs by package location. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 Jul 2023 21:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64358 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Josselin Poiret , Christopher Baines , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 64358@debbugs.gnu.org Received: via spool by 64358-submit@debbugs.gnu.org id=B64358.168902580829714 (code B ref 64358); Mon, 10 Jul 2023 21:51:02 +0000 Received: (at 64358) by debbugs.gnu.org; 10 Jul 2023 21:50:08 +0000 Received: from localhost ([127.0.0.1]:49316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIylj-0007jB-NK for submit@debbugs.gnu.org; Mon, 10 Jul 2023 17:50:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIyle-0007iW-H9 for 64358@debbugs.gnu.org; Mon, 10 Jul 2023 17:50:06 -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 1qIylZ-0007jz-8w; Mon, 10 Jul 2023 17:49:57 -0400 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=1gKv57wEYJ9bE+T+KljYpz+1NNBRrdZyK/RtB/KUQvM=; b=bNKVGECVdjafEoFixORw LdtzQWssrVvZJsl/PK1+NhFEpfZ87uAbdDsxf4RO/kw81sNIUCv4Z35SGejUYY6PK4GXjcPCvW9Ih aKl/1WbH7ayPeStonv5wY9OTuSjSbhZxZZgvrpJZlphtU4gMkqTGvWBKW84/eyvOsGyYq8u2lmsqb q7QyDJcIY+ZV4VDzLLeH0TQx7NXz7P77NgCj/Gsjrp0wtSq2eM2onCN3gp/gQj0djIDA+cU+cFFpi 1jW+W6wTi9QhzllcNaXh/9niVVn9gepK/tVQbBUkL85GT8mOndOcYaw3D8PSq7uXLxQOuxW0OMKJS zCOzjYU0o6HTLA==; 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 1qIylY-0003IN-Rm; Mon, 10 Jul 2023 17:49:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bkgyklbv.fsf@elephly.net> <74997f913e60491d74afcea38a13e5edb0c71b09.1689014499.git.rekado@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 22 Messidor an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Cumin 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: Mon, 10 Jul 2023 23:49:55 +0200 In-Reply-To: <74997f913e60491d74afcea38a13e5edb0c71b09.1689014499.git.rekado@elephly.net> (Ricardo Wurmus's message of "Mon, 10 Jul 2023 20:41:41 +0200") Message-ID: <87v8er5tdo.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Queue-Id: 423334971B X-Migadu-Spam-Score: -5.69 X-Spam-Score: -5.69 X-TUID: nQ2hSGpNU3mj Hi, Ricardo Wurmus skribis: > Fixes . > > * guix/scripts/refresh.scm (guix-refresh): Sort update specs by location = from > bottom to top before updating packages. [=E2=80=A6] > + (let* ((get-line > + (compose location-line > + package-location > + update-spec-package)) Maybe s/get-line/spec-line/ ? Otherwise LGTM, thanks! Ludo=E2=80=99.