[bug#78463,2/2] news: Add news entry for new 'guix refresh' partial version syntax.
Message ID | 8aa67bae95d15ef84334f56386501aba3fa8c25f.1747460420.git.maxim.cournoyer@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5E75B27BC49; Sat, 17 May 2025 06:41:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3305527BC4A for <patchwork@mira.cbaines.net>; Sat, 17 May 2025 06:41:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1uGAIG-0003Bk-3f; Sat, 17 May 2025 01:41:08 -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 <Debian-debbugs@debbugs.gnu.org>) id 1uGAIF-0003Bc-1z for guix-patches@gnu.org; Sat, 17 May 2025 01:41:07 -0400 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 <Debian-debbugs@debbugs.gnu.org>) id 1uGAIE-0000Yn-Q4 for guix-patches@gnu.org; Sat, 17 May 2025 01:41:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=HyY4hoFT+wttps9h/SA+4Zba2kth2UH9RovTbN4icSo=; b=GHlUoquBpd2f5Bptslx9BiUfgzYbry7W6poRHWLqOuqoH9PhWLH2jC2Bdrn/KW1woH/ciHsI550jXiU3erSCtBBRPd1+m0Nz/HAb0Asp0H3un24nV22lCl9Atm8GZN1huATpvXg1xGSyWOIGi6azCC8A9nyeldRNDGKqZ9ZOCwNedhDIE7rHHEqGCXULDUCb0DXV2yw04cugX040NbwYGQqa9VaC9dqBLcgUNR6lkeIR/FObHGkMaWAracM5H4lZtCfESu8wdXayXLLZOYl3hEKQFFaeRNDnTXtS+uI8BM0C9p5Bg764RYdZtSAlll71ZGKQfQGNYC+4S6yAJWWzqg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uGAIA-00050y-Qj; Sat, 17 May 2025 01:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78463] [PATCH 2/2] news: Add news entry for new 'guix refresh' partial version syntax. Resent-From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: pelzflorian@pelzflorian.de, julien@lepiller.eu, guix-patches@gnu.org Resent-Date: Sat, 17 May 2025 05:41:02 +0000 Resent-Message-ID: <handler.78463.B.174746045119215@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78463@debbugs.gnu.org Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>, Florian Pelz <pelzflorian@pelzflorian.de>, Julien Lepiller <julien@lepiller.eu> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Florian Pelz <pelzflorian@pelzflorian.de>, Julien Lepiller <julien@lepiller.eu> Received: via spool by submit@debbugs.gnu.org id=B.174746045119215 (code B ref -1); Sat, 17 May 2025 05:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2025 05:40:51 +0000 Received: from localhost ([127.0.0.1]:44218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1uGAHy-0004zr-PH for submit@debbugs.gnu.org; Sat, 17 May 2025 01:40:51 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34284) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <maxim.cournoyer@gmail.com>) id 1uGAHt-0004yz-Ah for submit@debbugs.gnu.org; Sat, 17 May 2025 01:40:45 -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 <maxim.cournoyer@gmail.com>) id 1uGAHm-0003AQ-IO for guix-patches@gnu.org; Sat, 17 May 2025 01:40:38 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <maxim.cournoyer@gmail.com>) id 1uGAHk-0000Y2-Rm for guix-patches@gnu.org; Sat, 17 May 2025 01:40:38 -0400 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-b1fde81de05so1786244a12.1 for <guix-patches@gnu.org>; Fri, 16 May 2025 22:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747460433; x=1748065233; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HyY4hoFT+wttps9h/SA+4Zba2kth2UH9RovTbN4icSo=; b=Y9xe8bErCs8wQRwdFwHOrJZ0DLULygAFuNYJEleGbSRclK4oU6hfga6YmLaP6V2h4C 2WWiZlhrdJ8hGl6WCxf7ZojsxCer2Jp3UJ2l8NyWAYvUH+skqn8amHVT+ch87FJQ/ZLo KHtF1nnahxieq3RBkdTDZj/K7pjW58YhXKMl4L8bPV0aBebH2zrWWTZHxusMXK3a8Dtz JVu4Xi/PvBMh85x5p86sA88NJvxHA+kY4H34Y5R/FPwJCVezYtDPrFqEtcdjIYOZDjjT QNmG6nKUUPp7ulG/drL6dWCDH46952tgimIpPtBWj03/qxFns9M8K6ZnEbqdIQoPL5wP jsuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747460433; x=1748065233; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HyY4hoFT+wttps9h/SA+4Zba2kth2UH9RovTbN4icSo=; b=T4cS7LlyMVJzwsIvD+Hvdj4r4EVmrLopccRYQJpRJbtzt4Elw7DnZ+JcdM1C9GiB66 k86t/6j5tPJqF2bkzkB3mvAGOLDpl770MFi4EvXsWQfREj1y1KrpuzVF6cdFiZZfuk2D GhLiIxtETLgcY3mgvWT68saKHwlqtEGxQa8xidjec3opd3dUq14V23UD3tmXovZZs7QI 0BeWUBCI/QZBz79lgRk6k6QClsTtE8W5fnKGk3A5wsek5WWChzIslGNQ6g7nuF07uNyz i7NFi1VRo/nIWyOkxKd9HbiNpbp1wtATxcxLltP9lXBg5se8a403P75LE+NfaMb6KXGW iTzA== X-Gm-Message-State: AOJu0Ywo59iUDON9wx2nh1obKgBC/Wk6ejthrmBS8GnxyQdXTDS2Kqpt y/sybZkwXJ08104OqzG3bjQdkDZf/yjqP3xh1Qq51aPZEurx3PQSEQ6dygiwMvkp X-Gm-Gg: ASbGnctC3eFXMFpxgmrPOS0lF+fZGuGrAQl1+zeBOKJe9D4MTFiaBJv3lyJVqCaQRjP vejw2DSkafrZBxa2pq5d8vSurm1b3lX+riblv9opvmvRO/ef5R9NN/YHHDCTWna7rEcLAzUYmAg y9NiACnSO+odY/IOj3nui1fnNBHi/Y+6lrEA9fLirL87DUYEHmAQYBnuW1ZVEGEEzH1smqaahnR 0RZIpr3H0LkSvkzcZxdQFKLmjwcMpeIeNlNf0CcmMWheMOG0POj4U5uL7PSfxrbVwH8XmiZm6As UWQ1vreT0Ng+zP3kqnEuty3bzsxuHh48cveEUmeMJCVtzSb9O73EX2cUazzuqeTBEK0C2IPL1S0 N8goR6w== X-Google-Smtp-Source: AGHT+IFPES7KADILVu7h7izpDoHWFj4Ysotg70zpaDcT9LLkF56yVLnj/S09KYMWlrUPH9E0PQbJew== X-Received: by 2002:a17:903:2301:b0:22e:364b:4f3e with SMTP id d9443c01a7336-231d4562cc5mr86571195ad.49.1747460433586; Fri, 16 May 2025 22:40:33 -0700 (PDT) Received: from localhost.localdomain ([2405:6586:be0:0:83c8:d31d:2cec:f542]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-231d4ac957dsm23424505ad.52.2025.05.16.22.40.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 May 2025 22:40:33 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Date: Sat, 17 May 2025 14:40:20 +0900 Message-ID: <8aa67bae95d15ef84334f56386501aba3fa8c25f.1747460420.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <eb4cb32e1c94b8873250e9df4958a9c06059719e.1747460420.git.maxim.cournoyer@gmail.com> References: <eb4cb32e1c94b8873250e9df4958a9c06059719e.1747460420.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=maxim.cournoyer@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#78462,1/2] refresh: Allow specifying a partial version via the version specification.
|
|
Commit Message
Maxim Cournoyer
May 17, 2025, 5:40 a.m. UTC
* etc/news.scm (channels-news): New entry. Change-Id: Ic3be1bd62b4dc36a45fcbb1ae87c8a9bf0b837e9 --- etc/news.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
Comments
A good change (untested). It is not appropriate to write XXX: in comments on your first patch’s unit tests, as I understand the Wiktionary definition of XXX: 2. (computing) Used as a placeholder in source code to mark that some work still has to be done. Could you add this German translation? Additionally, I surrounded the info command in @command{} markup in the last line of the English news, too. (title (en "@samp{guix refresh} can now target partial versions") (de "@samp{guix refresh} kann jetzt unvollständige Versionen als Ziel nehmen")) (body (en "While it had been possible for some time to use the @option{--target-version} to update to a partially defined version, this can now be more conveniently expressed via the package version specification directly, by prefixing it with the tilde (@samp{~}) character: @example $ guix refresh bash=~5.2 gnu/packages/bash.scm:150:15: bash would be upgraded from 5.1.16 to 5.2.37 @end example For more information, see @command{info \"(guix) Invoking guix refresh\"}.") (de "Es war schon einige Zeit möglich, unter Angabe von @option{--target-version} auf eine unvollständig definierte Version zu aktualisieren; das lässt sich jetzt angenehmer ausdrücken, direkt in der Paketversionsangabe, wenn Sie ihr das Tildezeichen (@samp{~}) voranstellen: @example $ guix refresh bash=~5.2 gnu/packages/bash.scm:150:15: bash würde von 5.1.16 auf 5.2.37 aktualisiert @end example Für mehr Informationen siehe @command{info \"(guix.de)Aufruf von guix refresh\"}."))) Regards, Florian
Hi Florian, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes: > A good change (untested). > > It is not appropriate to write XXX: in comments on your first > patch’s unit tests, as I understand the Wiktionary definition of XXX: > > 2. (computing) Used as a placeholder in source code to mark that some work > still has to be done. That's close to the meaning I use it for: something inelegant or dirty, that would better be rewritten if someone knows better. In other words, it's functional but not ideal/hacky. To mark some work that would need doing in the future, I'd use a TODO instead. I'm not sure if that's the most correct definition, but that's at least how I've always understood it to be used in the Guix code base, e.g. by Ludovic. > Could you add this German translation? Done, thank you! > Additionally, I surrounded the info command in @command{} markup in the > last line of the English news, too. > > (title > (en "@samp{guix refresh} can now target partial versions") > (de "@samp{guix refresh} kann jetzt unvollständige Versionen als Ziel > nehmen")) > (body > (en "While it had been possible for some time to use the > @option{--target-version} to update to a partially defined version, this can > now be more conveniently expressed via the package version specification > directly, by prefixing it with the tilde (@samp{~}) character: > > @example > $ guix refresh bash=~5.2 > gnu/packages/bash.scm:150:15: bash would be upgraded from 5.1.16 to 5.2.37 > @end example > > For more information, see @command{info \"(guix) Invoking guix refresh\"}.") It doesn't seem to be explained in the Texinfo manual, but @command is really only supposed to be used with a single word/command, not a command line. For the later @samp should be used instead. That's explained in (info "(texinfo) @command"). In this case though, I meant it to be this way: I've recently discovered that when visiting a Texinfo node in a manual in Emacs, you can copy the reference to it with 'C-0 c', then paste it somewhere. Emacs users can then jump straight to it by evaluating it with C-x C-e (with the cursor placed after the closing parens). I recently found that trick, I think it's neat! I seem to recall that Gnus also had a means to linkify such references directly in email. Thanks for the review and translation, as well as to Ludovic's. Pushed with commit 450a3615325. Closing.
diff --git a/etc/news.scm b/etc/news.scm index c70234ece7b..31684e53019 100644 --- a/etc/news.scm +++ b/etc/news.scm @@ -38,6 +38,22 @@ (channel-news (version 0) + (entry (commit "XXX") + (title + (en "@samp{guix refresh} can now target partial versions")) + (body + (en "While it had been possible for some time to use the +@option{--target-version} to update to a partially defined version, this can +now be more conveniently expressed via the package version specification +directly, by prefixing it with the tilde (@samp{~}) character: + +@example +$ guix refresh bash=~5.2 +gnu/packages/bash.scm:150:15: bash would be upgraded from 5.1.16 to 5.2.37 +@end example + +For more information, see (info \"(guix) Invoking guix refresh\")."))) + (entry (commit "6e8ffdf3c5afac265e540027c2332573b25461ae") (title (en "Linux-libre 6.13 removed from Guix")