From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 7kVsBPWKuWO44gAAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 16:08:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +NSoAvWKuWMz1AAAG6o9tA (envelope-from ) for ; Sat, 07 Jan 2023 16:08:37 +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 CC240F815 for ; Sat, 7 Jan 2023 16:08:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEAnk-0004A1-Io; Sat, 07 Jan 2023 10:08: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 1pEAnj-000491-3a for guix-patches@gnu.org; Sat, 07 Jan 2023 10:08:03 -0500 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 1pEAni-0001OU-Qe; Sat, 07 Jan 2023 10:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEAni-00053k-LV; Sat, 07 Jan 2023 10:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60629] [PATCH 2/3] transformations: Let users know when '--with-latest' has no effect. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, guix-patches@gnu.org Resent-Date: Sat, 07 Jan 2023 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60629 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60629@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , ludo@gnu.org X-Debbugs-Original-Xcc: ludo@gnu.org Received: via spool by 60629-submit@debbugs.gnu.org id=B60629.167310402919363 (code B ref 60629); Sat, 07 Jan 2023 15:08:02 +0000 Received: (at 60629) by debbugs.gnu.org; 7 Jan 2023 15:07:09 +0000 Received: from localhost ([127.0.0.1]:58686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEAmq-000528-WA for submit@debbugs.gnu.org; Sat, 07 Jan 2023 10:07:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEAmp-00051S-Al for 60629@debbugs.gnu.org; Sat, 07 Jan 2023 10:07:07 -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 1pEAmk-0001IH-3x; Sat, 07 Jan 2023 10:07:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=yWrO1FNXjEuc2qiPkPE6qMCkvmsKfkHTYNCkMuIvsas=; b=r+34PlXScFZpB2lqSL4S /0ksZL/A/044Fk8jD2kGbhZti5XYdf9/7JamAVpZdG02/xtUePlXq1LnxWvzGMq9oLkgWVHLxPgD8 ctSHC97Si4m15YyJmsQG3vTn+4rwE1zlI9tfdYjLlgluQaBblFKtwOcyeFkLPEv1hwuaLI4+G/nIH nD5aK0tuFKu4gdWvJA+YINEC/IJGy2NSgQT56POVwOZz5E/OJryxdCb1qsDJKdUsY16sPJ1j1Nfai RZu5nZNSB0nt1td381p68grkzaoRSyLme9HMXYhMtyjhFvRuCwchZe/SoJkcQ06mTW0T64ImDLyJm SnXeIfnRWid5Pw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEAmj-0003Kn-OI; Sat, 07 Jan 2023 10:07:01 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sat, 7 Jan 2023 16:06:48 +0100 Message-Id: <20230107150649.4488-2-ludo@gnu.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230107150649.4488-1-ludo@gnu.org> References: <20230107150649.4488-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673104116; a=rsa-sha256; cv=none; b=rnhL8or8+W+yPeb4F+GKQ9eab+BHLkJkCJ2hrXxBrQ4Dr8mkcid7ZywVWOlaIWB24g2Y4u 7kaIlj3p1YPvIO+qUSl9lCvFV8omGjuvxv5WOrDuO19ZAAhQf2coIV04q6yhHn8OI/xw9L oU3YwoiqydD45PyOt2Vmwu6fgZ2dARoYaVAGwNAF0b1Zedzds/0L2ryjnwzCI8mv00wBOD AQB1ebVgv4r7F/wBJnNHGG658HZo+uIt5SJcyehS5x7ZsdBFiPSJr8ewApPT4LWZZ68VdC CsTD+k0yvT+QIGjlR1OW0+hp0iGCqpRwJid++kdYWznmJIuOgHtuk6dqX9zDQg== 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=r+34PlXS; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673104116; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=yWrO1FNXjEuc2qiPkPE6qMCkvmsKfkHTYNCkMuIvsas=; b=jLWTM+keTRVH8WXiX57WAS4pD9WJIjCwmKjs2T2d81wRb0PerkcMO5EBjfLprg83jl73p0 NvN2R/SsDLJetHAAQeyBZUpa2WwXBLgNlMMZ7jRDWktaYP4DYV5skPEq2+lXEyE0sMeKBw m+xPobiSxrVhvBtq3bQb8NxHjKQpoSjMkctq1VxxSiP4EqrUo39mdKPud8Ln23TopBmRdq tRLSb5FKjjR0aR8AZmOrC6NdlWZYaBWT0azA3GJfV/Rc2uI6kmpjo0t7mykX4jjGxw4V3W 3qfBTpPPNX0fj44rWAw9qddXKwZUQucDDY3JvSqYLvrdLr0ZQufhKEoOkmtRqA== X-Spam-Score: -1.56 X-Migadu-Queue-Id: CC240F815 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=r+34PlXS; 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=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.56 X-TUID: Un8uw6v3/qDh * guix/transformations.scm (package-with-upstream-version): Print a message when VERSION is false and SOURCE has the same version as P. --- guix/transformations.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/transformations.scm b/guix/transformations.scm index d6a2ef0708..b8e2b3d52a 100644 --- a/guix/transformations.scm +++ b/guix/transformations.scm @@ -772,6 +772,9 @@ (define* (package-with-upstream-version p #:optional version) p) ((string=? (upstream-source-version source) (package-version p)) + (unless version + (info (G_ "~a is already the latest version of '~a'~%") + (package-version p) (package-name p))) p) (else (unless (pair? (upstream-source-signature-urls source)) -- 2.38.1